API Documentation

Access

You can access a JSON feed of any page by appending index.json to the path.

For example:

/interest-rates/all/index.json
/interest-rates/defi/index.json

Request

API requests can be sent as a simple HTTP GET request. There’s no need for any special headers or authentication. For example:

GET /interest-rates/stablecoin/index.json

Response

Each response will contain a single data field, with all relevant information nested inside. For example:

GET /interest-rates/stablecoin/index.json
{
    "data": {
        "services": [
            {
                "id": "blockfi",
                "name": "BlockFi",
                "assets": [
                    {
                        "id": "busd",
                        "ticker": "BUSD",
                        "apy_min": 5,
                        "apy_max": 8,
                    },
                    {
                        "id": "dai",
                        "ticker": "DAI",
                        "apy_min": 5,
                        "apy_max": 8,
                    }
                ],
            }
        ],
    }
}

Use Cases

You may wish to use this API to automatically fetch the latest interest rates to support a custom algorithm for rebalancing your assets between interest accounts.

Service Level Objective (SLO)

This API does not come with any uptime guarantees. The structure and availability of API methods may change at any time. Please continue to check this page for updated documentation.