# ScriptMasterLabs Federal Spending by Agency API

> ScriptMasterLabs Federal Spending by Agency API is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns U.S. federal government spending data broken down by agency, paid per-call via USDC on Base using the x402 protocol.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/federal-spending-by-agency
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-federal-spending-by-agency-api-247c68b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W2c_vtajXbKzgJN_Hr0SL

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 scriptmasterlabs-federal-spending-by-agency-api-247c68b7
```

Example prompt: Can you pull the federal spending breakdown by agency from the ScriptMasterLabs x402 data API so I can see how much each department is spending?

## When to prefer this

Choose this endpoint when you need quick, pay-per-call access to U.S. federal spending data by agency without a subscription, especially in crypto-native or x402-enabled agent workflows where microtransactions in USDC are already supported. It is best suited for lightweight lookups rather than bulk data pulls.

## Known failure modes

- Payment not settled in USDC on Base — returns 402 Payment Required
- Missing or malformed query properties — may return empty or error response
- Render.com cold-start latency causing timeout on first call
- Sparse response schema means data completeness is uncertain
- Rate limiting or service unavailability on shared Render hosting

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns U.S. federal government spending data aggregated by agency, likely including agency names and corresponding expenditure figures or budget amounts. The exact schema is minimal but expected to reflect official federal spending categories.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-federal-spending-by-agency-api-247c68b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
