# US Federal Budget & Spending Top Agencies

> US Federal Budget & Spending Top Agencies is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Returns top US federal agencies by budget and spending data from USAspending.gov, no registration required.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/us-spending?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-federal-budget-spending-top-agencies-b0c16542
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zvU14gygWoE4IhzakiOlg

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-budget-spending-top-agencies-b0c16542
```

Example prompt: Pull up the top US federal agencies by budget and spending from USAspending — I want to see which departments are getting the most federal money right now.

## When to prefer this

Use this endpoint when you need a quick, no-registration snapshot of top US federal agency spending rankings. Prefer this over directly querying USAspending.gov APIs when you want a simplified, pre-aggregated summary without dealing with complex government API authentication or data parsing.

## Known failure modes

- Upstream USAspending.gov API unavailability causing empty or error response
- Rate limiting if called too frequently
- Stale data if USAspending source has not been recently updated
- HTTP 402 payment required if x402 micropayment not properly handled

## How this service works

ADH 金融情报层：把 239 个原始数据源洗成带实体解析、时间同步、溯源与派生结论的情报（宏观regime / 加密尽调 / 事件窗口），免费注入你的 AI 上下文。Agent 走 x402 结算，人类订阅（PayPal）即将上线。

## Output

A ranked list of top US federal agencies including their budget allocations and spending figures, sourced from USAspending.gov. Returns agency names, spending amounts, and relative rankings without requiring authentication.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": {
   "results": [
    {
     "active_fq": "3",
     "active_fy": "2026",
     "agency_id": 1525,
     "agency_name": "400 Years of African-American History Commission",
     "agency_slug": "400-years-of-african-american-history-commission",
     "abbreviation": "AAHC",
     "toptier_code": "247",
     "outlay_amount": 0,
     "obligated_amount": 0,
     "budget_authority_amount": 0,
     "congressional_justification_url": null,
     "percentage_of_total_budget_authority": 0,
     "current_total_budget_authority_amount": 16047087458201.36
    },
    {
     "active_fq": "3",
     "active_fy": "2026",
     "agency_id": 1525,
     "agency_name": "400 Years of African-American History Commission",
     "agency_slug": "400-years-of-african-american-history-commission",
     "abbreviation": "AAHC",
     "toptier_code": "247",
     "outlay_amount": 0,
     "obligated_amount": 0,
     "budget_authority_amount": 0,
     "congressional_justification_url": null,
     "percentage_of_total_budget_authority": 0,
     "current_total_budget_authority_amount": 16047087458201.36
    }
   ]
  },
  "source": "generic_json",
  "data_type": "政府财政",
  "collected_at": "2026-08-09T18:13:05Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-federal-budget-spending-top-agencies-b0c16542/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
