Skip to content

Finnworlds-Financial-data-API/Historical-Bond-Yields-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Historical Bond Yields API - Finnworlds

The Historical Bond Yields API is a structured JSON data source providing historical yields for government bonds worldwide. It includes yield data for multiple bond types such as 2-year, 5-year, 10-year, 10-year TIPS, 30-year and more in daily and monthly intervals. With a single API call, you can retrieve historical bond yield data for specific countries and time periods.

The REST structure of the Historical Bond Yields API simplifies integration and allows you to get results using any method and language. The historical bond yield data is ideal for investment platforms, portfolio analytics, risk management systems, and economic research tools.

Common Use Cases

– Track historical government bond yields for specific countries and bond types
– Analyze trends in interest rates and macroeconomic conditions
– Backtest fixed income and multi-asset investment strategies
– Integrate bond yield data into financial dashboards
– Compare yields across countries, regions, and bond maturities

API Features

  • Global Coverage – Historical yields for government bonds from major economies worldwide
  • Bond Types – Multiple maturities including 2y, 5y, 10y, and 30y
  • Frequency Options – Daily or monthly yields for precise historical analysis
  • Date Range Selection – Query specific periods with extensive historical coverage
  • REST API – Standard JSON responses for seamless integration

Access today by getting your API key on the Finnworlds website.
Looking for academic or non-profit use? Send us an email to start the conversation.

How to access the data

  • JSON REST API
  • Excel CSV download
  • PDF reports
  • Email link

Documentation

Our historical treasury yields API documentation includes input parameters, output objects with descriptions. We also have SDKs for Javascript, JQuery, VueJS, Angular, JAVA, PHP, NodeJS, Python, Go, Ruby, C#, R, Strest, Rust, Swift, and Scala.

Examples

https://api.finnworlds.com/api/v1/bondshistorical?key=APIKEY&country=united_states&type=10y&frequency=day&date_from=2000-01-01&date_to=2000-01-07

{
    "status": {
        "code": 200,
        "message": "OK",
        "details": ""
    },
    "result": {
        "basics": {
            "frequency": "1d"
        },
        "output": {
            "region": "america",
            "country": "United States",
            "bond_type": "10y",
            "prices": [
                {
                    "price": "6.513",
                    "date_time": "2000-01-07"
                },
                {
                    "price": "6.54",
                    "date_time": "2000-01-06"
                },
                {
                    "price": "6.599",
                    "date_time": "2000-01-05"
                },
                {
                    "price": "6.499",
                    "date_time": "2000-01-04"
                },
                {
                    "price": "6.594",
                    "date_time": "2000-01-03"
                }
            ]
        }
    }
}

Customer Support

Need help, have questions? Get in touch with Support.

Legal

Use of the Finnworlds website, services like API and database are subject to the Finnworlds Terms & Conditions.

About

Historical bond yields data going back decades with all yield types included.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published