Discover/USASpending API
live

USASpending APIusaspending.gov ↗

Access US federal government spending data: search contracts, grants, subawards, agencies, and recipients from USASpending.gov via a structured REST API.

Endpoint health
verified 5d ago
list_agencies
get_award_details
get_awards_by_recipients
3/3 passing latest checkself-healing
Endpoints
7
Updated
12d ago

What is the USASpending API?

This API exposes 7 endpoints covering US federal government awards, contracts, subawards, agency budgets, and recipient data sourced from USASpending.gov. You can search awards by keyword, filter by agency or award type, retrieve full award records via get_award_details, look up recipients with search_recipients, and pull subaward data down to the prime award level — all returning structured JSON with documented field shapes.

This call costs1 credit / call— charged only on success
Try it
JSON object of filters including keywords, time_period, award_type_codes, agencies, etc. If award_type_codes is not specified, defaults to contracts (A, B, C, D).
Comma-separated search keywords to filter awards by (e.g. 'Salesforce' or 'Microsoft,Amazon'). Applied as keyword filter if no keywords are present in the filters object.
→ api.parse.bot/scraper/5b0e32c7-a0f5-44e5-b985-35a41a088f63/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X POST 'https://api.parse.bot/scraper/5b0e32c7-a0f5-44e5-b985-35a41a088f63/search_awards' \
  -H 'X-API-Key: $PARSE_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "keywords": "Salesforce",
  "filters": "{\"keywords\": [\"Salesforce\"]}"
}'
All endpoints · 7 totalmissing one? ·

Search for government awards with advanced filtering. Returns paginated results of contracts and other award types. Supports keyword search and complex filter objects including time_period, award_type_codes, and agencies. If award_type_codes is not specified in filters, defaults to contracts (A, B, C, D).

Input
ParamTypeDescription
filtersobjectJSON object of filters including keywords, time_period, award_type_codes, agencies, etc. If award_type_codes is not specified, defaults to contracts (A, B, C, D).
keywordsstringComma-separated search keywords to filter awards by (e.g. 'Salesforce' or 'Microsoft,Amazon'). Applied as keyword filter if no keywords are present in the filters object.
Response
{
  "type": "object",
  "fields": {
    "results": "array of award summary objects containing internal_id, Award ID, Recipient Name, Award Amount, generated_internal_id",
    "page_metadata": "object with page, hasNext, last_record_unique_id, last_record_sort_value",
    "spending_level": "string indicating the spending level"
  },
  "sample": {
    "data": {
      "results": [
        {
          "Award ID": "W91ZLK23F0033",
          "internal_id": 350571756,
          "Award Amount": 214096.6,
          "Recipient Name": "CARAHSOFT TECHNOLOGY CORP",
          "generated_internal_id": "CONT_AWD_W91ZLK23F0033_9700_W52P1J20D0042_9700"
        }
      ],
      "page_metadata": {
        "page": 1,
        "hasNext": true,
        "last_record_unique_id": 349975873,
        "last_record_sort_value": "W912JM25FA023"
      },
      "spending_level": "awards"
    },
    "status": "success"
  }
}

About the USASpending API

Award Search and Detail

The search_awards endpoint accepts a filters object supporting keywords, time_period, award_type_codes (contracts: A–D; grants: 02–05; and others), and agencies. Results include Award ID, Recipient Name, Award Amount, and generated_internal_id, which feeds directly into get_award_details. That detail endpoint returns the full award record: recipient (with recipient_name, recipient_uei, location, business_categories), funding_agency, awarding_agency, total_obligation, period_of_performance (start, end, last modified), and type_description.

Recipient and Category Search

search_recipients provides autocomplete lookup by name and returns recipient_name, recipient_level, uei, and duns — useful for resolving the exact UEI before passing it to get_awards_by_recipients. That endpoint accepts a comma-separated ueis parameter plus a start_date/end_date range and returns full award detail records matching transaction activity within that window, along with a coverage object reporting matched_on_page, fetched, and failed counts and a per-award errors array for any failed detail lookups.

Agency and Spending Category Data

list_agencies returns all federal toptier agencies with budget_authority_amount, percentage_of_total_budget_authority, and agency_slug for the current active fiscal year and quarter. Sorting is available by agency_name, budget_authority_amount, or percentage_of_total_budget_authority. search_spending_by_category groups spending totals by categories including awarding_agency, recipient, funding_agency, and geographic groupings, returning name, id, code, amount, and agency_slug per result.

Subawards

search_subawards targets subcontracts and subgrants under prime awards. Filters include prime_award_id, prime_recipient_name, subawardee_name, time_period, and keywords. Each result includes prime_award_id, prime_recipient_name, subawardee_name, subaward_amount, action_date, and awarding agency fields. Pagination is controlled via page and limit (max 100 per page), with page_metadata returning page, hasNext, and total.

Reliability & maintenanceVerified

The USASpending API is a managed, monitored endpoint for usaspending.gov — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when usaspending.gov changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official usaspending.gov API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
5d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Tracking all federal contracts awarded to a specific company by searching with search_recipients to resolve UEI then calling get_awards_by_recipients
  • Building agency budget dashboards using list_agencies fields budget_authority_amount and percentage_of_total_budget_authority
  • Monitoring new contract awards in a technology category by filtering search_awards with award_type_codes and keyword filters
  • Analyzing which recipients receive the most federal spending in a time window using search_spending_by_category grouped by recipient
  • Auditing subcontractor relationships by querying search_subawards with a known prime_award_id
  • Mapping federal spending by geography by using search_spending_by_category with county or state-level category groupings
  • Pulling complete award histories for a set of vendors by supplying multiple UEIs to get_awards_by_recipients with a multi-year date range
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does USASpending.gov have an official developer API?+
Yes. USASpending.gov publishes a public REST API documented at https://api.usaspending.gov. This Parse API surfaces the most commonly used spending, award, and agency endpoints in a consistent structure with managed access.
What does `get_awards_by_recipients` return for awards that predate the start_date?+
It matches on transaction activity (action dates) within the supplied start_date/end_date range, not the original award signing date. An award executed before start_date still appears if it had a modification or transaction within the range. Each returned record has the same shape as get_award_details, and the coverage object reports how many awards matched, were fetched successfully, and how many failed.
Does the API return individual transaction-level records within an award?+
Not currently. The API returns award-level records and subaward records. Individual transaction history within a prime award is not exposed by the current endpoints. You can fork this API on Parse and revise it to add transaction-level detail endpoints.
What award type codes are supported in `search_awards` and `get_awards_by_recipients`?+
Contracts use codes A, B, C, D. Grants use 02, 03, 04, 05. Direct payments and other categories have their own code sets. All codes passed to a single get_awards_by_recipients call must belong to the same award type group — mixing contracts and grants in one call is not supported.
Does the API cover federal loan or IDV (indefinite delivery vehicle) data?+
Loan and IDV award categories are not explicitly surfaced in the current endpoint set, though search_awards may return them if they match submitted filters and the default award type behavior applies. Dedicated filtering and detail retrieval for those types is not currently built out. You can fork this API on Parse and revise it to add loan or IDV-specific endpoints.
Page content last updated . Spec covers 7 endpoints from usaspending.gov.
Related APIs in Government PublicSee all →
sam.gov API
Access data from sam.gov.
simpler.grants.gov API
Search and discover federal funding opportunities available through Grants.gov, then retrieve detailed information about grants, loans, and other financial assistance programs that match your needs. Access comprehensive opportunity details including eligibility requirements, funding amounts, and application deadlines all in one place.
uspto.gov API
Access data from uspto.gov.
portaltransparencia.gov.br API
Search and analyze Brazilian government spending, including public expenses, contracts, civil servant salaries, benefits, travel records, and sanctions data. Track government transparency information by department, budget programs, and public tenders all in one place.
usajobs.gov API
Search federal job openings and view detailed job announcements from USAJobs.gov, plus access historical job data and reference codes to help you find the right government position. Filter and explore thousands of federal career opportunities with comprehensive job details all in one place.
gsaelibrary.gsa.gov API
Access data from gsaelibrary.gsa.gov.
grantwatch.com API
Search and browse thousands of grants from GrantWatch.com to find funding opportunities tailored to individuals, nonprofits, small businesses, and foundations. Get detailed grant information, filter by category, and discover newly posted grants to match your eligibility and funding needs.
webgate.ec.europa.eu API
Search for EU state aid grants awarded to companies by country and beneficiary details to track public funding and subsidies. Find comprehensive transparency data on who received grants, where, and when to monitor government financial support across Europe.