Skip to main content

GET /api/tokens/l2

L2 native tokens

Layer 2 network stats and TVL

Endpoint​

GET https://api.web3identity.com/api/tokens/l2

Example Request​

curl -s "https://api.web3identity.com/api/tokens/l2" | jq

Responses​

200 Success​

{
"tokens": [
{
"symbol": "ARB",
"name": "Arbitrum",
"price": 1.23,
"marketCap": 1234567890.12,
"chain": "Arbitrum"
},
{
"symbol": "OP",
"name": "Optimism",
"price": 2.34,
"marketCap": 2345678901.23,
"chain": "Optimism"
},
{
"symbol": "MATIC",
"name": "Polygon",
"price": 0.89,
"marketCap": 8901234567.89,
"chain": "Polygon"
}
]
}

400 Bad request - invalid parameters​

{
"example": "response"
}

402 Payment required​

404 Resource not found​

{
"example": "response"
}

429 Rate Limited​

{
"example": "response"
}

500 Internal Server Error - Something went wrong on our end​

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}

Auto-generated from OpenAPI spec