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
}
]
InkySwap API
Get Liquidity Pairs
Retrieve all available liquidity pairs sorted by liquidity
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
Array of liquidity pair objects
Show Pair Object
Show Pair Object
Liquidity pair contract address
Total liquidity value in USD
Reserve amount of token0
Reserve amount of token1
24-hour trading volume in USD
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"
⌘I