For the complete documentation index, see llms.txt. This page is also available as Markdown.

Yields API

Pull current and historical yield data for all assets supported by our infrastructure.

Get Yields

GET https://mainnet.staked.cloud/api/yields

Get yield information for assets.

Request Headers

Name
Type
Description

X-Api-Key

string

Your API key (preferred method of passing api key is now in headers rather than query params)

Query Parameters

Name
Type
Description

api_key

string

[Deprecated since March '25 (preferred method of passing api key is now in headers rather than query params)]

Your API key

date

string

Get data from a specific date, default is current day. Format: YYYY-MM-DD

extended

boolean

Get more staking data in the response such as inflation, staking rate, etc

by_key

string

Filters for assets associated with api_key

currencies

array

List of currencies to return, default is all

// With 'extended' set to false
[
    ...
    {
        "currency": "Cosmos",
        "yield": "0.09647",
        "timestamp": "2019-09-03T12:00:06.559048",
    },
    {
        "currency": "Tezos",
        "yield": "0.07155",
        "timestamp": "2019-09-03T12:00:48.148923",
    }
    ...
]

// With 'extended' set to true
[
    ...
    {
        "currency": "Cosmos",
        "yield": "0.09647",
        "timestamp": "2019-09-03T12:00:06.559048",
        "total_supply": 243828455907213,
        "circulating_supply": 243828455907213,
        "staked_supply": 177578277871531,
        "staking_rate": "0.728290",
        "inflation": "0.070256",
        "inflation_total": "0.070256"
    },
    {
        "currency": "Tezos",
        "yield": "0.07155",
        "timestamp": "2019-09-03T12:00:48.148923",
        "total_supply": 806071727,
        "circulating_supply": 806071727,
        "staked_supply": 567656000,
        "staking_rate": "0.704220",
        "inflation": "0.050389",
        "inflation_total": "0.050389"
    }
    ...
]

Get Currency Yield Time Series

GET https://mainnet.staked.cloud/api/yields/currency/:currency/timeseries

Get yield information for assets as a time series.

Path Parameters

Name
Type
Description

currency

string

Currency name. Ex: "Decred"

Request Headers

Name
Type
Description

X-Api-Key

string

Your API key

Query Parameters

Name
Type
Description

api_key

string

[Deprecated since March '25]

Your API key

interval

integer

Interval, in days

num_entries

string

Number of entries

date

string

Timeseries start date, default is current day. Format: YYYY-MM-DD

extended

boolean

Get more staking data in the response such as inflation, staking rate, etc

Last updated

Was this helpful?