Airnode API Documentation
This API is for testing purposes and playing with staking data.
Home Page: https://www.stakingrewards.com
Web2 Docs: https://api-beta.stakingrewards.com/docs
Read the Airnode developer documentation to learn how to call Airnode APIs. You'll need the Provider ID to call any endpoint in this API.
Provider ID: 0xd3eaae7d0a8b62f8dc005059cea60a3914c9b860d00e7c152922b195bb4bbad7
Provider XPub: xpub661MyMwAqRbcFXHrXTqWUDjBHzYsYqe56D1XKhStwh6bohK6P5m97L9hZw94J1DTpdR24ui7YYmmKZpHdyidYEoGQNYsbR7FGouhP3ZBmcq
Reserved Parameters are used to control Airnode behavior and are available for all endpoints.
Find more information on each chain Here.
Chain | Airnode RRP Contract |
---|---|
Rinkeby | 0xF9C39ec11055508BddA0Bc2a0234aBbbC09a3DeC |
- /assets/overview/{slug}
- /assets/providers/{slug}
- /assets/reward-options/{slug}
- /list/assets
- /list/providers
The Staking Assets endpoint serves the most recent reward rates, reward changes, adjusted rewards, score, consensus types, tokens staked and total staked %. The reward changes are calculated in percent.
You'll need the Endpoint ID to call this endpoint.
Endpoint ID: 0x85ba5e034c548434047f0e890719c7efb46b98f59b36c4f13abfdc2bed896e74
slug
{
"adjReward": 1.2555555555555555,
"algorithmType": "Proof of Stake",
"averageValidatorFee": 0.1511111111111111,
"engagedBalance": 960000000.406406,
"inflation": 5.666666666666667,
"marketcap": 1500000000,
"price": 1.666666666666667,
"reward": 7.666666666666667,
"reward24hChange": 0.6888888888888889,
"reward30dChange": -1.7111111111111112,
"score": 85.46666666666668,
"stakedValue": 1600000000.6767676,
"totalStaked": 79.37373737373737,
"volume24h": 92000000
}
The Staking Providers endpoint serves a list of all staking providers for an asset with their commission and reward rates for staking, hosting and lending services. Verified Staking Providers serve the most accurate data. All reward rates are already deducted by the individual fee.
You'll need the Endpoint ID to call this endpoint.
Endpoint ID: 0x9b98b312b16191125fc86f9115806aa7fc1383a37834f4d0ba20e151fb27c1b6
slug
{
"name": "Name",
"providers": [
{
"hosting": [
{
"address": "0x123",
"fee": 20.5,
"feeType": "per month"
}
],
"isVerified": true,
"lending": [
{
"address": "0x123",
"custodial": true,
"reward": 12.46666666666668
}
],
"name": "Provider",
"staking": [
{
"address": "0x123",
"balance": 5778663.788888889,
"custodial": true,
"fee": 5.5,
"proportion": 2.466666666666668,
"reward": 12.46666666666668,
"status": "active",
"users": 125
}
],
"website": "https://provider.com"
}
],
"slug": "name",
"symbol": "NA"
}
The Reward Options endpoint serves all reward options for an asset including reward rates, compoundes reward rates, adjusted reward rates, lock-up times, staking requirements and default reward frequency. If the default provider fee is given, the reward is already deducted by that.
You'll need the Endpoint ID to call this endpoint.
Endpoint ID: 0x9c5bcd4952b9491fe8966f033299b0281c25d47d26219a621081977ee1ce7d17
slug
{
"name": "Name",
"rewardOptions": [
{
"adjReward": 1.2555555555555555,
"compoundedAdjReward": 1.7555555555555555,
"compoundedReward": 15.46666666666668,
"defaultProviderFee": 0.1,
"frequency": 150003.07207207207,
"lockUpTime": 86400,
"name": "Name",
"recommendedMinimum": 1000,
"requiredMinimum": 1000,
"reward": 12.46666666666668
}
],
"slug": "name",
"symbol": "NA"
}
The Assets endpoint serves a list of all assets listed on Staking Rewards.
You'll need the Endpoint ID to call this endpoint.
Endpoint ID: 0x8ba90e0f3310145497f7a4a89384295b8aecda43b0dd1755b7b5bb72d43abb85
None
[
{
"name": "Name",
"slug": "name",
"symbol": "NA"
}
]
The Providers endpoint serves a list of all providers listed on Staking Rewards.
You'll need the Endpoint ID to call this endpoint.
Endpoint ID: 0x0eb6e8bf9e6c01756b5f40f2347fb8cc7d01be2e91c8a9b328ec5c51fefe23a8
None
[
{
"name": "Name",
"slug": "name"
}
]