fourzerotwo-si Us Treasury API
US Treasury Fiscal Data: US national debt to the penny, average interest rates on Treasury debt, Treasury exchange rates and daily cash balance.
US Treasury Fiscal Data: US national debt to the penny, average interest rates on Treasury debt, Treasury exchange rates and daily cash balance.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/fourzerotwo-si:fourzerotwo-si-us-treasury-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fourzerotwo Si Us Treasury API
version: 1.1.0
contact:
url: https://fourzerotwo.si
description: 'Operations tagged us-treasury across 2 of this provider''s published API definitions: openapi.json, fourzerotwo-si-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://fourzerotwo.si
tags:
- name: us-treasury
description: 'US Treasury Fiscal Data: US national debt to the penny, average interest rates on Treasury debt, Treasury exchange rates and daily cash balance.'
paths:
/v1/us-treasury/debt-to-penny:
get:
operationId: us_treasury__debt_to_penny
summary: 'US Treasury Fiscal Data: National debt to the penny'
description: 'Total public debt outstanding, latest days. Price: $0.001 USDC per call via x402. Free within the daily allowance with a free key.'
tags:
- us-treasury
externalDocs:
url: https://fourzerotwo.si/apis/us-treasury/debt-to-penny
responses:
'200':
description: The data (paid, or free tier).
content:
application/json: {}
'402':
$ref: '#/components/responses/PaymentRequired'
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
security:
- {}
- freeKey: []
x-price-usd: '0.001000'
x-free-tier: free
x-mcp-tool: us-treasury__debt-to-penny
servers:
- url: https://fourzerotwo.si
/v1/us-treasury/avg-interest-rates:
get:
operationId: us_treasury__avg_interest_rates
summary: 'US Treasury Fiscal Data: Average interest rates'
description: 'Average interest rates on marketable and non-marketable Treasury securities. Price: $0.001 USDC per call via x402. Free within the daily allowance with a free key.'
tags:
- us-treasury
externalDocs:
url: https://fourzerotwo.si/apis/us-treasury/avg-interest-rates
responses:
'200':
description: The data (paid, or free tier).
content:
application/json: {}
'402':
$ref: '#/components/responses/PaymentRequired'
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
security:
- {}
- freeKey: []
x-price-usd: '0.001000'
x-free-tier: free
x-mcp-tool: us-treasury__avg-interest-rates
servers:
- url: https://fourzerotwo.si
/v1/us-treasury/operating-cash:
get:
operationId: us_treasury__operating_cash
summary: 'US Treasury Fiscal Data: Daily cash balance'
description: 'Treasury General Account operating cash balance, latest days. Price: $0.001 USDC per call via x402. Free within the daily allowance with a free key.'
tags:
- us-treasury
externalDocs:
url: https://fourzerotwo.si/apis/us-treasury/operating-cash
responses:
'200':
description: The data (paid, or free tier).
content:
application/json: {}
'402':
$ref: '#/components/responses/PaymentRequired'
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
security:
- {}
- freeKey: []
x-price-usd: '0.001000'
x-free-tier: free
x-mcp-tool: us-treasury__operating-cash
servers:
- url: https://fourzerotwo.si
/v1/us-treasury/gold-reserve:
get:
operationId: us_treasury__gold_reserve
summary: 'US Treasury Fiscal Data: Gold reserve'
description: 'US Treasury-owned gold by location, latest. Price: $0.001 USDC per call via x402. Free within the daily allowance with a free key.'
tags:
- us-treasury
externalDocs:
url: https://fourzerotwo.si/apis/us-treasury/gold-reserve
responses:
'200':
description: The data (paid, or free tier).
content:
application/json: {}
'402':
$ref: '#/components/responses/PaymentRequired'
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
security:
- {}
- freeKey: []
x-price-usd: '0.001000'
x-free-tier: free
x-mcp-tool: us-treasury__gold-reserve
servers:
- url: https://fourzerotwo.si
/v1/us-treasury/exchange-rates:
get:
operationId: us_treasury__exchange_rates
summary: 'US Treasury Fiscal Data: Treasury exchange rates'
description: 'Quarterly Treasury reporting rates of exchange for a country''s currency. Price: $0.001 USDC per call via x402. Free within the daily allowance with a free key.'
tags:
- us-treasury
externalDocs:
url: https://fourzerotwo.si/apis/us-treasury/exchange-rates
parameters:
- name: currency
in: query
required: true
description: Filter, e.g. country_currency_desc:eq:United Kingdom-Pound
schema:
type: string
example: country_currency_desc:eq:United Kingdom-Pound
responses:
'200':
description: The data (paid, or free tier).
content:
application/json: {}
'402':
$ref: '#/components/responses/PaymentRequired'
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
security:
- {}
- freeKey: []
x-price-usd: '0.001000'
x-free-tier: free
x-mcp-tool: us-treasury__exchange-rates
servers:
- url: https://fourzerotwo.si
components:
responses:
PaymentRequired:
description: x402 payment required. The body (also base64 in the PAYMENT-REQUIRED header) lists accepted payments.
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64 JSON x402 v2 PaymentRequired
content:
application/json:
schema:
type: object
properties:
x402Version:
type: integer
error:
type: string
accepts:
type: array
items:
type: object
Error:
description: 400 = invalid input, 404 = not found at the source, 502 = the source failed. Never charged.
content:
application/json:
schema:
type: object
properties:
error:
type: string
charged:
type: boolean
securitySchemes:
freeKey:
type: apiKey
in: header
name: X-API-Key
description: Optional free key (fzt_…) for the free tier.
x-refined-from:
- openapi.json
- fourzerotwo-si-openapi.json