Alcor
  • Alcor.exchange
  • What is Alcor Exchange?
  • Home Page Overview
    • Swap
      • Swap Charts
      • Add Liquidity
      • Manage Liquidity
    • Markets
      • Market Exchange
        • Order Books
        • Graph
        • Open Orders
        • Placing Trades
    • OTC
    • NFT
    • Wallet
  • Developers API
    • Amm Swap Contract API
      • Formulas
      • Contracts
      • Examples
    • Market creation
      • Open new market
    • Contract actions
    • Contract Tables
    • API
      • Markets API
      • Account
      • WebSocket
      • Node API
    • Public Alcor Data Access
  • Alcor Swap
    • Referral / Custom Market Fee
    • Introduction
    • Swap Page
    • Locking Liquidity
    • Providing liquidity
      • How to Add Liquidity on Alcor Exchange
    • Ranges: Everything you need to know
      • How to set a Range for your Liquidity position
    • Pool Page
    • Liquidity Provider FAQ
    • Concentrated liquidity FAQ
    • AlcorSwap v2 Price Oracles
      • Alcor Price Oracle vs DelphiOracle
      • Expanding Price Availability with RAM Purchase
      • How to Use Alcor Price Oracle
  • Alcor Farms: Unlocking DeFi Opportunities
    • Creating Farm Incentives - Quick Tutorial
    • Project Farms Unique Link
    • Technical details
  • LSW- Liquid Staked WAX
    • How it works
    • Exchange rate
    • Withdrawal process
  • Adding Token Information
    • Token logo
    • USD Price
  • Swap Widget
    • Swap Chart Widget
  • Networks Features
    • WAX
      • Alcor USDT
  • Additional Docs
  • Definitions
  • FAQ
    • Does Alcor Exchange Have Fees?
    • Whats the difference between using Swap, Market Trade, and OTC?
    • What is a liquidity Pool?
  • Social Media/Contact
Powered by GitBook
On this page
  • markets
  • Market deals
  • Charts api

Was this helpful?

  1. Developers API
  2. API

Markets API

Markets status API, prices, volume.

PreviousAPINextAccount

Last updated 3 years ago

Was this helpful?

Base data for all market are available on /markets endpoint.

The api depends on the subdomain assigned to each chain. ie: wax.alcor.exchange/api/markets, telos.alcor.exchange/api/markets.

Each market has additional api for more information:

markets

GET https://wax.alcor.exchange/api/markets/:id

Get full market information

Path Parameters

Name
Type
Description

id

number

Market ID

{
  "id": 0,
  "base_token": {
    "contract": "eosio.token",
    "symbol": {
      "name": "WAX",
      "precision": 8
    },
    "str": "WAX@eosio.token"
  },
  "quote_token": {
    "contract": "prospectorsw",
    "symbol": {
      "name": "PGL",
      "precision": 4
    },
    "str": "PGL@prospectorsw"
  },
  "min_buy": "0.00000100 WAX",
  "min_sell": "0.0001 PGL",
  "frozen": 0,
  "fee": 20,
  "last_price": 0.69298836,
  "volume24": 8158.34775445,
  "volumeWeek": 83217.36892045,
  "volumeMonth": 424104.77220562,
  "change24": 6.28655828220858,
  "changeWeek": 19.27600212758915
}

Market deals

GET https://wax.alcor.exchange/api/markets/:id/deals

Get latest deals

Path Parameters

Name
Type
Description

id

number

Market ID

Query Parameters

Name
Type
Description

limit

number

Default limit is: 200

Charts api

GET https://wax.alcor.exchange/api/markets/:id/charts

Get candles charts for specific market.

Path Parameters

Name
Type
Description

id

number

Market ID

Query Parameters

Name
Type
Description

to

number

To timestamp

from

number

From timestamp

resolution

string

1/5/15/30/60/240 1D/1W/1M

https://alcor.exchange/api/marketsalcor.exchange