IDEX
  • Introduction to IDEX
  • What is IDEX
    • Components
      • High-performance Exchange
      • Hybrid Liquidity
        • HL Mechanics
        • IDEX HL and LPs
      • Smart Contracts
    • User Benefits
    • Liquidity Mining
    • Staking
    • Referral Program
    • Hummingbot
    • Markets
    • Fees
    • Live Help
  • Code
    • API
    • Smart Contracts
      • Custodian
      • Exchange
      • Governance
    • Resources
  • User Guides
    • Getting Started
      • Connect Your Ledger Hardware Wallet to IDEX
      • Connect Your Metamask Account to IDEX
      • Connect You Private Key/Keystore on IDEX
    • Trading
      • Deposit tokens
      • Withdraw tokens
      • Buy and sell
      • View and cancel open orders
      • View trade, deposit, and withdraw history
    • LP and Farms
      • Add liquidity (LP)
      • Remove liquidity (LP)
      • Add LP tokens to farms
      • Remove LP tokens from farms
    • Staking
      • Operate your own staking node
        • Host a public staking node
      • Delegate to an existing node
    • Polygon Confirmations
    • Hummingbot Setup
      • Pure Market Making
      • Arbitrage
    • AURA Swap Instructions
    • Withdraw Directly on Chain
      • Farm ID List
  • FAQ
    • Polygon Bridge
    • Escape Hatch
    • Adding Polygon To Metamask
    • Clock Sync
Powered by GitBook
On this page

Was this helpful?

  1. Code

API

A performant API that aligns with industry standards

The IDEX API was designed to be as familiar as possible to advanced traders and market makers. Unlike other DEXs, IDEX features low latency, high throughput, instant confirmations, advanced order types, and standardized request and response formats. By aligning the IDEX API with the de-facto industry standard, we've made it as easy as possible for traders to bring their existing bots and strategies over to the high-performance DEX.

REST and WebSocket APIs

IDEX provides both REST and WebSocket APIs. The REST API allows users to request information about the exchange, such as assets and market data, as well as cached versions of the order book and trade history. The WebSocket API provides real-time updates on all market data, including new orders and successful trades, as soon as they occur.

JavaScript SDK

Included in the API is a Javascript SDK. The SDK automatically manages the WebSocket subscription and is the recommended integration strategy for JavaScript projects. Traders can use the SDK to build a WebSocket backed real-time order book implementation, particularly helpful for translating the AMM pool updates received via the WebSocket API.

PreviousLive HelpNextSmart Contracts

Last updated 1 year ago

Was this helpful?