# USASpending.gov Federal Awards Search

> USASpending.gov Federal Awards Search is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Search and retrieve awarded US federal contracts and grants from USASpending.gov with filtering by award type, recipient, agency, NAICS code, keyword, and fiscal year, returning a normalized award list with summary.

## Facts

- Endpoint: GET https://api.agentstools.dev/govcon/awards
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usaspending-gov-federal-awards-search-43de03ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AplbtMttfoftjUYt-XE8S

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability usaspending-gov-federal-awards-search-43de03ac
```

Example prompt: Can you pull up federal contracts awarded to Lockheed Martin in fiscal year 2023 under NAICS code 336411, sorted by amount descending, and show me the top 20?

## When to prefer this

Use this endpoint when you need structured, normalized federal award data from USASpending.gov without building your own API integration. Prefer this over directly querying USASpending.gov when you want a simplified, agent-friendly response format with built-in filtering. Best for procurement research, competitive intelligence, vendor due diligence, or government spending analysis tasks.

## Known failure modes

- No results found for the given filters — returns empty award list
- Invalid NAICS code format — returns validation error
- Invalid fiscal year — returns error or empty results
- Unsupported award_type enum value — returns 422 validation error
- Rate limiting or payment failure — returns 402 or 429 error

## How this service works

Search awarded US federal contracts and grants from USASpending.gov, filtered by award type, recipient, agency, NAICS, keyword and fiscal year, returning a normalized award list plus a summary.

## Output

A normalized list of federal awards (contracts, grants, IDVs, loans, direct payments, etc.) including recipient name, awarding agency, award amount, award date, NAICS code, and description, along with a summary of total results and aggregated award values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "page": {
       "type": "integer",
       "minimum": 1
      },
      "sort": {
       "enum": [
        "amount",
        "date"
       ],
       "type": "string"
      },
      "year": {
       "type": "integer",
       "description": "Federal fiscal year"
      },
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      },
      "naics": {
       "type": "string",
       "description": "NAICS code, 2-6 digits"
      },
      "order": {
       "enum": [
        "desc",
        "asc"
       ],
       "type": "string"
      },
      "agency": {
       "type": "string"
      },
      "keyword": {
       "type": "string"
      },
      "recipient": {
       "type": "string"
      },
      "award_type": {
       "enum": [
        "contracts",
        "direct_payments",
        "grants",
        "idvs",
        "loans",
        "other"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usaspending-gov-federal-awards-search-43de03ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
