GET
/
api
/
pairs
curl -X GET "https://inkyswap.com/api/pairs"
[
  {
    "address": "0x1234567890abcdef1234567890abcdef12345678",
    "token0": {
      "address": "0x0000000000000000000000000000000000000000",
      "symbol": "ETH",
      "name": "Ethereum",
      "decimals": 18
    },
    "token1": {
      "address": "0xabcdef1234567890abcdef1234567890abcdef12",
      "symbol": "USDC",
      "name": "USD Coin",
      "decimals": 6
    },
    "liquidity_usd": 5000000,
    "reserve0": "1250000000000000000000",
    "reserve1": "2500000000000",
    "volume_24h": 125000,
    "fee_tier": 0.003
  }
]

Description

Returns all liquidity pairs available on InkySwap, sorted by total liquidity in USD descending. This endpoint automatically converts WETH addresses to native ETH representation for easier integration.

Response

pairs
array
Array of liquidity pair objects
[
  {
    "address": "0x1234567890abcdef1234567890abcdef12345678",
    "token0": {
      "address": "0x0000000000000000000000000000000000000000",
      "symbol": "ETH",
      "name": "Ethereum",
      "decimals": 18
    },
    "token1": {
      "address": "0xabcdef1234567890abcdef1234567890abcdef12",
      "symbol": "USDC",
      "name": "USD Coin",
      "decimals": 6
    },
    "liquidity_usd": 5000000,
    "reserve0": "1250000000000000000000",
    "reserve1": "2500000000000",
    "volume_24h": 125000,
    "fee_tier": 0.003
  }
]
curl -X GET "https://inkyswap.com/api/pairs"