# BRAINIAC Procurement Intelligence — US Agency Spend

> BRAINIAC Procurement Intelligence — US Agency Spend is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-17).

Returns US federal agency award spending data for a given agency ID and fiscal year, sourced from USAspending.gov

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/procurement-intelligence/us/agency-spend?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-procurement-intelligence-us-agency-spend-c08f0c43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rQGGBwWiltWO8Y4ZeTcsB

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 brainiac-procurement-intelligence-us-agency-spend-c08f0c43 -d '<json body>'
```

Example prompt: Can you pull up the federal award spending data for agency 0970 (HHS) for fiscal year 2024? I want to see how much they obligated in contracts.

## When to prefer this

Use this endpoint when you need quick, pay-per-call access to US federal agency award spending data without setting up an account or managing API keys. It is ideal for agents that need occasional, on-demand procurement intelligence about specific federal agencies by their OMB agency ID and fiscal year. Prefer this over direct USAspending API integration when you want a simple, pre-packaged interface with x402 micropayment support and no credential management overhead.

## Known failure modes

- Invalid or unrecognized agency ID returns null agencySpend with no error
- Fiscal year outside the valid range (2000–2099) is rejected at input validation
- USAspending API upstream outage may return null agencySpend with source URL still listed
- Data may be incomplete or delayed for the most recent fiscal year
- No account or auth required, but payment failure via x402 will block the call

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object containing the input parameters echoed back, the agency's award spending data for the requested fiscal year (may be null if unavailable), a list of data sources consulted (including USAspending API URLs and retrieval timestamps), and known limitations such as data only covering federal agencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "agencyId": {
   "type": "string"
  },
  "fiscalYear": {
   "type": "integer",
   "maximum": 2099,
   "minimum": 2000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "input": {
   "agencyId": "0970",
   "fiscalYear": 2024
  },
  "sources": [
   {
    "url": "https://api.usaspending.gov/api/v2/agency/0970/awards/",
    "source": "USAspending API",
    "retrievedAt": "2026-10-29T12:00:00.000Z"
   }
  ],
  "agencySpend": null,
  "limitations": [
   "USAspending API provides agency award spending data.",
   "Data is limited to federal agencies."
  ],
  "retrievedAt": "2026-10-29T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-procurement-intelligence-us-agency-spend-c08f0c43/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
