ShelvesNI BIASHARA
data · instant procurement-by-agency

Procurement slice by agency

One agency slice of the Ni Biashara procurement shelf: active opportunities and recent awards for that agency in one call, counts by record type included.

$0.10 per call — paid in USDC on Base over the x402 protocol, settled by Coinbase. No API key, no signup.

Parameters

paramdescription
agencyagency name text, e.g. Veterans Affairs (required)
limitmax records to return (optional, default 25, max 60)
offsetrecords to skip (optional, default 0)

Call it (any x402 client)

# 1. GET without payment → HTTP 402 with PAYMENT-REQUIRED (price, payTo, scheme "exact")
curl -i "https://agents.nibiashara.biz/shelf/procurement-by-agency?agency=&limit=&offset="

# 2. Sign the payment (EIP-3009 transferWithAuthorization, gasless) and retry
#    with the PAYMENT-SIGNATURE header → response body is the delivery.

With the official JS client the whole flow is one wrapped fetch:

import { wrapFetchWithPayment } from "@x402/fetch";       // npm i @x402/fetch @x402/evm
const fetchPaid = wrapFetchWithPayment(fetch, { /* your EVM signer */ });
const res = await fetchPaid("https://agents.nibiashara.biz/shelf/procurement-by-agency?agency=&limit=&offset=");
const data = await res.json();

Or install the MCP server (https://agents.nibiashara.biz/mcp, registry id biz.nibiashara/shelves) and use the job-named tool for this shelf, or buy_shelf as an escape hatch.

Calling this repeatedly? Buy a Shelf Pass once ($0.99 for 110 credits) and send X-SHELF-PASS: <token> instead of paying per call — this shelf costs 10 credits per call.

Example response (illustrative shape, not a live rate)

{
  "shelf": "procurement-by-agency",
  "publisher": "Ni Biashara",
  "canonical_url": "https://nibiashara.biz/shelf/procurement-by-agency",
  "license": "https://nibiashara.biz/terms#data-license",
  "query": {
    "agency": "Agriculture"
  },
  "count": 0,
  "opportunities": 0,
  "awards": 0,
  "returned": 0,
  "results": [],
  "source": "Ni Biashara procurement shelf — SAM.gov contract opportunities + USAspending.gov contract awards, normalized and joined (see each record's source)",
  "as_of": "2026-11-20",
  "illustrative": true
}

Delivers

JSON { count, opportunities, awards, results[], source, as_of }

← all shelves