POST
/
api
/
v1
/
developer
/
prices
/
latest
curl --request POST \
  --url https://api.allium.so/api/v1/developer/prices/latest \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '[
  {
    "chain": "string",
    "token_address": "string"
  }
]'
{
  "items": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "chain": "<string>",
      "mint": "<string>",
      "decimals": 123,
      "price": 123,
      "open": 123,
      "high": 123,
      "close": 123,
      "low": 123,
      "volume": 123,
      "trade_count": 123
    }
  ],
  "cursor": "<string>"
}

This endpoint returns the latest price and OHLCV values for a list of Solana tokens. Prices and OHLCV values are aggregated from trades in the most recent completed minute interval. If no trades occurred in the last minute, the endpoint returns the most recent available data.

For inactive tokens, the last known price is derived from the most recent on-chain trade. If no trade has occurred within the past 7 days, the endpoint will return no data for that token.

Supported Chains

  • Arbitrum
  • Base
  • Ehtereum
  • Optimism
  • Solana

Supported Protocols

  • AMM & Liquidity Pool DEXs: Orca, Raydium, Saber, Lifinity, Mercurial, Cropper, Fluxbeam, Crema, Invariant, GooseFX, Meteora
  • Order Book DEXs: OpenBook, Phoenix
  • Aggregators & Trading Focused DEXs: Jupiter, Marinade, Symmetry, Pumpfun
Performance MetricsValue
Query Latencyp50 500ms
PaginationUp to 50 tokens per request
Metadata SupportToken decimals, token symbol
Data Freshnessp50 4s

Authorizations

X-API-KEY
string
header
required

Body

application/json · object[]
token_address
string
required
chain
string
required

Response

200
application/json
Successful Response
items
object[]
required
cursor
string | null