{"openapi":"3.1.0","info":{"title":"US Treasury API","version":"1.0.0","description":"US Treasury fiscal data as an API, live from the official api.fiscaldata.treasury.gov. Track the US national debt to the penny (total public debt outstanding, debt held by the public and intragovernmental holdings) for the latest day or any date range; get the average interest rates the US government pays on its securities (Treasury Bills, Notes, Bonds, TIPS and more); and look up the official US Treasury reporting exchange rates for ~170 world currencies, used to convert foreign currency to USD for government reporting. Ideal for debt clocks, macro-economic dashboards, fintech, research and data journalism. Public-domain US Treasury data.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/treasury-api","description":"oanor gateway"}],"tags":[{"name":"Treasury"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/debt":{"get":{"operationId":"get_v1_debt","tags":["Treasury"],"summary":"US national debt to the penny","description":"","parameters":[{"name":"from","in":"query","required":false,"description":"Start date YYYY-MM-DD (range mode)","schema":{"type":"string"}},{"name":"to","in":"query","required":false,"description":"End date YYYY-MM-DD (range mode)","schema":{"type":"string"}},{"name":"date","in":"query","required":false,"description":"Exact date YYYY-MM-DD","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max records in range mode (1-1000)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"latest":{"record_date":"2026-05-28","total_public_debt":39176301795549.4,"debt_held_by_public":31466045143781.76,"intragovernmental_holdings":7710256651767.64}},"meta":{"timestamp":"2026-05-31T08:24:39.129Z","request_id":"d4bb336f-f51c-440d-a279-bf1aff47e45a"},"status":"ok","message":"Debt retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/exchange-rates":{"get":{"operationId":"get_v1_exchange_rates","tags":["Treasury"],"summary":"US Treasury reporting exchange rates","description":"","parameters":[{"name":"currency","in":"query","required":false,"description":"Currency, e.g. Euro, Yen, Pound","schema":{"type":"string"},"example":"Euro"},{"name":"country","in":"query","required":false,"description":"Country, e.g. United Kingdom","schema":{"type":"string"}},{"name":"date","in":"query","required":false,"description":"Exact date YYYY-MM-DD","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max records (1-1000, default 200)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":200,"results":[{"country":"Euro Zone","currency":"Euro","record_date":"2026-03-31","exchange_rate":0.87,"effective_date":"2026-03-31","country_currency":"Euro Zone-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2025-12-31","exchange_rate":0.851,"effective_date":"2025-12-31","country_currency":"Cyprus-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2025-12-31","exchange_rate":0.851,"effective_date":"2025-12-31","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2025-09-30","exchange_rate":0.852,"effective_date":"2025-09-30","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2025-06-30","exchange_rate":0.853,"effective_date":"2025-06-30","country_currency":"Euro Zone-Euro"},{"country":"Austria","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Austria-Euro"},{"country":"Belgium","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Belgium-Euro"},{"country":"Croatia","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Croatia-Euro"},{"country":"Cross Border","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.92,"effective_date":"2025-03-31","country_currency":"Cross Border-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Cyprus-Euro"},{"country":"Estonia","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Estonia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Euro Zone-Euro"},{"country":"Finland","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Finland-Euro"},{"country":"France","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"France-Euro"},{"country":"Germany","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Germany-Euro"},{"country":"Greece","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Greece-Euro"},{"country":"Ireland","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Ireland-Euro"},{"country":"Italy","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Italy-Euro"},{"country":"Kosovo","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Kosovo-Euro"},{"country":"Latvia","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Latvia-Euro"},{"country":"Lithuania","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Lithuania-Euro"},{"country":"Luxembourg","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Luxembourg-Euro"},{"country":"Malta","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Malta-Euro"},{"country":"Montenegro","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Montenegro-Euro"},{"country":"Netherlands","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Netherlands-Euro"},{"country":"Portugal","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Portugal-Euro"},{"country":"Slovakia","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Slovakia-Euro"},{"country":"Slovenia","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Slovenia-Euro"},{"country":"Spain","currency":"Euro","record_date":"2025-03-31","exchange_rate":0.924,"effective_date":"2025-03-31","country_currency":"Spain-Euro"},{"country":"Austria","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Austria-Euro"},{"country":"Belgium","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Belgium-Euro"},{"country":"Croatia","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Croatia-Euro"},{"country":"Cross Border","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.92,"effective_date":"2024-12-31","country_currency":"Cross Border-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Cyprus-Euro"},{"country":"Estonia","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Estonia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Euro Zone-Euro"},{"country":"Finland","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Finland-Euro"},{"country":"France","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"France-Euro"},{"country":"Germany","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Germany-Euro"},{"country":"Greece","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Greece-Euro"},{"country":"Ireland","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Ireland-Euro"},{"country":"Italy","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Italy-Euro"},{"country":"Kosovo","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Kosovo-Euro"},{"country":"Latvia","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Latvia-Euro"},{"country":"Lithuania","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Lithuania-Euro"},{"country":"Luxembourg","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Luxembourg-Euro"},{"country":"Malta","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Malta-Euro"},{"country":"Montenegro","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Montenegro-Euro"},{"country":"Netherlands","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Netherlands-Euro"},{"country":"Portugal","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Portugal-Euro"},{"country":"Slovakia","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Slovakia-Euro"},{"country":"Slovenia","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Slovenia-Euro"},{"country":"Spain","currency":"Euro","record_date":"2024-12-31","exchange_rate":0.961,"effective_date":"2024-12-31","country_currency":"Spain-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2024-09-30","exchange_rate":0.893,"effective_date":"2024-09-30","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2024-06-30","exchange_rate":0.935,"effective_date":"2024-06-30","country_currency":"Euro Zone-Euro"},{"country":"France","currency":"Euro","record_date":"2024-06-30","exchange_rate":0.935,"effective_date":"2024-06-30","country_currency":"France-Euro"},{"country":"Lithuania","currency":"Euro","record_date":"2024-06-30","exchange_rate":0.935,"effective_date":"2024-06-30","country_currency":"Lithuania-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2024-03-31","exchange_rate":0.927,"effective_date":"2024-03-31","country_currency":"Euro Zone-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2023-12-31","exchange_rate":0.905,"effective_date":"2023-12-31","country_currency":"Cyprus-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2023-12-31","exchange_rate":0.905,"effective_date":"2023-12-31","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2023-09-30","exchange_rate":0.944,"effective_date":"2023-09-30","country_currency":"Euro Zone-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2023-06-30","exchange_rate":0.92,"effective_date":"2023-06-30","country_currency":"Cyprus-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2023-06-30","exchange_rate":0.92,"effective_date":"2023-06-30","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2023-03-31","exchange_rate":0.92,"effective_date":"2023-03-31","country_currency":"Euro Zone-Euro"},{"country":"Croatia","currency":"Euro","record_date":"2022-12-31","exchange_rate":0.925,"effective_date":"2023-01-13","country_currency":"Croatia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2022-12-31","exchange_rate":0.936,"effective_date":"2022-12-31","country_currency":"Euro Zone-Euro"},{"country":"Netherlands","currency":"Euro","record_date":"2022-12-31","exchange_rate":0.936,"effective_date":"2022-12-31","country_currency":"Netherlands-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2022-09-30","exchange_rate":1.026,"effective_date":"2022-09-30","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2022-06-30","exchange_rate":0.962,"effective_date":"2022-06-30","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2022-03-31","exchange_rate":0.901,"effective_date":"2022-03-31","country_currency":"Euro Zone-Euro"},{"country":"Spain","currency":"Euro","record_date":"2022-03-31","exchange_rate":0.901,"effective_date":"2022-03-31","country_currency":"Spain-Euro"},{"country":"Austria","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Austria-Euro"},{"country":"Belgium","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Belgium-Euro"},{"country":"Cross Border","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Cross Border-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Cyprus-Euro"},{"country":"Estonia","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Estonia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Euro Zone-Euro"},{"country":"Finland","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Finland-Euro"},{"country":"France","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"France-Euro"},{"country":"Germany","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Germany-Euro"},{"country":"Greece","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Greece-Euro"},{"country":"Ireland","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Ireland-Euro"},{"country":"Italy","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Italy-Euro"},{"country":"Kosovo","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Kosovo-Euro"},{"country":"Latvia","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Latvia-Euro"},{"country":"Lithuania","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Lithuania-Euro"},{"country":"Luxembourg","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Luxembourg-Euro"},{"country":"Malta","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Malta-Euro"},{"country":"Montenegro","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Montenegro-Euro"},{"country":"Netherlands","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Netherlands-Euro"},{"country":"Portugal","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Portugal-Euro"},{"country":"Slovakia","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Slovakia-Euro"},{"country":"Slovenia","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Slovenia-Euro"},{"country":"Spain","currency":"Euro","record_date":"2021-12-31","exchange_rate":0.882,"effective_date":"2021-12-31","country_currency":"Spain-Euro"},{"country":"Austria","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Austria-Euro"},{"country":"Belgium","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Belgium-Euro"},{"country":"Cross Border","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Cross Border-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Cyprus-Euro"},{"country":"Estonia","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Estonia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Euro Zone-Euro"},{"country":"Finland","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Finland-Euro"},{"country":"France","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"France-Euro"},{"country":"Germany","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Germany-Euro"},{"country":"Greece","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Greece-Euro"},{"country":"Ireland","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Ireland-Euro"},{"country":"Italy","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Italy-Euro"},{"country":"Kosovo","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Kosovo-Euro"},{"country":"Latvia","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Latvia-Euro"},{"country":"Lithuania","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Lithuania-Euro"},{"country":"Luxembourg","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Luxembourg-Euro"},{"country":"Malta","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Malta-Euro"},{"country":"Montenegro","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Montenegro-Euro"},{"country":"Netherlands","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Netherlands-Euro"},{"country":"Portugal","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Portugal-Euro"},{"country":"Slovakia","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Slovakia-Euro"},{"country":"Slovenia","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Slovenia-Euro"},{"country":"Spain","currency":"Euro","record_date":"2021-09-30","exchange_rate":0.864,"effective_date":"2021-09-30","country_currency":"Spain-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2021-06-30","exchange_rate":0.842,"effective_date":"2021-06-30","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2021-03-31","exchange_rate":0.852,"effective_date":"2021-03-31","country_currency":"Euro Zone-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2020-12-31","exchange_rate":0.815,"effective_date":"2020-12-31","country_currency":"Euro Zone-Euro"},{"country":"Austria","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Austria-Euro"},{"country":"Belgium","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Belgium-Euro"},{"country":"Cross Border","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Cross Border-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Cyprus-Euro"},{"country":"Estonia","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Estonia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Euro Zone-Euro"},{"country":"Finland","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Finland-Euro"},{"country":"France","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"France-Euro"},{"country":"Germany","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Germany-Euro"},{"country":"Greece","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Greece-Euro"},{"country":"Ireland","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Ireland-Euro"},{"country":"Italy","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Italy-Euro"},{"country":"Kosovo","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Kosovo-Euro"},{"country":"Latvia","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Latvia-Euro"},{"country":"Lithuania","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Lithuania-Euro"},{"country":"Luxembourg","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Luxembourg-Euro"},{"country":"Malta","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Malta-Euro"},{"country":"Montenegro","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Montenegro-Euro"},{"country":"Netherlands","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Netherlands-Euro"},{"country":"Portugal","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Portugal-Euro"},{"country":"Slovakia","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Slovakia-Euro"},{"country":"Slovenia","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Slovenia-Euro"},{"country":"Spain","currency":"Euro","record_date":"2020-09-30","exchange_rate":0.854,"effective_date":"2020-09-30","country_currency":"Spain-Euro"},{"country":"Austria","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Austria-Euro"},{"country":"Belgium","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Belgium-Euro"},{"country":"Cross Border","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Cross Border-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Cyprus-Euro"},{"country":"Estonia","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Estonia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Euro Zone-Euro"},{"country":"Finland","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Finland-Euro"},{"country":"France","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"France-Euro"},{"country":"Germany","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Germany-Euro"},{"country":"Greece","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Greece-Euro"},{"country":"Ireland","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Ireland-Euro"},{"country":"Italy","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Italy-Euro"},{"country":"Kosovo","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Kosovo-Euro"},{"country":"Latvia","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Latvia-Euro"},{"country":"Lithuania","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Lithuania-Euro"},{"country":"Luxembourg","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Luxembourg-Euro"},{"country":"Malta","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Malta-Euro"},{"country":"Montenegro","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Montenegro-Euro"},{"country":"Netherlands","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Netherlands-Euro"},{"country":"Portugal","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Portugal-Euro"},{"country":"Slovakia","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Slovakia-Euro"},{"country":"Slovenia","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Slovenia-Euro"},{"country":"Spain","currency":"Euro","record_date":"2020-06-30","exchange_rate":0.893,"effective_date":"2020-06-30","country_currency":"Spain-Euro"},{"country":"Austria","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Austria-Euro"},{"country":"Belgium","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Belgium-Euro"},{"country":"Cross Border","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Cross Border-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Cyprus-Euro"},{"country":"Estonia","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Estonia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Euro Zone-Euro"},{"country":"Finland","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Finland-Euro"},{"country":"France","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"France-Euro"},{"country":"Germany","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Germany-Euro"},{"country":"Greece","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Greece-Euro"},{"country":"Ireland","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Ireland-Euro"},{"country":"Italy","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Italy-Euro"},{"country":"Kosovo","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Kosovo-Euro"},{"country":"Latvia","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Latvia-Euro"},{"country":"Lithuania","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Lithuania-Euro"},{"country":"Luxembourg","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Luxembourg-Euro"},{"country":"Malta","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Malta-Euro"},{"country":"Montenegro","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Montenegro-Euro"},{"country":"Netherlands","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Netherlands-Euro"},{"country":"Portugal","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Portugal-Euro"},{"country":"Slovakia","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Slovakia-Euro"},{"country":"Slovenia","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Slovenia-Euro"},{"country":"Spain","currency":"Euro","record_date":"2020-03-31","exchange_rate":0.914,"effective_date":"2020-03-31","country_currency":"Spain-Euro"},{"country":"Austria","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Austria-Euro"},{"country":"Belgium","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Belgium-Euro"},{"country":"Cross Border","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Cross Border-Euro"},{"country":"Cyprus","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Cyprus-Euro"},{"country":"Estonia","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Estonia-Euro"},{"country":"Euro Zone","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Euro Zone-Euro"},{"country":"Finland","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Finland-Euro"},{"country":"France","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"France-Euro"},{"country":"Germany","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Germany-Euro"},{"country":"Greece","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Greece-Euro"},{"country":"Ireland","currency":"Euro","record_date":"2019-12-31","exchange_rate":0.89,"effective_date":"2019-12-31","country_currency":"Ireland-Euro"}]},"meta":{"timestamp":"2026-05-31T08:24:39.482Z","request_id":"7ce36b43-8a98-41e1-a100-1e9c7e4c7fec"},"status":"ok","message":"Exchange rates retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/interest-rates":{"get":{"operationId":"get_v1_interest_rates","tags":["Treasury"],"summary":"Average interest rates on Treasury securities","description":"","parameters":[{"name":"security","in":"query","required":false,"description":"Security, e.g. Treasury Bills, Treasury Notes, Treasury Bonds","schema":{"type":"string"}},{"name":"from","in":"query","required":false,"description":"Start date YYYY-MM-DD","schema":{"type":"string"}},{"name":"to","in":"query","required":false,"description":"End date YYYY-MM-DD","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max records (1-1000)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":25,"results":[{"security":"Treasury Bills","record_date":"2026-04-30","security_type":"Marketable","avg_interest_rate_pct":3.696},{"security":"Treasury Notes","record_date":"2026-04-30","security_type":"Marketable","avg_interest_rate_pct":3.23},{"security":"Treasury Bonds","record_date":"2026-04-30","security_type":"Marketable","avg_interest_rate_pct":3.403},{"security":"Treasury Inflation-Protected Securities (TIPS)","record_date":"2026-04-30","security_type":"Marketable","avg_interest_rate_pct":1.068},{"security":"Treasury Floating Rate Notes (FRN)","record_date":"2026-04-30","security_type":"Marketable","avg_interest_rate_pct":3.764},{"security":"Federal Financing Bank","record_date":"2026-04-30","security_type":"Marketable","avg_interest_rate_pct":2.389},{"security":"Total Marketable","record_date":"2026-04-30","security_type":"Marketable","avg_interest_rate_pct":3.373},{"security":"Domestic Series","record_date":"2026-04-30","security_type":"Non-marketable","avg_interest_rate_pct":7.577},{"security":"Special Purpose Vehicle","record_date":"2026-04-30","security_type":"Non-marketable","avg_interest_rate_pct":2.781},{"security":"State and Local Government Series","record_date":"2026-04-30","security_type":"Non-marketable","avg_interest_rate_pct":3.313},{"security":"United States Savings Securities","record_date":"2026-04-30","security_type":"Non-marketable","avg_interest_rate_pct":3.176},{"security":"United States Savings Inflation Securities","record_date":"2026-04-30","security_type":"Non-marketable","avg_interest_rate_pct":4.349},{"security":"Government Account Series","record_date":"2026-04-30","security_type":"Non-marketable","avg_interest_rate_pct":3.184},{"security":"Government Account Series Inflation Securities","record_date":"2026-04-30","security_type":"Non-marketable","avg_interest_rate_pct":1.348},{"security":"Total Non-marketable","record_date":"2026-04-30","security_type":"Non-marketable","avg_interest_rate_pct":3.191},{"security":"Total Interest-bearing Debt","record_date":"2026-04-30","security_type":"Interest-bearing Debt","avg_interest_rate_pct":3.34},{"security":"Treasury Bills","record_date":"2026-03-31","security_type":"Marketable","avg_interest_rate_pct":3.702},{"security":"Treasury Notes","record_date":"2026-03-31","security_type":"Marketable","avg_interest_rate_pct":3.212},{"security":"Treasury Bonds","record_date":"2026-03-31","security_type":"Marketable","avg_interest_rate_pct":3.392},{"security":"Treasury Inflation-Protected Securities (TIPS)","record_date":"2026-03-31","security_type":"Marketable","avg_interest_rate_pct":0.999},{"security":"Treasury Floating Rate Notes (FRN)","record_date":"2026-03-31","security_type":"Marketable","avg_interest_rate_pct":3.628},{"security":"Federal Financing Bank","record_date":"2026-03-31","security_type":"Marketable","avg_interest_rate_pct":2.389},{"security":"Total Marketable","record_date":"2026-03-31","security_type":"Marketable","avg_interest_rate_pct":3.365},{"security":"Domestic Series","record_date":"2026-03-31","security_type":"Non-marketable","avg_interest_rate_pct":7.577},{"security":"Special Purpose Vehicle","record_date":"2026-03-31","security_type":"Non-marketable","avg_interest_rate_pct":2.801}]},"meta":{"timestamp":"2026-05-31T08:24:39.807Z","request_id":"5ed55d3b-609b-46c9-90df-7184cc84cd08"},"status":"ok","message":"Interest rates retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Datasets & source","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Live US Treasury fiscal data. Filter by date or date range (from/to, YYYY-MM-DD); exchange rates by country or currency; interest rates by security. Public-domain US Treasury data.","source":"US Treasury (api.fiscaldata.treasury.gov)","datasets":{"debt":"US national debt to the penny (daily): total public debt, debt held by the public, intragovernmental holdings","exchange_rates":"Official US Treasury reporting exchange rates (quarterly), ~170 currencies — used to convert foreign currency to USD for US government reporting","interest_rates":"Average interest rates on US Treasury securities (monthly), by security type"},"endpoints":["/v1/debt","/v1/interest-rates","/v1/exchange-rates","/v1/meta"]},"meta":{"timestamp":"2026-05-31T08:24:39.855Z","request_id":"e658e0a3-5ab4-4160-b56e-dc34d0681b32"},"status":"ok","message":"Meta retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":3700,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":620,"monthly_call_quota":51000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1620,"monthly_call_quota":260000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":4100,"monthly_call_quota":1290000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/treasury-api"}