Linea Token API (0.1.0)
Download OpenAPI specification:Download
API to access token information on Linea, including prices, most traded tokens, top gainers/losers over 24h and bonded tokens. Each endpoint can optionally include price data.
Get tokens
Retrieve a list of tokens based on the provided query parameters
query Parameters
page | number >= 1 Default: 1 Page number |
limit | number [ 1 .. 100 ] Default: 50 Number of items per page |
isBonded | boolean Filter tokens that have been bonded |
isMostSwapped | boolean Filter tokens that have been most swapped |
new | boolean Filter tokens that have been newly added |
addresses | string Comma-separated list of tokens addresses (comma-separated) |
order | string (OrderColumns) Enum: "name" "symbol" "decimals" "contractAddress" "currentPrice" "priceUpdatedAt" "createdAt" "updatedAt" "last24hVariation" "sells" "buys" "bondedAt" Order by column |
sort | string Enum: "asc" "desc" Order sort (asc, desc) |
Responses
Response samples
- 200
Content type
application/json
{- "data": [
- {
- "name": "Token name",
- "symbol": "Token symbol",
- "decimals": 18,
- "contractAddress": "0x1111111111111111111111111111111111111111",
- "currentPrice": 1000,
- "priceUpdatedAt": "2025-01-23T09:49:09.932Z",
- "last24hVariation": 0,
- "info": {
- "sells": 1000,
- "buys": 2000,
- "bondedAt": "2025-01-23T09:49:09.932Z"
}
}
], - "meta": {
- "page": 0,
- "limit": 0,
- "totalItemsCount": 0,
- "pagesCount": 0
}
}
Get token by contract address
Retrieve detailed information about a specific token using its contract address
path Parameters
contractAddress required | string Example: 0x1234567890123456789012345678901234567890 The Ethereum contract address of the token |
Responses
Response samples
- 200
Content type
application/json
{- "name": "Token name",
- "symbol": "Token symbol",
- "decimals": 18,
- "contractAddress": "0x1111111111111111111111111111111111111111",
- "currentPrice": 1000,
- "priceUpdatedAt": "2025-01-23T09:49:09.932Z",
- "last24hVariation": 0,
- "info": {
- "sells": 1000,
- "buys": 2000,
- "bondedAt": "2025-01-23T09:49:09.932Z"
}
}