API

Available pool space

These API call results are cached for 10 seconds, so please limit your calls to once per 10 seconds for the following API endpoints:

Stablecoins

Stablecoins are not displayed on the home page, but can still be used with the script under Notifications > Email. These API call results are cached for 60 seconds (since the script under Notifications > Email runs every minute), so please limit your calls to once per 60 seconds for the following API endpoints:

Vortex swap rates

These API call results are cached for 10 seconds, so please limit your calls to once per 10 seconds for the following API endpoints:

https://stakingpool.space/api/bancor/vortex/rate/bnt (returns how much vBNT you get for 1 BNT) https://stakingpool.space/api/bancor/vortex/rate/vbnt (returns how much BNT you get for 1 vBNT)

Vortex burn

Shows the amount of vBNT that has been burned so far.

This API call result is cached for 10 seconds, so please limit your calls to once per 10 seconds for the following API endpoint:

Defi Pulse rank

You can get the rank of any project listed on defipulse.com using this API endpoint. The format is /api/defipulse/CATEGORY/rank/NAME. The options for CATEGORY are:

  • all
  • lending
  • dexes
  • derivatives
  • payments
  • assets

If your url is incorrect (for example, looking for a project in a wrong category) you'll get a rank 0. These API call results are cached for 60 seconds, so please limit your calls to once per 60 seconds. The homepage uses the following API endpoint: