# srch.best Fiscal Data API

> srch.best Fiscal Data API is a paid API for AI agents from x402.srch.best, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Retrieves structured US fiscal data (federal debt and interest rates) by security type and date range, paid per request via x402

## Facts

- Endpoint: POST https://x402.srch.best/fiscal
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/srch-best-fiscal-data-api-4b609051
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wnLx-UkOFhdLS5Zh4ulOA

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 srch-best-fiscal-data-api-4b609051 -d '<json body>'
```

Example prompt: Pull me structured US fiscal data on federal debt for Treasury notes from January 1 2023 to December 31 2023, up to 50 results.

## When to prefer this

Choose this endpoint when you need authoritative, structured US government fiscal data (federal debt or Treasury interest rates) segmented by security type and date range, especially in agentic workflows where per-request micropayment via x402 is acceptable and you need paginated, machine-readable output rather than raw web search results.

## Known failure modes

- Invalid 'type' enum value returns a validation error
- 'security' enum value not matching allowed options returns a bad request
- Date format not conforming to ISO 8601 (YYYY-MM-DD) causes a parse error
- Limit exceeding 100 or below 1 returns a validation error
- Expired or invalid pagination cursor returns an error or empty result
- Payment failure via x402 returns a 402 Payment Required response
- No data available for the specified date range returns an empty result set

## How this service works

Structured fiscal data for agents, paid per request with x402 v2

## Output

Returns a structured, paginated list of US fiscal records — either federal debt figures or interest rate data — filtered by security type and date range, including an opaque cursor for fetching the next page of results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "enum": [
    "debt",
    "interest_rates"
   ],
   "type": "string"
  },
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1
  },
  "cursor": {
   "type": "string",
   "maxLength": 128,
   "minLength": 1,
   "description": "Opaque continuation cursor returned by the previous response."
  },
  "toDate": {
   "type": "string",
   "format": "date"
  },
  "fromDate": {
   "type": "string",
   "format": "date"
  },
  "security": {
   "enum": [
    "bills",
    "notes",
    "bonds",
    "tips",
    "floating_rate_notes",
    "total_marketable"
   ],
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/srch-best-fiscal-data-api-4b609051/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.srch.best](https://www.zero.xyz/host/x402.srch.best/llms.txt)
