Bond Yields API With Easy Integration
Tags: developers, financeapi, bondyieldsapi, financialapi
Published: 2023-01-26 13:01:45

In case you need to integrate global bond yields data into your solution, [**the Bond Yields API** by Finnworlds](https://finnworlds.com/bond-yields-api/) offers this in JSON with instant access along with other formats such as Excel and CSV as well as PDF and downloadable e-mail links. With its license that allows all users from enterprise to independent developers, you can access the bond yields data right away and start building your project.

## Reasons to Include Global Bond Yield Data in Your Project

For the developers in the finance sector, the focus points to build projects on are diverse. However, keeping track of bond yields data has become a growing demand for investors. This is mainly due to the fact that 10-y bonds are regarded as fixed-income assets, governments that provide the bonds are a lot less likely to go bankrupt, and investors receive monthly coupon payments which make investing in bond yields an intriguing choice.

The solution you can build with the Bond Yields API may find high demand with its global bond yield data and get you one step ahead of your competitors.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nv9m5lodt3kq8vt22kn4.jpg)

---


## Developer Highlights To Get Global Bond Yields Data via API

Historical and real-time bond yields API has global coverage of government bond yield data. The **JSON REST API** allows seamless integration using any leading programming language. Simply work on the language you are the most comfortable with and get your client to fetch data with fast response rates.

The refresh rate for the API is by minute, meaning that the real-time bond yield data **updates every minute** and you should be able to display the latest available data at all times by making new API requests as frequently. **Daily, monthly, weekly, and annual changes** are included in the data.

**Historical data** is available for the last **15+ years**.

---


### Endpoint, filters, output

- **/bond?key=KEY**&country=us : Fetch bond yield data based on a given country
- **/bond?key=KEY**&region=America : Fetch bond yield data based on a given region
- **/bond?key=KEY**&country=us&type=10y : Define bond yield type and fetch bond yield and price percentage changes
 

```
https://api.finnworlds.com/api/v1/bond
    ?key=API-KEY
        &country=us
{
    "status": {
        "code": 200,
        "message": "OK",
        "details": ""
    },
    "result": {
        "output": [
            {
                "region": "america",
                "country": "united states",
                "type": "10Y",
                "yield": "4.1501",
                "price_change_day": "0.0819",
                "percentage_week": "0.15%",
                "percentage_month": "0.27%",
                "percentage_year": "2.54%",
                "date": "2022:10:25"
            }
        ]
    }
}

```

---


<u>**Object Descriptions:**</u>

- **region:** Bond's region or continent
- **country:** Bond country
- **type:** Bond type (i.e., “10y”)
- **price:** Last recorded yield of the bond (real-time updates per minute)
- **price_change_day:** The daily price change of the yield
- **percentage_day:** The day-to-day percentage change of the yield
- **percentage_week:** Week-based percentage change of the yield
- **percentage_month:** Month-based percentage change of the yield
- **percentage_year:** Year over year percentage change of the yield
- **date:** Output request date

{% embed https://finnworlds.com/documentation/ %}


---


## Government Bond Yields API Use Cases

- Government bond yields data allows comparing yields on various bonds in a quick and simple manner upon integrating the real-time Bond Yields API. Make **quicker and smarter investment decisions** or build a platform for your clients on which they can do the same.

- Expand your clientele to **financial institutions, banks and other organizations** by providing bond yield tracking solutions. For example, banks use bond yield data to track yields in their platforms, just like independent investors. Your platform can become a sought-after solution among **risk management** and **investment selection** tools for banks and other institutions.

---

## Getting Started is Very Easy!

**Access** the Finnworlds bond yield data by simply receiving your API key to your email.
This requires [**creating an API subscription**](https://finnworlds.com/pricing/) but you can cancel or upgrade it anytime you wish with no commitments, purely based on how your project goes.

Your API key also grants access to other financial APIs we have such as **stock OHLC, global commodity prices, analyst ratings, and much more**.

Got any questions?
{% embed https://finnworlds.com/contact/ %}


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o9e3you6ky1o3jqzpud8.png)