Look up federal contract awards using the USAspending API

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

Steps

  1. No API key is required for the USAspending API; send a POST request to https://api.usaspending.gov/api/v2/search/spending_by_award/ with a JSON body specifying filters, fields, sort, and limit.
  2. Specify filters using the filters object: use award_type_codes to restrict to contracts (e.g., ["A","B","C","D"]), time_period for a date range with start_date and end_date, and recipient_search_text or recipient_ueis for a specific vendor.
  3. Request specific fields in the fields array (e.g., Award ID, Recipient Name, Award Amount, Awarding Agency, NAICS Code, Period of Performance Start Date) to reduce response payload size.
  4. Paginate using the limit (max 100) and page parameters; iterate until the has_next field in the page_metadata object is false.
  5. For individual award detail including contract line items, call GET https://api.usaspending.gov/api/v2/awards/{generated_unique_award_id}/ using the generated_unique_award_id returned in the search results.
  6. For bulk downloads of award data, use the POST /api/v2/bulk_download/awards/ endpoint which queues an asynchronous CSV extract; poll the status endpoint with the returned file_name until status is finished, then download.

Known gotchas

Related routes

Search federal contract and grant award data using the USAspending.gov API
api.usaspending.gov · 5 steps · unrated
Retrieve and analyze federal contract award data by NAICS code using the USAspending.gov API advanced search
usaspending.gov · 6 steps · unrated
Query federal spending award data using the USAspending.gov Advanced Award Search API
government-tax · 5 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