Catalog/gov-spending

Government

U.S. federal contracts & grants (USAspending) API

Find U.S. federal contract or grant awards for a company/organization from USAspending.gov (free, authoritative). Returns award id, amount, awarding agency, period, and description, biggest first. Answers 'what federal contracts did X win', 'government spending with this vendor', 'is this company a government contractor', 'federal grants to Y'.

Price$0.01per request
MethodPOST
Route/v1/gov/spending
StatusLive
MIME typeapplication/json
Rate limit40/minute
Cache86400s public
govspendingcontractsgrantsusaspendingfederalprocurementgovernment
API URLhttps://x402.hexl.dev/v1/gov/spending
Integration docs
Example request
{
  "recipient": "Lockheed Martin",
  "awardType": "contracts",
  "limit": 2
}
Example response
{
  "recipient": "Lockheed Martin",
  "awardType": "contracts",
  "count": 2,
  "awards": [
    {
      "awardId": "FA8...",
      "recipient": "LOCKHEED MARTIN CORP",
      "amount": 9000000000,
      "agency": "Department of Defense",
      "startDate": "2020-01-01",
      "endDate": "2025-01-01",
      "description": "F-35 sustainment…"
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "recipient"
  ],
  "properties": {
    "recipient": {
      "type": "string",
      "examples": [
        "Lockheed Martin"
      ]
    },
    "awardType": {
      "type": "string",
      "enum": [
        "contracts",
        "grants"
      ],
      "default": "contracts"
    },
    "limit": {
      "type": "number",
      "default": 10
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}