{"name":"Agent Data API","description":"Pay-per-call data feeds for AI agents. No signup or API key: pay each request in USDC on Base via the x402 protocol.","payment":{"protocol":"x402","x402Version":2,"scheme":"exact","network":"eip155:8453","networkName":"Base","asset":"USDC","assetAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x18b170f3Eb904B80fcF90AD9dcc2fC0EE45cD872","howToPay":"Call a paid endpoint. You get HTTP 402 with a base64 PAYMENT-REQUIRED header. Sign the payment with an x402 client and retry with the PAYMENT-SIGNATURE header. You are only charged if the call succeeds. Docs: https://docs.x402.org"},"endpoints":[{"method":"GET","path":"/v1/contracts/opportunities","url":"https://agent-data-api.agentdata.workers.dev/v1/contracts/opportunities","price":"$0.01","name":"SAM.gov contract opportunities","description":"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).","data":{"source":"SAM.gov (synced copy; paid calls never wait on SAM.gov)","lastSynced":"2026-09-27T02:40:59.286Z","windowDays":14,"daysInCopy":7,"oldestDay":"2026-09-21","newestDay":"2026-09-27","syncCallsPerDay":9},"cacheSeconds":900,"params":[{"name":"q","in":"query","required":false,"type":"string","description":"Keyword matched against the opportunity title, e.g. cybersecurity","maxLength":200},{"name":"naics","in":"query","required":false,"type":"string","description":"6-digit NAICS code, e.g. 541512","pattern":"^(?:\\d{6})$"},{"name":"setaside","in":"query","required":false,"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"]},{"name":"state","in":"query","required":false,"type":"string","description":"Two-letter place-of-performance state code, e.g. VA","pattern":"^(?:[A-Z]{2})$"},{"name":"postedDays","in":"query","required":false,"type":"integer","description":"Only opportunities posted in the last N days (the synced copy covers 14 days)","minimum":1,"maximum":14,"default":7},{"name":"limit","in":"query","required":false,"type":"integer","description":"Maximum number of results","minimum":1,"maximum":100,"default":25}],"exampleRequest":"https://agent-data-api.agentdata.workers.dev/v1/contracts/opportunities?q=cybersecurity&naics=541512&postedDays=7&limit=25","exampleResponse":{"source":"SAM.gov Get Opportunities API v2 (synced copy)","lastSynced":"2026-09-26T18:40:02.000Z","coverageComplete":true,"query":{"q":"cybersecurity","naics":"541512","postedDays":7,"limit":25,"postedFrom":"2026-09-19","postedTo":"2026-09-26"},"totalMatches":1,"count":1,"results":[{"noticeId":"0a1b2c3d4e5f60718293a4b5c6d7e8f9","title":"Cybersecurity Operations Support Services","agency":"DEPT OF DEFENSE","subAgency":"DEPT OF THE ARMY","naics":"541512","setAside":"SBA","setAsideDescription":"Total Small Business Set-Aside (FAR 19.5)","postedDate":"2026-09-24","responseDeadline":"2026-10-15T17:00:00-04:00","placeOfPerformanceState":"MD","url":"https://sam.gov/workspace/contract/opp/0a1b2c3d4e5f60718293a4b5c6d7e8f9/view"}]}},{"method":"GET","path":"/","url":"https://agent-data-api.agentdata.workers.dev/","price":"free","description":"This service description."},{"method":"GET","path":"/openapi.json","url":"https://agent-data-api.agentdata.workers.dev/openapi.json","price":"free","description":"OpenAPI 3.1 description with x402 payment info."},{"method":"GET","path":"/health","url":"https://agent-data-api.agentdata.workers.dev/health","price":"free","description":"Returns ok."}]}