AG
Security · x402 · early usage

Search open U.S

Search open U.S. federal contract opportunities (solicitations, presolicitations, sources sought) from a copy synced from SAM.gov several times a day. Use when you need current government RFPs or bids matching a title keyword, 6-digit NAICS code, small-busine…

by agent-data-api.agentdata.workers.dev · discovered, not yet claimed by its owner · updated 2026-10-10

30d calls5
30d payers2
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Search open U.S. federal contract opportunities (solicitations, presolicitations, sources sought) from a copy synced from SAM.gov several times a day. Use when you need current government RFPs or bids matching a title keyword, 6-digit NAICS code, small-business set-aside or place-of-performance state. Returns deduplicated JSON: notice ID, title, agency, NAICS, set-aside, posted date, response deadline, state, SAM.gov link and lastSynced. Defaults: last 7 days, 25 results (max 100).

Tags: government · contracts · sam.gov · procurement · rfp · bazaar

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-10-10
Input example from Bazaar metadata
{
  "limit": 25,
  "naics": "541512",
  "postedDays": 7,
  "q": "cybersecurity"
}
Output example
{
  "count": 1,
  "coverageComplete": true,
  "lastSynced": "2026-09-26T18:40:02.000Z",
  "query": {
    "limit": 25,
    "naics": "541512",
    "postedDays": 7,
    "postedFrom": "2026-09-19",
    "postedTo": "2026-09-26",
    "q": "cybersecurity"
  },
  "results": [
    {
      "agency": "DEPT OF DEFENSE",
      "naics": "541512",
      "noticeId": "0a1b2c3d4e5f60718293a4b5c6d7e8f9",
      "placeOfPerformanceState": "MD",
      "postedDate": "2026-09-24",
      "responseDeadline": "2026-10-15T17:00:00-04:00",
      "setAside": "SBA",
      "setAsideDescription": "Total Small Business Set-Aside (FAR 19.5)",
      "subAgency": "DEPT OF THE ARMY",
      "title": "Cybersecurity Operations Support Services",
      "url": "https://sam.gov/workspace/contract/opp/0a1b2c3d4e5f60718293a4b5c6d7e8f9/view"
    }
  ],
  "source": "SAM.gov Get Opportunities API v2 (synced copy)",
  "totalMatches": 1
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/36415.json for the price and payment options.
  3. Pay. Call GET https://agent-data-api.agentdata.workers.dev/v1/contracts/opportunities. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
5 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x18b170f3Eb904B80fcF90AD9dcc2fC0EE45cD872120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x18b170f3Eb904B80fcF90AD9dcc2fC0EE45cD872",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 120
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "count": {
          "description": "Number of results returned",
          "type": "integer"
        },
        "coverageComplete": {
          "description": "False if some days in the requested range are not in the copy yet",
          "type": "boolean"
        },
        "lastSynced": {
          "description": "The copy holds every notice posted up to this time (ISO 8601): when it was last synced from SAM.gov",
          "type": "string"
        },
        "query": {
          "description": "The effective query, including the postedFrom/postedTo dates used (UTC)",
          "type": "object"
        },
        "results": {
          "items": {
            "properties": {
              "agency": {
                "description": "Department",
                "type": [
                  "string",
                  "null"
                ]
              },
              "naics": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "noticeId": {
                "type": "string"
              },
              "placeOfPerformanceState": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "postedDate": {
                "description": "YYYY-MM-DD",
                "type": [
                  "string",
                  "null"
                ]
              },
              "responseDeadline": {
                "description": "ISO 8601, often with a UTC offset; null if none",
                "type": [
                  "string",
                  "null"
                ]
              },
              "setAside": {
                "description": "Set-aside code, null if none",
                "type": [
                  "string",
                  "null"
                ]
              },
              "setAsideDescription": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "subAgency": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "description": "SAM.gov page for the notice",
                "type": "string"
              }
            },
            "required": [
              "noticeId",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "source": {
          "type": "string"
        },
        "totalMatches": {
          "description": "Open, de-duplicated matches in the requested range",
          "type": "integer"
        }
      },
      "required": [
        "lastSynced",
        "count",
        "results"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "count": 0,
    "coverageComplete": true,
    "lastSynced": "string",
    "query": {},
    "results": [
      {
        "agency": "string",
        "naics": "string",
        "noticeId": "string",
        "placeOfPerformanceState": "string",
        "postedDate": "string",
        "responseDeadline": "string",
        "setAside": "string",
        "setAsideDescription": "string",
        "subAgency": "string",
        "title": "string",
        "url": "string"
      }
    ],
    "source": "string",
    "totalMatches": 0
  },
  "type": "string"
}

Examples

curl
curl "https://agent-data-api.agentdata.workers.dev/v1/contracts/opportunities"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agent-data-api.agentdata.workers.dev/v1/contracts/opportunities");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://agent-data-api.agentdata.workers.dev/v1/contracts/opportunities")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
agent-data-api.agentdata.workers.dev
Endpoint
https://agent-data-api.agentdata.workers.dev/v1/contracts/opportunities
Machine-readable
/resources/36415.json