Federal awards

Federal Contracts

Returns federal contract awards from USAspending.gov, government spending data sourced from Treasury/GSA. Each record is one prime contract award (BPA Call, Purchase Order, Delivery Order, or Definitive Contract).

EndpointGET /v1/federal-contracts
SourceUSAspending
Authx-api-key, paid plans only (Basic and up)

Live from the data

Loading the latest numbers…

What it returns

One record per result. Fields (from a live response):

Filters

recipient_nameRecipient name substring; case-insensitive match. Example: 'Lockheed Martin' matches 'LOCKHEED MARTIN CORP', 'LOCKHEED MARTIN MISSILES AND FIRE CONTROL', etc. USAspending also matches the PARENT company's name, so a parent name returns its subsidiaries' awards (e.g. Sikorsky under 'Lockheed Martin'). Combined with recipient_uei it is matched against that recipient's OWN name instead, and coverage_warning says how many awards it removed.
recipient_ueiUnique Entity Identifier (replaced DUNS in 2022). 12-character alphanumeric. Exact match: only awards made to this UEI itself. If it is also the parent of other recipients, their awards are NOT included and total_count is omitted, coverage_warning names the parent; use recipient_name with that name for the whole family.
awarding_agencyThe TOPTIER awarding agency name, exact and case-sensitive; a sub-agency name (e.g. 'Defense Logistics Agency') or an abbreviation ('NASA') matches nothing. Examples: 'Department of Defense', 'National Aeronautics and Space Administration', 'Department of Health and Human Services'.
naics_code6-digit North American Industry Classification System code. Example: '541710' (R&D in Physical/Engineering/Life Sciences). Exact match.
psc_codeProduct or Service Code (4-character). Example: 'AR33' (R&D Space Flight Advanced Development). Exact match.
min_amountFilter to awards with award_amount >= this value (USD). Use to focus on large contracts.
sinceISO date (YYYY-MM-DD). Only records on or after this date, on last_modified_date, except when sort_by is start_date, where it applies to start_date.
untilISO date (YYYY-MM-DD). Only records on or before this date (the same date field as since).
sort_byField used for ordering. since/until apply to start_date when this is start_date, and to last_modified_date for every other sort. Default: last_modified_date (most-recently-modified first).
sort_orderDefault: desc.
limitMaximum records to return. Default 50, max 500.

Example request

curl "https://api.keyvex.com/v1/federal-contracts?limit=1" \
  -H "x-api-key: YOUR_KEY"

Response

{
  "results": [
    {
      "id": "CONT_AWD_140A0926P0051_1450_-NONE-_-NONE-",
      "award_id": "140A0926P0051",
      "recipient_name": "WAGNER EQUIPMENT CO",
      "recipient_uei": "J2MMHNT7C4L9",
      "recipient_id": "3a29bb13-22af-1e64-5872-59533fa5da31-C",
      "award_amount": 10774,
      "total_outlays": 0,
      "description": "I60174T REPAIR OF GOOSENECK TRAILER, BIA, CHINLE AGENCY, BOT",
      "contract_award_type": "PURCHASE ORDER",
      "awarding_agency": "Department of the Interior",
      "awarding_subagency": "Bureau of Indian Affairs and Bureau of Indian Education",
      "naics_code": "811310",
      "naics_description": "COMMERCIAL AND INDUSTRIAL MACHINERY AND EQUIPMENT (EXCEPT AUTOMOTIVE AND ELECTRONIC) REPAIR AND MAINTENANCE",
      "psc_code": "J028",
      "psc_description": "MAINT/REPAIR/REBUILD OF EQUIPMENT- ENGINES, TURBINES, AND COMPONENTS",
      "def_codes": [],
      "start_date": "2026-06-21",
      "end_date": "2026-09-30",
      "last_modified_date": "2026-06-21T23:37:41",
      "place_of_performance_state": "NM",
      "award_url": "https://www.usaspending.gov/award/CONT_AWD_140A0926P0051_1450_-NONE-_-NONE-/",
      "data_source": "USASPENDING"
    }
  ],
  "count": 1,
  "has_more": true
}

Example questions you can answer

Related datasets

Query Federal Contracts from your AI

Hand any AI your key + the OpenAPI spec and it can pull this dataset directly. Paid plans only (Basic and up): a free key does not include this dataset.

See plans OpenAPI spec → REST docs →
← All 60+ datasets