# US Federal Contracts & Grants Search

> US Federal Contracts & Grants Search is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-30).

Returns the largest US federal contracts, grants, or loans matching a keyword or recipient from USAspending.gov, including award amounts, agencies, dates, and NAICS codes.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/gov/us-contracts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-federal-contracts-grants-search-42e045a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y3lHsqUiNSA2VnzfADdSS

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 us-federal-contracts-grants-search-42e045a8
```

Example prompt: Find the largest federal contracts awarded to Lockheed Martin in the last 365 days from USAspending.gov — show me recipient, amount, agency, and description, and limit it to the top 10 results.

## When to prefer this

Choose this endpoint when you need structured federal spending data from USAspending.gov without building a direct government API integration. Ideal for B2G sales intelligence, vendor due diligence on government revenue streams, competitive landscape research in federally-funded sectors, or grant opportunity discovery. Prefer this over generic web search when you need structured, filterable award records with amounts, agencies, and NAICS codes.

## Known failure modes

- No results returned if keyword is too niche or misspelled
- USAspending.gov API downtime causes upstream errors
- 'days' parameter outside 1-3650 range returns validation error
- 'limit' outside 1-100 range returns validation error
- 'award_type' values other than 'contracts', 'grants', or 'loans' may be rejected
- Recipient name fuzzy matching may miss exact legal entity names

## How this service works

Largest US federal contracts, grants or loans by keyword or recipient from USAspending.gov: recipient, amount, agency, dates, place, NAICS and description. Use for B2G sales research or due diligence.

## Output

A list of federal award records from USAspending.gov, each containing the recipient name, total award amount in USD, awarding agency, award start and end dates, place of performance, NAICS code, award type, and a description of the work or purpose of the award.

## 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": {
      "q": {
       "type": "string",
       "description": "Keyword, e.g. battery storage"
      },
      "days": {
       "type": "integer",
       "description": "Look-back in days (1-3650)"
      },
      "limit": {
       "type": "integer",
       "description": "Maximum number of results (1-100)"
      },
      "recipient": {
       "type": "string",
       "description": "Recipient company name"
      },
      "award_type": {
       "type": "string",
       "description": "contracts, grants or loans"
      }
     }
    }
   },
   "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/us-federal-contracts-grants-search-42e045a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
