Skip to main content

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.

Tokens

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

Content type
application/json
{
  • "data": [
    ],
  • "meta": {
    }
}

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

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": {
    }
}

Prices

Get hourly prices for a token

Retrieve prices over the last 24 hours for a token

path Parameters
contractAddress
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get hourly prices for multiple tokens

Retrieve prices over the last 24 hours for multiple tokens

query Parameters
addresses
required
string

Comma-separated list of tokens addresses (comma-separated)

Responses