# ScriptMasterLabs Federal Spending by Agency API

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

Returns federal government spending data broken down by agency, settled via x402 micropayment in USDC on Base

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/federal-spending-by-agency?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-federal-spending-by-agency-api-24bc8b2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4wmh3lwq2V5oxANZjk0i4

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-24bc8b2c
```

Example prompt: Pull the federal spending breakdown by agency from ScriptMasterLabs — I want to see how much each government department is spending so I can compare budget allocations across agencies.

## When to prefer this

Choose this endpoint when you need pay-per-call, micropayment-gated access to US federal spending data organized by agency, especially in agentic workflows that support x402/USDC payments on Base. It is well-suited for compliance, policy research, or financial analysis use cases that require structured government expenditure data without a subscription.

## Known failure modes

- Missing or malformed query parameters may return empty or generic results
- 402 Payment Required if USDC micropayment via x402 is not properly configured or insufficient
- 503 or timeout if the hosted Render service is cold-starting or unavailable
- No data returned for invalid or unrecognized agency identifiers
- Rate limiting or payment failures if wallet balance is depleted

## 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 federal government spending data aggregated by agency, including expenditure totals, department names, and budget allocation figures for the requested period or filter criteria.

## 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-24bc8b2c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
