# US Federal Government Contracts Search (USAspending)

> US Federal Government Contracts Search (USAspending) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-16).

Searches US federal government contracts by keyword via USAspending.gov, returning recipient, award amount, awarding agency, dates, and description sorted by largest value first.

## Facts

- Endpoint: POST https://api.vextorium.com/contratos-eeuu-pago?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-federal-government-contracts-search-usaspending-bfc865e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MDx6onZ4xt6wnlwKbbxyR

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-government-contracts-search-usaspending-bfc865e8 -d '<json body>'
```

Example prompt: Search USAspending for the top 10 US federal government contracts related to 'cybersecurity' awarded since January 1, 2023 — show me the recipient, agency, dollar amount, and a link to each.

## When to prefer this

Choose this endpoint when you need structured, ranked data on US federal government contract awards from the authoritative public source (USAspending.gov), especially for market research, competitive analysis, or identifying which companies are winning federal work in a given domain. Prefer this over general web search when you need structured fields (amounts, agencies, dates, recipients) rather than news articles or press releases about government spending.

## Known failure modes

- No contracts found for obscure or misspelled keywords — returns empty contracts array
- USAspending.gov API unavailable or rate-limited — may return error or empty results
- Date format errors if 'desde' is not in YYYY-MM-DD format
- Limit out of range (must be 1-100) — may return validation error
- Very broad keywords may return noisy or loosely related results

## How this service works

US federal government contracts by keyword (USAspending): recipient, amount, awarding agency, dates and description, largest first. For public-sector market research and competitor analysis.

## Output

Returns a JSON object with the search keyword, start date filter, data source attribution (USAspending.gov), and an array of contracts sorted by award amount descending. Each contract includes: contract ID, recipient name, awarding agency, start and end dates, a description of the work, the total award amount in USD, and a direct link to the USAspending.gov award page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "desde": {
   "type": "string",
   "description": "YYYY-MM-DD (default 1 year ago)"
  },
  "buscar": {
   "type": "string"
  },
  "limite": {
   "type": "integer",
   "description": "1-100 (default 10)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "desde": "2025-10-02",
  "fuente": "USAspending.gov (Gobierno de EE. UU., dominio público)",
  "busqueda": "artificial intelligence",
  "contratos": [
   {
    "fin": "2027-03-11",
    "enlace": "https://www.usaspending.gov/award/CONT_AWD_W911QX20C0023_9700_-NONE-_-NONE-",
    "inicio": "2020-04-23",
    "agencia": "Department of Defense",
    "contrato": "W911QX20C0023",
    "descripcion": "RESEARCH AND DEVELOPMENT EFFORT TO DESIGN AND DEVELOP PROTOTYPES TO ARTIFICIAL INTELLIGENCE/MACHINE LEARNING ALGORITHMS.",
    "importe_usd": 120492195.74,
    "adjudicatario": "ECS FEDERAL, LLC"
   },
   {
    "fin": "2025-03-10",
    "enlace": "https://www.usaspending.gov/award/CONT_AWD_140D0421C0002_1406_-NONE-_-NONE-",
    "inicio": "2020-12-23",
    "agencia": "Department of the Interior",
    "contrato": "140D0421C0002",
    "descripcion": "INFORMATION TECHNOLOGY (IT), ARTIFICIAL INTELLIGENCE (AI), AND MACHINE LEARNING (ML) PROGRAMMATIC SUPPORT SERVICES FOR THE DEPARTMENT OF DEFENSE CHIEF INFORMATION OFFICER (DOD CIO) JOINT ARTIFICIAL INTELLIGENCE CENTER (JAIC)",
    "importe_usd": 106725460.68,
    "adjudicatario": "TUKNIK GOVERNMENT SERVICES LLC"
   },
   {
    "fin": "2027-07-01",
    "enlace": "https://www.usaspending.gov/award/CONT_AWD_W911QX25C0002_9700_-NONE-_-NONE-",
    "inicio": "2025-01-30",
    "agencia": "Department of Defense",
    "contrato": "W911QX25C0002",
    "descripcion": "CONTRACT TO RESEARCH, DEVELOP, MODIFY, DEPLOY, OPERATE, AND MAINTAIN ARTIFICIAL INTELLIGENCE/MACHINE LEARNING (AI/ML) ALGORITHMS AND MODELS.",
    "importe_usd": 78498695.2,
    "adjudicatario": "ECS FEDERAL, LLC"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-federal-government-contracts-search-usaspending-bfc865e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
