Agentic Portal

Treasury and Fiscal Data

finance
Serving

US Treasury yields, debt, and fiscal series as stable JSON from FiscalData. POST /v1/treasury with a {series} (e.g. debt_to_penny) and get the observations as one JSON object. Deterministic per data vintage. Pay per request in USDC; no account, no API key.

Endpoint
POST https://agent.pocket.network/v1/treasury-fiscal-data/v1/treasury
Price per call
$0.005 USD
Networks payable on
Base (eip155:8453), Tempo (eip155:4217)
Protocol
rest

Calling it

The first call returns 402 Payment Required with the terms. Sign for those terms and retry the same request with the payment attached.

Example request

A real, working call — the request the service card verifies against.

curl -X POST https://agent.pocket.network/v1/treasury-fiscal-data/v1/treasury \
  -H 'content-type: application/json' \
  -d '{"series":"debt_to_penny"}'
Example response

The response this call returned, captured 2026-09-21 23:49:48 UTC.

{
  "portal": {
    "provenance": "third-party-supplier",
    "serviceId": "treasury-fiscal-data",
    "schemaCheck": "unchecked"
  },
  "data": {
    "series": "debt_to_penny",
    "data": [
      {
        "record_date": "2026-09-18",
        "debt_held_public_amt": "32401926526743.72",
        "intragov_hold_amt": "7699573989968.37",
        "tot_pub_debt_out_amt": "40101500516712.09",
        "src_line_nbr": "1",
        "record_fiscal_year": "2026",
        "record_fiscal_quarter": "4",
        "record_calendar_year": "2026",
        "record_calendar_quarter": "3",
        "record_calendar_month": "09",
        "record_calendar_day": "18"
      },
      {
        "record_date": "2026-09-17",
        "debt_held_public_amt": "32392786557372.46",
        "intragov_hold_amt": "7700556910778.04",
        "tot_pub_debt_out_amt": "40093343468150.50",
        "src_line_nbr": "1",
        "record_fiscal_year": "2026",
        "record_fiscal_quarter": "4",
        "record_calendar_year": "2026",
        "record_calendar_quarter": "3",
        "record_calendar_month": "09",
        "record_calendar_day": "17"
      },
      {
        "record_date": "2026-09-16",
        "debt_held_public_amt": "32406353922774.30",
        "intragov_hold_amt": "7687726505016.67",
        "tot_pub_debt_out_amt": "40094080427790.97",
        "src_line_nbr": "1",
        "record_fiscal_year": "2026",
        "record_fiscal_quarter": "4",
        "record_calendar_year": "2026",
        "record_calendar_quarter": "3",
        "record_calendar_month": "09",
        "record_calendar_day": "16"
      }
    ],
    "as_of": "2026-09-21",
    "source": "api.fiscaldata.treasury.gov (public domain)"
  }
}

Try it

Make one real paid call from your own wallet — about $0.005 on Base (eip155:8453). The wallet signs; nothing here holds a key. You'll see exactly what the service answers.

No browser wallet found. Install MetaMask, Rabby, or Coinbase Wallet to try a call here.

Supported methods

Methods the registry lists for this service. The portal forwards any call as sent; the supplier decides what it answers, and a delivered answer is settled.

Methods Treasury and Fiscal Data accepts, and whether each reads or writes.
MethodEffect
GET /v1/healthread
GET /v1/versionread
POST /v1/treasuryread

Schemas

Published by the service itself. The example above is generated from these.

Request schema
{
  "type": "object",
  "description": "A Treasury or fiscal series to fetch.",
  "properties": {
    "series": {
      "type": "string",
      "description": "FiscalData series, e.g. debt_to_penny."
    }
  },
  "required": [
    "series"
  ]
}
Response schema
{
  "type": "object",
  "description": "For POST /v1/treasury, a JSON object with a `series` array of observations. The exact shape is the service's own and is not pinned here; errors return a JSON object with an `error` field, and the GET routes return their own small JSON documents."
}