Get blockchain pairs
curl --request GET \
--url https://demo-api.mobula.io/api/1/market/blockchain/pairsimport requests
url = "https://demo-api.mobula.io/api/1/market/blockchain/pairs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://demo-api.mobula.io/api/1/market/blockchain/pairs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://demo-api.mobula.io/api/1/market/blockchain/pairs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://demo-api.mobula.io/api/1/market/blockchain/pairs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://demo-api.mobula.io/api/1/market/blockchain/pairs")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo-api.mobula.io/api/1/market/blockchain/pairs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"price": 123,
"price_change_5min": 123,
"price_change_1h": 123,
"price_change_4h": 123,
"price_change_6h": 123,
"price_change_12h": 123,
"price_change_24h": 123,
"last_trade": "<string>",
"created_at": "<string>",
"holders_count": 123,
"volume_1min": 123,
"volume_5min": 123,
"volume_15min": 123,
"volume_1h": 123,
"volume_4h": 123,
"volume_6h": 123,
"volume_12h": 123,
"volume_24h": 123,
"trades_1min": 123,
"trades_5min": 123,
"trades_15min": 123,
"trades_1h": 123,
"trades_4h": 123,
"trades_6h": 123,
"trades_12h": 123,
"trades_24h": 123,
"liquidity": 123,
"pair": {
"token0": {
"address": "<string>",
"chainId": "<string>",
"symbol": "<string>",
"name": "<string>",
"priceTokenString": "<string>",
"approximateReserveTokenRaw": "<string>",
"logo": "<string>",
"bonded_at": "<string>",
"decimals": 0,
"id": null,
"price": 0,
"priceToken": 0,
"approximateReserveUSD": 0,
"approximateReserveToken": 0,
"totalSupply": 0,
"circulatingSupply": 0,
"marketCap": 0,
"marketCapDiluted": 0,
"exchange": {
"name": "<string>",
"logo": "<string>"
},
"factory": "<string>",
"source": "<string>",
"sourceFactory": "<string>",
"liquidity": 123,
"liquidityMax": 123,
"bonded": true,
"bondingPercentage": 123,
"migrating": true,
"bondingCurveAddress": "<string>",
"preBondingFactory": "<string>",
"poolAddress": "<string>",
"blockchain": "<string>",
"type": "<string>",
"is_mayhem_mode": null,
"is_cashback_coin": null,
"is_agent_mode": null,
"is_og_coin": null,
"deployer": "<string>",
"createdAt": "<string>",
"ath": 123,
"atl": 123,
"athDate": "<string>",
"atlDate": "<string>",
"description": "<string>",
"twitter": "<string>",
"telegram": "<string>",
"website": "<string>",
"others": {},
"socials": {
"twitter": "<string>",
"website": "<string>",
"telegram": "<string>",
"others": {},
"uri": "<string>"
},
"holdersCount": 123,
"top10HoldingsPercentage": 123,
"top50HoldingsPercentage": 123,
"top100HoldingsPercentage": 123,
"top200HoldingsPercentage": 123,
"devHoldingsPercentage": 123,
"insidersHoldingsPercentage": 123,
"bundlersHoldingsPercentage": 123,
"snipersHoldingsPercentage": 123,
"proTradersHoldingsPercentage": 123,
"freshTradersHoldingsPercentage": 123,
"smartTradersHoldingsPercentage": 123,
"insidersCount": 123,
"bundlersCount": 123,
"snipersCount": 123,
"freshTradersCount": 123,
"proTradersCount": 123,
"smartTradersCount": 123,
"freshTradersBuys": 123,
"proTradersBuys": 123,
"smartTradersBuys": 123
},
"token1": {
"address": "<string>",
"chainId": "<string>",
"symbol": "<string>",
"name": "<string>",
"priceTokenString": "<string>",
"approximateReserveTokenRaw": "<string>",
"logo": "<string>",
"bonded_at": "<string>",
"decimals": 0,
"id": null,
"price": 0,
"priceToken": 0,
"approximateReserveUSD": 0,
"approximateReserveToken": 0,
"totalSupply": 0,
"circulatingSupply": 0,
"marketCap": 0,
"marketCapDiluted": 0,
"exchange": {
"name": "<string>",
"logo": "<string>"
},
"factory": "<string>",
"source": "<string>",
"sourceFactory": "<string>",
"liquidity": 123,
"liquidityMax": 123,
"bonded": true,
"bondingPercentage": 123,
"migrating": true,
"bondingCurveAddress": "<string>",
"preBondingFactory": "<string>",
"poolAddress": "<string>",
"blockchain": "<string>",
"type": "<string>",
"is_mayhem_mode": null,
"is_cashback_coin": null,
"is_agent_mode": null,
"is_og_coin": null,
"deployer": "<string>",
"createdAt": "<string>",
"ath": 123,
"atl": 123,
"athDate": "<string>",
"atlDate": "<string>",
"description": "<string>",
"twitter": "<string>",
"telegram": "<string>",
"website": "<string>",
"others": {},
"socials": {
"twitter": "<string>",
"website": "<string>",
"telegram": "<string>",
"others": {},
"uri": "<string>"
},
"holdersCount": 123,
"top10HoldingsPercentage": 123,
"top50HoldingsPercentage": 123,
"top100HoldingsPercentage": 123,
"top200HoldingsPercentage": 123,
"devHoldingsPercentage": 123,
"insidersHoldingsPercentage": 123,
"bundlersHoldingsPercentage": 123,
"snipersHoldingsPercentage": 123,
"proTradersHoldingsPercentage": 123,
"freshTradersHoldingsPercentage": 123,
"smartTradersHoldingsPercentage": 123,
"insidersCount": 123,
"bundlersCount": 123,
"snipersCount": 123,
"freshTradersCount": 123,
"proTradersCount": 123,
"smartTradersCount": 123,
"freshTradersBuys": 123,
"proTradersBuys": 123,
"smartTradersBuys": 123
},
"blockchain": "<string>",
"address": "<string>",
"createdAt": "<string>",
"type": "<string>",
"baseToken": "<string>",
"exchange": {
"name": "<string>",
"logo": "<string>"
},
"factory": "<string>",
"quoteToken": "<string>",
"bondingPercentage": 123,
"bondingCurveAddress": "<string>",
"volume24h": 0,
"liquidity": 0,
"price": 123,
"priceToken": 123,
"priceTokenString": "<string>",
"athToken0": 0,
"athToken1": 0,
"atlToken0": 0,
"atlToken1": 0,
"athDateToken0": "<string>",
"athDateToken1": "<string>",
"atlDateToken0": "<string>",
"atlDateToken1": "<string>",
"bonded": true,
"sourceFactory": "<string>",
"totalFeesPaidUSD": 123,
"totalFeesPaidNativeRaw": 0,
"extraData": {}
},
"source": "<string>",
"deployer": "<string>"
}
],
"factories": {}
}Get Blockchain Pairs
GET
/
1
/
market
/
blockchain
/
pairs
Get blockchain pairs
curl --request GET \
--url https://demo-api.mobula.io/api/1/market/blockchain/pairsimport requests
url = "https://demo-api.mobula.io/api/1/market/blockchain/pairs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://demo-api.mobula.io/api/1/market/blockchain/pairs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://demo-api.mobula.io/api/1/market/blockchain/pairs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://demo-api.mobula.io/api/1/market/blockchain/pairs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://demo-api.mobula.io/api/1/market/blockchain/pairs")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo-api.mobula.io/api/1/market/blockchain/pairs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"price": 123,
"price_change_5min": 123,
"price_change_1h": 123,
"price_change_4h": 123,
"price_change_6h": 123,
"price_change_12h": 123,
"price_change_24h": 123,
"last_trade": "<string>",
"created_at": "<string>",
"holders_count": 123,
"volume_1min": 123,
"volume_5min": 123,
"volume_15min": 123,
"volume_1h": 123,
"volume_4h": 123,
"volume_6h": 123,
"volume_12h": 123,
"volume_24h": 123,
"trades_1min": 123,
"trades_5min": 123,
"trades_15min": 123,
"trades_1h": 123,
"trades_4h": 123,
"trades_6h": 123,
"trades_12h": 123,
"trades_24h": 123,
"liquidity": 123,
"pair": {
"token0": {
"address": "<string>",
"chainId": "<string>",
"symbol": "<string>",
"name": "<string>",
"priceTokenString": "<string>",
"approximateReserveTokenRaw": "<string>",
"logo": "<string>",
"bonded_at": "<string>",
"decimals": 0,
"id": null,
"price": 0,
"priceToken": 0,
"approximateReserveUSD": 0,
"approximateReserveToken": 0,
"totalSupply": 0,
"circulatingSupply": 0,
"marketCap": 0,
"marketCapDiluted": 0,
"exchange": {
"name": "<string>",
"logo": "<string>"
},
"factory": "<string>",
"source": "<string>",
"sourceFactory": "<string>",
"liquidity": 123,
"liquidityMax": 123,
"bonded": true,
"bondingPercentage": 123,
"migrating": true,
"bondingCurveAddress": "<string>",
"preBondingFactory": "<string>",
"poolAddress": "<string>",
"blockchain": "<string>",
"type": "<string>",
"is_mayhem_mode": null,
"is_cashback_coin": null,
"is_agent_mode": null,
"is_og_coin": null,
"deployer": "<string>",
"createdAt": "<string>",
"ath": 123,
"atl": 123,
"athDate": "<string>",
"atlDate": "<string>",
"description": "<string>",
"twitter": "<string>",
"telegram": "<string>",
"website": "<string>",
"others": {},
"socials": {
"twitter": "<string>",
"website": "<string>",
"telegram": "<string>",
"others": {},
"uri": "<string>"
},
"holdersCount": 123,
"top10HoldingsPercentage": 123,
"top50HoldingsPercentage": 123,
"top100HoldingsPercentage": 123,
"top200HoldingsPercentage": 123,
"devHoldingsPercentage": 123,
"insidersHoldingsPercentage": 123,
"bundlersHoldingsPercentage": 123,
"snipersHoldingsPercentage": 123,
"proTradersHoldingsPercentage": 123,
"freshTradersHoldingsPercentage": 123,
"smartTradersHoldingsPercentage": 123,
"insidersCount": 123,
"bundlersCount": 123,
"snipersCount": 123,
"freshTradersCount": 123,
"proTradersCount": 123,
"smartTradersCount": 123,
"freshTradersBuys": 123,
"proTradersBuys": 123,
"smartTradersBuys": 123
},
"token1": {
"address": "<string>",
"chainId": "<string>",
"symbol": "<string>",
"name": "<string>",
"priceTokenString": "<string>",
"approximateReserveTokenRaw": "<string>",
"logo": "<string>",
"bonded_at": "<string>",
"decimals": 0,
"id": null,
"price": 0,
"priceToken": 0,
"approximateReserveUSD": 0,
"approximateReserveToken": 0,
"totalSupply": 0,
"circulatingSupply": 0,
"marketCap": 0,
"marketCapDiluted": 0,
"exchange": {
"name": "<string>",
"logo": "<string>"
},
"factory": "<string>",
"source": "<string>",
"sourceFactory": "<string>",
"liquidity": 123,
"liquidityMax": 123,
"bonded": true,
"bondingPercentage": 123,
"migrating": true,
"bondingCurveAddress": "<string>",
"preBondingFactory": "<string>",
"poolAddress": "<string>",
"blockchain": "<string>",
"type": "<string>",
"is_mayhem_mode": null,
"is_cashback_coin": null,
"is_agent_mode": null,
"is_og_coin": null,
"deployer": "<string>",
"createdAt": "<string>",
"ath": 123,
"atl": 123,
"athDate": "<string>",
"atlDate": "<string>",
"description": "<string>",
"twitter": "<string>",
"telegram": "<string>",
"website": "<string>",
"others": {},
"socials": {
"twitter": "<string>",
"website": "<string>",
"telegram": "<string>",
"others": {},
"uri": "<string>"
},
"holdersCount": 123,
"top10HoldingsPercentage": 123,
"top50HoldingsPercentage": 123,
"top100HoldingsPercentage": 123,
"top200HoldingsPercentage": 123,
"devHoldingsPercentage": 123,
"insidersHoldingsPercentage": 123,
"bundlersHoldingsPercentage": 123,
"snipersHoldingsPercentage": 123,
"proTradersHoldingsPercentage": 123,
"freshTradersHoldingsPercentage": 123,
"smartTradersHoldingsPercentage": 123,
"insidersCount": 123,
"bundlersCount": 123,
"snipersCount": 123,
"freshTradersCount": 123,
"proTradersCount": 123,
"smartTradersCount": 123,
"freshTradersBuys": 123,
"proTradersBuys": 123,
"smartTradersBuys": 123
},
"blockchain": "<string>",
"address": "<string>",
"createdAt": "<string>",
"type": "<string>",
"baseToken": "<string>",
"exchange": {
"name": "<string>",
"logo": "<string>"
},
"factory": "<string>",
"quoteToken": "<string>",
"bondingPercentage": 123,
"bondingCurveAddress": "<string>",
"volume24h": 0,
"liquidity": 0,
"price": 123,
"priceToken": 123,
"priceTokenString": "<string>",
"athToken0": 0,
"athToken1": 0,
"atlToken0": 0,
"atlToken1": 0,
"athDateToken0": "<string>",
"athDateToken1": "<string>",
"atlDateToken0": "<string>",
"atlDateToken1": "<string>",
"bonded": true,
"sourceFactory": "<string>",
"totalFeesPaidUSD": 123,
"totalFeesPaidNativeRaw": 0,
"extraData": {}
},
"source": "<string>",
"deployer": "<string>"
}
],
"factories": {}
}Deprecated EndpointThis endpoint is deprecated. Please use the new v2 endpoint instead:
- /api/2/token/markets — Retrieve all markets/pairs for a token with detailed trading activity, volume, and holdings data
Query details:
This endpoint returns all trading pairs on a specified blockchain, providing detailed market data and metrics for each pair. Use it to explore the full set of pairs available on a blockchain regardless of any specific token.- The response data is enriched with detailed pulse metrics, including price history, trade volume, liquidity, holder counts, and pool types.
- Filter parameters support range filtering using the format:
field:minValue:maxValueeg: market_cap:100000:1000000filters pairs with market caps between 100,000 and 1,000,000.
Possible filters & sort fields:
| Field | Type | Description |
|---|---|---|
| latest_trade_date | timestamp(6) | Timestamp of the most recent trade |
| latest_price | double precision | Current price of the asset |
| price_5min_ago | double precision | Price of the asset 5 minutes ago |
| price_1h_ago | double precision | Price of the asset 1 hour ago |
| price_4h_ago | double precision | Price of the asset 4 hours ago |
| price_24h_ago | double precision | Price of the asset 24 hours ago |
| price_change_5min | double precision | Price change in the last 5 minutes |
| price_change_1h | double precision | Price change in the last hour |
| price_change_4h | double precision | Price change in the last 4 hours |
| price_change_24h | double precision | Price change in the last 24 hours |
| holders_count | double precision | Number of token holders |
| latest_market_cap | double precision | Current market capitalization |
| price_1min_ago | double precision | Price of the asset 1 minute ago |
| price_change_1min | double precision | Price change in the last minute |
| trades_1min | double precision | Number of trades in the last minute |
| trades_5min | double precision | Number of trades in the last 5 minutes |
| volume_1min | double precision | Trading volume in the last minute |
| volume_5min | double precision | Trading volume in the last 5 minutes |
| created_at | timestamp(6) | Creation timestamp of the record |
| market_cap | double precision | Market capitalization |
| type | text | Type of the pool (uniswap-v2, uniswap-v3, etc.) |
Query Parameters
Blockchain name or chain ID
Comma-separated blockchain IDs
Sort field (default: latest_trade_date)
Sort order: asc or desc (default: desc)
Available options:
asc, desc Filter by DEX factory address
Number of pairs per page (max 100, default: 100)
Required range:
x <= 100Offset for pagination (default: 0)
Exclude bonded pairs (default: false)
⌘I