GET
/
rankings
/
latest
Asset Rankings Latest
curl --request GET \
  --url https://api.amberdata.com/market/rankings/latest \
  --header 'x-api-key: <api-key>'
{
  "description": "Successful request",
  "payload": {
    "data": [
      {
        "blockchain": {
          "blockchainId": "408fa195a34b533de9ad9889f076045e",
          "icon": "https://raw.githubusercontent.com/amberdata/blockchains/master/images/408fa195a34b533de9ad9889f076045e.png",
          "name": "Bitcoin",
          "slug": "bitcoin",
          "symbol": "BTC"
        },
        "changeInPriceDaily": "3.66796",
        "changeInPriceHourly": "0.361801",
        "changeInPriceWeekly": "10.2701",
        "currentPrice": "6398.45745521",
        "decimals": null,
        "marketCap": "113209904073.75656",
        "name": "Bitcoin",
        "rank": "3",
        "specifications": [],
        "symbol": "BTC",
        "tokenVelocity": null,
        "tradeVolume": "19404167524.101",
        "transactionVolume": null,
        "uniqueAddresses": null
      }
    ],
    "metadata": {
      "totalRecords": "2143"
    }
  },
  "status": 200,
  "title": "OK"
}

Authorizations

x-api-key
string
header
required

Query Parameters

direction
string

The sort order in which assets are ranked ascending or descending.

sortType
string

The metric used to rank the assets. Options: changeInPrice, currentPrice, liquidMarketCap, marketCap, tokenVelocity, tradeVolume, transactionVolume, uniqueAddresses

type
string

The type(s) of assets to include in the rankings: erc20|, erc721, erc777, erc884, erc998. Note: leaving this parameter empty means all tokens will be included.

page
integer
default:0

The page number to return.

size
integer
default:100

The number of records per page. (max 1000)

allowedAssets
boolean
default:true

[Optional] Occasionally small marketcap assets will rise to the top of the rankings due to price volatility on dexes. Set this to true to exclude outliers and only return the top 200 curated assets.

curatedAssets
boolean
default:false

[Optional] Exclude Low marketcap assets from returning. Occasionally, low marketcap assets return in the rankings due to price volatility on DEXes. Change to TRUE to include a curated list of assets.

Response

200
application/json

200

The response is of type any.