Skip to main content
GET
/
{chain_id}
/
stats-service
/
api
/
v1
/
counters
Returns all available counter stats for the stats page.
curl --request GET \
  --url https://api.blockscout.com/{chain_id}/stats-service/api/v1/counters \
  --header 'Authorization: Bearer <token>'
{
  "counters": [
    {
      "description": "<string>",
      "id": "<string>",
      "title": "<string>",
      "units": "<string>",
      "value": "<string>"
    }
  ]
}

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

A successful response.

counters
object[]