Query federal spending award data using the USAspending.gov Advanced Award Search API

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

Steps

  1. Identify the correct endpoint: USAspending's own tutorial describes '/api/v2/search/spending_by_award/' as 'our Advanced Award Search endpoint for the Spending by Award table.'
  2. Use a GET request for lookups by known identifier or simple filters — the tutorial's own examples are a GET to '/api/v2/references/agency/456/' to retrieve a specific agency's metadata, and a GET to '/api/v2/financial_balances/agencies?funding_agency=775&fiscal_year=2017' for filtered financial-balance data.
  3. Switch to a POST request when advanced filtering is required, as documented: 'POST requests are leveraged in situations where more advanced filtering is required,' with /api/v2/search/spending_by_award/ as the example endpoint.
  4. Build the POST body with a 'filters' object (the tutorial's example includes award_type_codes, agencies by type/tier/name, legal_entities, recipient_scope, recipient_locations, recipient_type_names, place_of_performance_scope, place_of_performance_locations, award_amounts as lower/upper bounds, and award_ids), a 'fields' array naming the columns to return, plus 'sort' and 'order' parameters.
  5. Note that per the tutorial, 'most endpoints support both GET and POST methods for making a request,' so confirm which method a given endpoint expects before assuming GET-only or POST-only behavior.

Known gotchas

Related routes

Query federal spending awards by recipient using the USAspending.gov API
usaspending.gov · 5 steps · unrated
Search federal contract and grant award data using the USAspending.gov API
api.usaspending.gov · 5 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