Monthly Treasury Statement: receipts, outlays, deficit/surplus
U.S. federal receipts, outlays and deficit/surplus from the Monthly Treasury Statement (MTS) Table 1: calendar-month detail for each fiscal year and fiscal-year-to-date totals, in dollars. The deficit/surplus series is positive when the government runs a deficit (outlays exceed receipts) and negative for a surplus. Monthly detail from October 2014.
Qualité
Attribution
U.S. Department of the Treasury, Bureau of the Fiscal Service, Fiscal Data
Schéma
| Colonne | Type | Description |
|---|---|---|
| date | timestamp | Month of observation, mapped to the first day of the month from the provider's Record Date ("The date that data was published"). Debt to the Penny is published daily; MTS, average interest rates and interest expense are published monthly at month-end. |
| series_id | string | Stable machine identifier for the series. Built from the provider's own description fields (never the classification_id, which the MTS dictionary notes changes with every publication): debt measures use short slugs of the provider's Display Names; MTS uses monthly_/fytd_/fy_ prefixes; interest-rate and interest-expense series slug the provider's type/group descriptions. |
| series_label | string | Human-readable series name using the provider's own wording (Display Names and description fields from the Fiscal Data data dictionaries), e.g. "Debt Held by the Public" or "Marketable — Treasury Bills". |
| unit | string | Unit of value: "USD" for dollar amounts (the provider's CURRENCY data type) or "%" for rates (the provider's PERCENTAGE data type, percent per annum). |
| value | float | Observed value as a number. Fiscal Data returns missing observations as the string "null"; these become null here. For the MTS deficit/surplus series a positive value means a deficit (outlays exceeded receipts). |
Exemple de lignes
| date | series_id | series_label | unit | value |
|---|---|---|---|---|
| 2015-03-01T00:00:00 | fytd_deficit_surplus | Deficit/Surplus (positive = deficit) — fiscal year to date | USD | 483359450831.61 |
| 2015-04-01T00:00:00 | fytd_deficit_surplus | Deficit/Surplus (positive = deficit) — fiscal year to date | USD | 483358672071.98 |
| 2015-05-01T00:00:00 | fytd_deficit_surplus | Deficit/Surplus (positive = deficit) — fiscal year to date | USD | 483358672071.98 |
| 2015-06-01T00:00:00 | fytd_deficit_surplus | Deficit/Surplus (positive = deficit) — fiscal year to date | USD | 483358672071.98 |
| 2015-07-01T00:00:00 | fytd_deficit_surplus | Deficit/Surplus (positive = deficit) — fiscal year to date | USD | 465539268991.89 |
Télécharger un échantillon
Téléchargez l'échantillon complet de ce jeu de données (lignes d'exemple, pas le jeu complet).
Utiliser avec un LLM
Dirigez n’importe quel LLM vers le point d’accès des métadonnées — la documentation ci-dessus est aussi lisible par machine (JSON-LD + Croissant).
cURL
curl "https://datazimuts.com/v1/datasets/treasury/treasury_monthly_statement" | jq '{title, rows, columns_count, license}'Python
import requests
ds = requests.get("https://datazimuts.com/v1/datasets/treasury/treasury_monthly_statement").json()
print(ds["title"], ds["rows"], "rows")
# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
print(row)Point d’accès API: https://datazimuts.com/v1/datasets/treasury/treasury_monthly_statement
Astuce : récupérez /llms.txt pour le catalogue complet lisible par machine.