The USAspending API in one clean shape.
Federal spending awards — contracts, grants, loans and direct payments — from USAspending.gov, normalized into one JSON shape with the award linked straight back to the source. No POST-body query language to learn: pass simple query parameters, get flat records. One key for this and the rest of the federal data.
One call
curl "https://api.edgrapi.com/v1/awards?category=contracts&agency=Department%20of%20Defense&recipient=Lockheed" \
-H "X-API-Key: edgr_..."
What comes back
{
"category": "contracts", "count": 1, "has_next": true,
"awards": [
{ "award_id": "NNG09HR00C", "recipient": "LOCKHEED MARTIN CORP",
"amount": 2032829134.57,
"awarding_agency": "National Aeronautics and Space Administration",
"start_date": "2008-12-04", "end_date": "2039-04-30",
"usaspending_url": "https://www.usaspending.gov/award/CONT_AWD_NNG09HR00C_8000_-NONE-_-NONE-" }
],
"source": "USAspending.gov award search API"
}
Parameters
| Param | What it filters |
|---|---|
category | contracts (default), grants, loans, direct_payments, idvs |
keyword, recipient | Full-text and recipient-name search |
agency | Awarding agency, top-tier exact name (e.g. Department of Defense) |
state, start, end | Place of performance, action-date range |
limit, page, sort | Paging and sort (amount / start / end) |
Honest freshness. Amounts are the federal obligations USAspending reports;
Edgrapi normalizes the official data, it doesn't restate it. Cost: 2 credits per
call; empty results are free.
Agent-ready. This endpoint is also the
get_awards tool on the
hosted MCP server. An agent can chain it after get_opportunities in one
turn — the SAM solicitation, then who won similar awards — no wrapper code.