Query federal spending awards by recipient using the USAspending.gov API

domain: usaspending.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. POST to https://api.usaspending.gov/api/v2/search/spending_by_award/ with a JSON body specifying 'filters' including 'recipient_search_text' (business name or UEI) and 'award_type_codes' (e.g., ['A','B','C','D'] for contracts)
  2. Set 'fields' in the request body to the award attributes you need such as 'Award ID', 'Recipient Name', 'Award Amount', 'Awarding Agency', and 'Period of Performance Current End Date'
  3. Paginate through results using the 'page' and 'limit' parameters in the request body until the response 'hasNext' field is false
  4. For a specific award, GET https://api.usaspending.gov/api/v2/awards/{award_id}/ to retrieve full transaction history and subaward data
  5. Use the 'download' endpoints for bulk exports if pulling more than a few hundred records, as the search endpoint has practical page limits

Known gotchas

Related routes

Query federal spending award data using the USAspending.gov Advanced Award Search API
government-tax · 5 steps · unrated
Search federal subaward transactions by prime award recipient using the USAspending.gov API
api.usaspending.gov · 6 steps · unrated
Look up federal contract awards using the USAspending API
api.usaspending.gov · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans