DefiLlama Market Cap
/api/v1/defillama/mcap
Description
Get historical market capitalization for given protocol parameter.
Method
GET
Source
Database
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
protocol | string | yes | Specifies the protocol name. |
Response Status Codes
Status | Description |
---|---|
200 OK | Success. Returns the protocol market capitalization. |
400 Bad Request | Missing required parameter. |
Example: Get historical market capitalization of AAVE protocol
Request
GET /api/v1/defillama/mcap?protocol=aave
Response
[
[
"Date",
"Amount"
],
[
"03/11/2024 03:01:26",
"1844788649.777316"
],
[
"03/13/2024 09:55:11",
"2193085856.049431"
],
[
"03/14/2024 00:15:11",
"2102596826.203936"
],
[
"03/15/2024 00:13:26",
"2057034708.961643"
],
[
"03/16/2024 00:39:07",
"1914168249.162882"
],
...
]