{"uid":"cap_Cex_rEuTuqu25aAlBqCpR","slug":"web-production-60258-up-railway-app-a2a0735b","name":"USASpending Federal Procurement & Spending Data API","description":"Federal procurement and spending data — USASpending.gov (public domain, DATA Act). 22 query types: awards, spend breakdowns by geography/recipient/NAICS/PSC/CFDA, agency budgets, recipient lookup, federal accounts, and reference data. No authentication required.","url":"https://web-production-60258.up.railway.app/procurement","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","properties":{"end":{"type":"string","description":"End date YYYY-MM-DD"},"psc":{"type":"string","description":"Product/Service Code filter (e.g. \"D302\")"},"uei":{"type":"string","description":"Required for type=recipient_by_uei (Unique Entity ID)"},"hash":{"type":"string","description":"Required for type=recipient (USASpending recipient hash)"},"type":{"enum":["awards","award_count","award_detail","spend_by_geography","spend_by_recipient","spend_by_naics","spend_by_psc","spend_by_cfda","agencies","agency","agency_awards","recipients","recipient","recipient_by_uei","recipients_by_state","federal_accounts","federal_account","federal_account_spending","ref_naics","ref_psc","ref_cfda","ref_agencies"],"type":"string","description":"Data type to retrieve"},"limit":{"type":"integer","description":"Max results (default 10, max 100)"},"naics":{"type":"string","description":"NAICS industry code filter (e.g. \"541511\")"},"query":{"type":"string","description":"Keyword search — awards, recipients"},"start":{"type":"string","description":"Start date YYYY-MM-DD"},"state":{"type":"string","description":"US state code filter (e.g. \"TX\", \"CA\")"},"agency":{"type":"string","description":"Awarding agency name filter (e.g. \"Department of Defense\")"},"award_id":{"type":"string","description":"Required for type=award_detail"},"agency_id":{"type":"string","description":"Required for type=agency or agency_awards"},"geo_layer":{"enum":["state","county","district"],"type":"string","description":"Geographic granularity: state | county | district (default: state)"},"account_code":{"type":"string","description":"Required for type=federal_account or federal_account_spending"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_P5_VQ8Qb3F428qZ5srUzJ","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":"Queries federal procurement and spending data from USASpending.gov across 22 query types including awards, geographic breakdowns, recipients, agencies, and reference data.","exampleAgentPrompt":"Pull the top 10 federal contract awards in California for NAICS code 541511 between 2023-01-01 and 2023-12-31 from USASpending — show me the recipients, amounts, and awarding agencies.","exampleUseCases":null,"resultDescription":"Returns structured federal spending data matching the requested query type — e.g. a list of award records with amounts, recipients, agencies, and dates; spending totals broken down by geography, NAICS, PSC, or CFDA; recipient profile details; agency budget figures; or reference code listings, depending on the `type` parameter used.","failureModes":["Missing required parameters for specific types (e.g. no `award_id` for type=award_detail, no `uei` for type=recipient_by_uei) — likely returns 400 or empty result","Invalid NAICS, PSC, or CFDA codes return empty result sets","Date range too broad may return truncated or slow responses","Upstream USASpending.gov API downtime causes 502/503 errors","Exceeding limit of 100 results per call silently caps output"],"whenToPreferThis":"Use this endpoint when you need authoritative, public-domain U.S. federal government spending and procurement data — including contract awards, grants, recipient lookups, agency budgets, and geographic spending breakdowns — sourced directly from USASpending.gov via the DATA Act. Prefer this over generic web search when structured, filterable federal spending records are needed. No authentication required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:29.700Z","isFirstParty":false}