# AgentGov — US Federal Contracts & Awards Search API

> AgentGov — US Federal Contracts & Awards Search API is a paid API for AI agents from contracts.memoryapi.org, paid per call via x402, $0.05/call, status down (last checked 2026-09-15).

Search and retrieve US federal contract and grant award records from SAM.gov, filterable by keyword, agency, award amount, eligibility, and category, with pay-per-query USDC billing via x402.

## Facts

- Endpoint: GET https://contracts.memoryapi.org/x402/contracts/awards
- Price: $0.05/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentgov-us-federal-contracts-awards-search-api-3ebe8a1c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AnnbHqs5ntgl3SnuxfEh0

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 agentgov-us-federal-contracts-awards-search-api-3ebe8a1c
```

Example prompt: Search for posted federal IT support contracts awarded to small businesses with awards between $50,000 and $1,000,000 — give me up to 10 results including agency, awardee, and award amount.

## When to prefer this

Use this endpoint when you need to search current or forecasted US federal contract and grant awards, filter by eligibility type (e.g. small business, nonprofit, university), funding category, or award size range. Prefer over manual SAM.gov browsing when automating procurement research, competitive intelligence, or grant discovery workflows. The x402 micropayment model makes it suitable for per-query agent pipelines without subscription overhead.

## Known failure modes

- Payment failure if USDC balance is insufficient or x402 handshake fails
- No results returned if keyword is too narrow or no matching awards exist
- Invalid enum value for status or eligibility returns a validation error
- Exceeding limit maximum of 25 returns an error or is clamped
- Category code not recognized if an invalid funding category abbreviation is provided

## How this service works

x402-powered API for searching US federal contracts and grants. Pay per query in USDC on Base mainnet.

## Output

Returns a list of federal contract/grant award records including award ID, title, awarding agency, awardee company name, award amount, NAICS code, set-aside type, award date, and a direct SAM.gov URL. Also includes aggregate price intelligence stats (average, min, max award amounts, most common set-aside) across the result set, plus a count of results and a disclaimer to verify on SAM.gov.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "count": 5,
  "awards": [
   {
    "id": "def456",
    "url": "https://sam.gov/opp/def456/view",
    "naics": "541511",
    "title": "IT Support Services Award",
    "agency": "DEPT OF DEFENSE",
    "awardee": "Acme Tech Solutions LLC",
    "set_aside": "Small Business",
    "award_date": "2025-11-01",
    "award_amount": 450000
   }
  ],
  "success": true,
  "disclaimer": "Information only. Verify all details on sam.gov before action.",
  "price_intelligence": {
   "sample_size": 5,
   "avg_award_amount": 450000,
   "max_award_amount": 900000,
   "min_award_amount": 50000,
   "most_common_set_aside": "Small Business"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentgov-us-federal-contracts-awards-search-api-3ebe8a1c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from contracts.memoryapi.org](https://www.zero.xyz/host/contracts.memoryapi.org/llms.txt)
