API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Previews
us-treasury-10y-yields
Schema
| name | type | format | units |
|---|---|---|---|
| Date | date | yyyy-mm | |
| Yield | number | percent |
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
us-treasury-10y-yields | 33.5 kB | 15 days ago | us-treasury-10y-yields |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 1 | 33.5 kB | 15 days ago | Open Data Commons Public Domain Dedication and License v1.0 |
Long term government bond yields.
Data
European Union
[ECB - Long-term interest rate statistics for EU Member States] (note this data is also the source for that provided by Eurostat). As stated on Eurostat site:
Long term government bond yields are calculated as monthly averages (non seasonally adjusted data). They refer to central government bond yields on the secondary market, gross of tax, with a residual maturity of around 10 years. The bond or the bonds of the basket have to be replaced regularly to avoid any maturity drift. This definition is used in the convergence criteria of the Economic and Monetary Union for long-term interest rates, as required under Article 121 of the Treaty of Amsterdam and the Protocol on the convergence criteria. Data are presented in raw form. Source: European Central Bank (ECB)
Preparation
Process is recorded and automated in python script:
pip install -r scripts/requirements.txt
python scripts/prepare.py
Automation
Up-to-date (auto-updates every month) bond-yields-gov-long-term dataset could be found on the datahub.io: https://datahub.io/core/bond-yields-gov-long-term
License
Licensed under the Public Domain Dedication and License (assuming either no rights or public domain license in source data).