AlcorDocs

API Reference

Alcor's public read-only API: tokens, prices, AMM pools, positions, order book markets, charts, analytics and live events on every chain, from one host.

The Alcor API serves the data of the AMM and the order books on every chain Alcor runs: tokens and their USD prices, pools with their live state, liquidity positions, markets, candles, analytics, farms, staking, OTC and account history, plus a stream of live events. It is read-only and needs no key. Swapping and placing orders are blockchain transactions, signed by the user and sent to a node (see Swap route and Trade API).

Base URL

One host for every chain. The chain is the first segment of the path:

https://api.alcor.exchange/<chain>/...
Chain<chain>Example
WAXwaxhttps://api.alcor.exchange/wax/pools
Vaulta (EOS)eoshttps://api.alcor.exchange/eos/pools
Telosteloshttps://api.alcor.exchange/telos/pools
XPR Networkxprhttps://api.alcor.exchange/xpr/pools

GET https://api.alcor.exchange/chains lists the chains. XPR is xpr here, not proton as in the legacy API.

curl https://api.alcor.exchange/wax/tokens/tlm-alien.worlds/price
{
  "chain": "wax",
  "tokenId": "tlm-alien.worlds",
  "price_usd": 0.000938,
  "source": "derived",
  "via_pool": 0,
  "updated_at": "2026-11-23T15:36:53.677Z"
}

Conventions

  • Token id: <symbol>-<contract> with the symbol in lower case, e.g. tlm-alien.worlds. Any contract can issue any symbol, so the contract is part of the id.
  • Amounts: fields named *_raw or *_amount are integers in the token's smallest units, as strings: divide by 10^decimals. Amounts in a position's state are the exception: they are already decimal.
  • Big integers: int64 values (block numbers, counters) are strings.
  • Time: responses carry ISO 8601 UTC strings. The from, to and before query parameters take unix milliseconds.
  • Paging: lists take limit with page, offset or a cursor (before, cursor), as each endpoint states.
  • Errors: {"error": "<message>"} in JSON. HTTP 400 for an invalid parameter, with the details in issues; HTTP 404 when the thing does not exist.
  • Rate limits: requests are limited per IP address; over the limit the API answers HTTP 429. For a higher limit for a bot or an integration, write to the Alcor Telegram.

What it covers

AreaEndpoints
Tokens/<chain>/tokens, tokens/<id>, tokens/<id>/price, tokens/<id>/holders, tokens/<id>/logo
AMM pools/<chain>/pools, pools/<id>, pools/<id>/stats, pools/<id>/trades, pools/<id>/positions, pools/<id>/liquidity, pools/<id>/activity
Positions/<chain>/positions/<id>, positions/<id>/events
Accounts/<chain>/accounts/<account>/positions, activity, balances, transfers, farms, staking/events, staking/withdraws
Order book markets/<chain>/markets, markets/<id>
Candles/<chain>/charts/amm/<poolId>, charts/pair?base=&quote=, charts/orderbook/<marketId>
Analytics/<chain>/analytics/overview, charts, tokens, pools, markets, lp-leaderboard
Farms/<chain>/farms, farms/<id>, farms/<id>/events
Staking (liquid.alcor)/<chain>/staking/system, staking/withdraws
OTC/<chain>/otc/orders, otc/orders/<id>, otc/history, otc/tokens
Meme terminal/<chain>/launchpad/tokens, launchpad/token/<id>/summary, trades, holders
Search/<chain>/search?q=
Live events/<chain>/events?channels=

Parameters and response fields of each are in the reference.

Live events

GET /<chain>/events?channels=<channel>,<channel> is a stream of Server-Sent Events: one connection, any number of channels. A browser reads it with EventSource; no client library is needed.

ChannelEvents
pool:<poolId>Swaps, position and farm actions on the pool, its new state
pools:allpool.updated of every pool, at most once per pool per block
account:<name>The account's swaps, transfers, balance changes, position, farm and staking actions
token:<tokenId>Transfers, balance changes and USD price changes of the token
tokens:alltokens.prices: the prices that changed in each pricing pass
position:<positionId>Actions on the position
incentive:<incentiveId>Farm actions on the incentive
book:<marketId>Fills on the order book market and the price levels that changed
launchpad:allThe meme terminal's cards that changed
staking:allEvery liquid.alcor staking action
const events = new EventSource('https://api.alcor.exchange/wax/events?channels=pool:1252,tokens:all')

events.addEventListener('swap', e => console.log('swap', JSON.parse(e.data)))
events.addEventListener('tokens.prices', e => console.log('prices', JSON.parse(e.data).prices))

Each message is event: <type> and data: <JSON>; the schema of every event type is under components in the reference.

Other services

These run beside the API on their own and are current:

ServicePage
Best route for a swap, ready to signSwap route
Prices, depth, pools and order books for bots, every blockMarket API
The book.alcor order bookOrder book
Free CPU for Alcor transactions on WAXCPU Payer
The Alcor bridgeBridge
Placing and cancelling spot ordersTrade API, On-chain Data

Legacy API

The old API on each chain's host (https://wax.alcor.exchange/api/..., versions v1, v2 and v3) is deprecated. It still answers, but gets no new features and will be switched off. Legacy API lists what replaces each old endpoint.

Contracts

Writing to Alcor means calling its contracts through any node API, with a library such as Wharf or eosjs.

ChainSpot DEXAMM
WAXalcordexmainswap.alcor
EOSeostokensdexswap.alcor
Teloseostokensdexswap.alcor
XPR Networkalcorswap.alcor

Contract actions and tables are described in Developers.

On this page