# AgentToll Federal Spending Lookup

> AgentToll Federal Spending Lookup is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Retrieves federal government spending data filtered by agency and/or recipient, returning award amounts, contracts, grants, or other expenditure records from USASpending or similar federal data sources.

## Facts

- Endpoint: POST https://agenttoll.dev/paid/gov/federal-spending
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-federal-spending-lookup-cdb37093
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_siM3xKcHhPEMtRWGRxNYa

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 agenttoll-federal-spending-lookup-cdb37093 -d '<json body>'
```

Example prompt: Can you pull federal spending records for the Department of Defense and show me the top 10 recipients?

## When to prefer this

Use this endpoint when you need to programmatically query US federal government spending records filtered by agency or recipient, especially in an AI agent context with per-call micropayment via USDC. Prefer this over direct USASpending.gov API calls when you need a pre-integrated, pay-per-use tool without managing API keys or rate limits.

## Known failure modes

- Invalid agency name returns empty results or error
- Limit parameter too large may cause slow response or truncation
- Recipient name must match exactly or closely enough to be recognized
- API unavailable returns success: false
- Cached responses may not reflect the most recent data

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns a JSON object with a 'data' field containing an array or object of federal spending records matching the query filters, plus a 'meta' object with a record count, the data source name, and a generation timestamp. Also includes boolean flags for 'success' and 'cached' status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer"
  },
  "agency": {
   "type": "string"
  },
  "recipient": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "oneOf": [
    {
     "type": "array"
    },
    {
     "type": "object"
    }
   ]
  },
  "meta": {
   "type": "object",
   "properties": {
    "count": {
     "type": "integer"
    },
    "source": {
     "type": "string"
    },
    "generated_at": {
     "type": "string",
     "format": "date-time"
    }
   }
  },
  "cached": {
   "type": "boolean"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoll-federal-spending-lookup-cdb37093/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
