Skip to main content
GET
/
{chain_id}
/
api
/
v2
/
stats
/
charts
/
market
Get daily closing price and market cap for native coin
curl --request GET \
  --url https://api.blockscout.com/{chain_id}/api/v2/stats/charts/market \
  --header 'Authorization: Bearer <token>'
{
  "available_supply": "<string>",
  "chart_data": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Path Parameters

chain_id
string
required

The ID of the blockchain

Response

Time series data for market charts and available token supply.

available_supply
Pattern: ^([1-9][0-9]*|0)(\.[0-9]+)?$
chart_data
object[]