{"uid":"cap_Iiti8bW-atG7j22YP9ilM","slug":"usaspending-awards-search-api-2042cf8b","name":"USASpending Awards Search API","description":"Paid public-data feeds. Unpaid requests return HTTP 402. Prices are USDC on Base.","url":"https://project-api-gamma-sable.vercel.app/paid/usaspending/awards?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["startDate","endDate"],"properties":{"page":{"type":"string","description":"Page number"},"limit":{"type":"string","description":"Max results"},"naics":{"type":"string","description":"Query param: naics"},"endDate":{"type":"string","description":"End date (YYYY-MM-DD)"},"awardType":{"type":"string","description":"Query param: awardType"},"startDate":{"type":"string","description":"Start date (YYYY-MM-DD)"},"awardingAgency":{"type":"string","description":"Query param: awardingAgency"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"what":"USASpending.gov award search (slim JSON + uiLink)","items":[],"source":"/paid/usaspending/awards"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_19IPcNoxgD2QBEmbQFyGc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search and retrieve US federal government contract and grant award records from USASpending.gov, filtered by date range, NAICS code, award type, and awarding agency.","exampleAgentPrompt":"Pull federal contract awards from USASpending from January 1 2024 to March 31 2024, filtered by NAICS code 541511 (custom computer programming) and awarded by the Department of Defense — show me the first 10 results.","exampleUseCases":[{"title":"Competitive intelligence on federal contracts","prompt":"Search USASpending for all IT services contracts awarded between October 1 2023 and September 30 2024, using NAICS code 541512, and show me up to 25 results so I can see who's winning government tech work."},{"title":"Grant research by fiscal quarter","prompt":"Find all federal grants awarded in Q2 2024 — so April 1 through June 30 2024 — from the Department of Education, and return the first page of results."},{"title":"Industry-specific spending analysis","prompt":"Can you pull USASpending award data for the agriculture sector, NAICS code 111110, covering all of calendar year 2023? I want to see what the federal government awarded in that space."}],"resultDescription":"Returns a slim JSON object with an array of federal award items matching the query, plus a source path and a UI link pointing to the corresponding USASpending.gov search page for human review.","failureModes":["HTTP 402 if payment is not provided — requires USDC on Base via x402 protocol","Missing required startDate or endDate parameters returns a validation error","Invalid date format (not YYYY-MM-DD) may cause malformed query","Invalid or unsupported NAICS code may return empty results","Pagination beyond available results returns empty items array","USASpending.gov upstream downtime may cause delayed or failed responses"],"whenToPreferThis":"Choose this endpoint when you need programmatic access to US federal government award data (contracts and grants) with x402 micropayment support, and want slim filtered JSON rather than scraping USASpending.gov directly. Especially useful for agents that need date-range queries, NAICS filtering, or agency-specific lookups at low per-call cost ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:32:25.397Z","isFirstParty":false,"canonicalSlug":"usaspending-awards-search-api-2042cf8b"}