Api Endpoint

Agent Data API

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).

Open interactive test console

Offering

Provider
agent-data-api.agentdata.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Business And Commerce
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent-data-api.agentdata.workers.dev/v1/contracts/opportunities
MIME type
application/json
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
government, contracts, SAM.gov, procurement, rfp

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x18b170f3Eb904B80fcF90AD9dcc2fC0EE45cD872"
  }
]

Observed health

Status
Healthy
Latest latency
190 ms
Average latency
694 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Keyword matched against the opportunity title, e.g. cybersecurity",
          "maxLength": 200
        },
        "naics": {
          "type": "string",
          "description": "6-digit NAICS code, e.g. 541512",
          "pattern": "^(?:\\d{6})$"
        },
        "setaside": {
          "type": "string",
          "description": "Set-aside code: SBA (total small business), SBP (partial small business), 8A, 8AN, HZC/HZS (HUBZone), SDVOSBC/SDVOSBS (service-disabled veteran), WOSB/WOSBSS, EDWOSB/EDWOSBSS, LAS, IEE, ISBEE, BICiv, VSA/VSS",
          "enum": [
            "SBA",
            "SBP",
            "8A",
            "8AN",
            "HZC",
            "HZS",
            "SDVOSBC",
            "SDVOSBS",
            "WOSB",
            "WOSBSS",
            "EDWOSB",
            "EDWOSBSS",
            "LAS",
            "IEE",
            "ISBEE",
            "BICiv",
            "VSA",
            "VSS"
          ]
        },
        "state": {
          "type": "string",
          "description": "Two-letter place-of-performance state code, e.g. VA",
          "pattern": "^(?:[A-Z]{2})$"
        },
        "postedDays": {
          "type": "integer",
          "description": "Only opportunities posted in the last N days (the synced copy covers 14 days)",
          "minimum": 1,
          "maximum": 14,
          "default": 7
        },
        "limit": {
          "type": "integer",
          "description": "Maximum number of results",
          "minimum": 1,
          "maximum": 100,
          "default": 25
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "limit": {
              "default": 25,
              "description": "Maximum number of results",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            "naics": {
              "description": "6-digit NAICS code, e.g. 541512",
              "pattern": "^(?:\\d{6})$",
              "type": "string"
            },
            "postedDays": {
              "default": 7,
              "description": "Only opportunities posted in the last N days (the synced copy covers 14 days)",
              "maximum": 14,
              "minimum": 1,
              "type": "integer"
            },
            "q": {
              "description": "Keyword matched against the opportunity title, e.g. cybersecurity",
              "maxLength": 200,
              "type": "string"
            },
            "setaside": {
              "description": "Set-aside code: SBA (total small business), SBP (partial small business), 8A, 8AN, HZC/HZS (HUBZone), SDVOSBC/SDVOSBS (service-disabled veteran), WOSB/WOSBSS, EDWOSB/EDWOSBSS, LAS, IEE, ISBEE, BICiv, VSA/VSS",
              "enum": [
                "SBA",
                "SBP",
                "8A",
                "8AN",
                "HZC",
                "HZS",
                "SDVOSBC",
                "SDVOSBS",
                "WOSB",
                "WOSBSS",
                "EDWOSB",
                "EDWOSBSS",
                "LAS",
                "IEE",
                "ISBEE",
                "BICiv",
                "VSA",
                "VSS"
              ],
              "type": "string"
            },
            "state": {
              "description": "Two-letter place-of-performance state code, e.g. VA",
              "pattern": "^(?:[A-Z]{2})$",
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "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"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}