API Documentation

Available REST API endpoints for Apexiswap. Click to copy the full URL with example parameters.

For Trading Bots & Integrations

Apexiswap provides REST APIs with real-time data from our database. Use these endpoints for:

  • Trading bot integrations
  • Price feeds and market data
  • Transaction history and analytics
  • Liquidity pool information

Base URL: https://www.apexiswap.com

Trading Bot API - Complete Pair Data

🤖 Primary endpoint for trading bots. Returns complete data: pair info (id, tokens, reserves), pairHourData (25h historical data with reserves/prices), liquidity metrics (TVL, volume, prices), and recent swaps. Query by pair or token address.

Endpoint
/api/apexis
Parameters
pairPair contract address (use pair OR token)default: 0xd6b49c447eb87f3e73b5e38c35babc73cceae8b1
tokenToken contract address (use pair OR token)default: 0xC856c3627BA9461087C4E89a058f737d5c0a545D
firstNumber of recent swaps to return (default: 10)default: 10
Example URL

Transactions

Get swap transactions. Filters are applied in order of precedence: wallet first, then token, otherwise the most recent swaps. With no filter at all it returns recent swaps across every pair.

Endpoint
/api/transactions
Parameters
pairPair contract address. Narrows a wallet query, or selects the pair when used alonedefault: 0xd6b49c447eb87f3e73b5e38c35babc73cceae8b1
walletWallet address — takes precedence over token
tokenToken address: returns swaps from every pair containing it, across all DEXes
limitNumber of transactions to returndefault: 50
Example URL

Liquidity

Get liquidity data for a pair

Endpoint
/api/liquidity
Parameters
pairrequiredPair contract addressdefault: 0xd6b49c447eb87f3e73b5e38c35babc73cceae8b1
Example URL

Chart Data

Get OHLCV candle data for trading chart

Endpoint
/api/chart
Parameters
pairrequiredPair contract addressdefault: 0xd6b49c447eb87f3e73b5e38c35babc73cceae8b1
intervalCandle interval: 1m, 5m, 15m, 1h, 4h, 1d, 1w, 1mo, 6mo, 1y (invalid values fall back to 5m)default: 5m
limitMaximum number of candles to returndefault: 200
Example URL

Profile

Get user profile data

Endpoint
/api/profile
Parameters
walletrequiredWallet address
Example URL

Profile Stats

Get user trading statistics

Endpoint
/api/profile/stats
Parameters
walletrequiredWallet address
Example URL