Explorer
Syncing—

Treasury and Fiscal DataService

treasury-fiscal-data

US Treasury fiscal data from the official Fiscal Data API. POST JSON {"series": "debt_to_penny", "limit": 10} to /v1/treasury. Series: debt_to_penny (total public debt, daily), operating_cash_balance, deposits_withdrawals and public_debt_transactions (Daily Treasury Statement tables), avg_interest_rates (monthly) and exchange_rates (quarterly; optional "country": "Canada"). The response is a JSON object with series, description, data (rows as published, newest first) and count. Live data.

Active Suppliers
1
of 1 ever configured
Service Info
Service ID
treasury-fiscal-data
Compute Units / Relay
100,000
Active Applications
1
Relay Mining EMA
2 relays
Service Metadata Cardsource: on-chain metadata (LCD)
{10 items
"schema":"pocket-service-card/v1"
"description":"US Treasury fiscal data from the official Fiscal Data API. POST JSON {"series": "debt_to_penny", "limit": 10} to /v1/treasury. Series: debt_to_penny (total publ..."
"rpc_types":[1 item
0:{4 items
"type":"REST"
"intent":"expected"
"backend_hint":"treasury-fiscal-data HTTP server on :8080; POST /v1/treasury (POST / also reaches it through the relay), GET /v1/health + /v1/version."
"notes":"Every response is a JSON object; errors are JSON 4xx with an error field."
}
]
"apis":[1 item
0:"treasury-api"
]
"specs":[1 item
0:{4 items
"kind":"openapi"
"api":"treasury-api"
"url":"https://services.supnodes.com/specs/treasury-fiscal-data/openapi.json"
"notes":"Machine-readable OpenAPI 3.0.3 contract for this service, with example requests."
}
]
"access":"public"
"results":"variable"
"serving":{7 items
"backend":"Single-process Python 3 HTTP server, standard library only, behind a RelayMiner (rest backend). No auth toward the backend; callers cannot send headers. Calls a..."
"implementations":[1 item
0:"treasury-fiscal-data >= 1.0"
]
"docs":"https://services.supnodes.com/specs/treasury-fiscal-data/README.md"
"min_disk_gb":1
"min_ram_gb":1
"healthcheck":[3 items
0:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/version"
"method":"GET"
}
"expect":{2 items
"json_path":"$.service"
"matches":"^treasury-fiscal-data$"
}
"notes":"Identity probe: pins the backend to this service so a wrong backend cannot be staked under this id."
}
1:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/health"
"method":"GET"
}
"expect":{2 items
"json_path":"$.status"
"matches":"^ok$"
}
"notes":"Readiness probe."
}
2:{4 items
"rpc_type":"REST"
"request":{3 items
"path":"/v1/treasury"
"method":"POST"
"body":{2 items
"limit":1
"series":"debt_to_penny"
}
}
"expect":{2 items
"json_path":"$.data[0].record_date"
"matches":"^[0-9]{4}-"
}
"notes":"Functional probe: latest total public debt; one upstream call."
}
]
"notes":"Upstream is a public government API that may rate-limit. Gateway operators: configure as type passthrough with rpc_types ["rest"]."
}
"docs":"https://services.supnodes.com/specs/treasury-fiscal-data/README.md"
"updated":"2026-09-25"
}