curl -X GET "https://<your-api-host>/metrics/byProtocol/awesome-dex"
[
  {
    "id": "awesome-dex___TVL",
    "value": 12345678.9,
    "unit": "USD",
    "change1h": 0.4,
    "change24h": 3.1,
    "timestamp": "2025-08-05T17:00:00Z"
  },
  {
    "id": "awesome-dex___USERS_MOM",
    "value": 5.2,
    "unit": "%",
    "change1h": 0,
    "change24h": 0.8,
    "timestamp": "2025-08-05T17:00:00Z"
  }
]
protocolId
string
required
Protocol identifier (slug) to fetch metrics for.
Authorization
string
Optional for public protocols; required for private protocols.
curl -X GET "https://<your-api-host>/metrics/byProtocol/awesome-dex"
[
  {
    "id": "awesome-dex___TVL",
    "value": 12345678.9,
    "unit": "USD",
    "change1h": 0.4,
    "change24h": 3.1,
    "timestamp": "2025-08-05T17:00:00Z"
  },
  {
    "id": "awesome-dex___USERS_MOM",
    "value": 5.2,
    "unit": "%",
    "change1h": 0,
    "change24h": 0.8,
    "timestamp": "2025-08-05T17:00:00Z"
  }
]
Include the same API key used to create the protocol if it is private.