curl -X GET "https://inkyswap.com/api/pairs"
const response = await fetch('https://inkyswap.com/api/pairs');
const pairs = await response.json();
import requests
response = requests.get("https://inkyswap.com/api/pairs")
pairs = response.json()
[
{
"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
}
]
InkySwap API
Get Liquidity Pairs
Retrieve all available liquidity pairs sorted by liquidity
GET
/
api
/
pairs
curl -X GET "https://inkyswap.com/api/pairs"
const response = await fetch('https://inkyswap.com/api/pairs');
const pairs = await response.json();
import requests
response = requests.get("https://inkyswap.com/api/pairs")
pairs = response.json()
[
{
"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
array
Array of liquidity pair objects
Show Pair Object
Show Pair Object
string
Liquidity pair contract address
object
object
number
Total liquidity value in USD
string
Reserve amount of token0
string
Reserve amount of token1
number
24-hour trading volume in USD
number
Trading fee percentage (e.g., 0.003 for 0.3%)
[
{
"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"
const response = await fetch('https://inkyswap.com/api/pairs');
const pairs = await response.json();
import requests
response = requests.get("https://inkyswap.com/api/pairs")
pairs = response.json()
⌘I