GeckoTerminal — Pool Data
Query pool market data using a single pool address or a batch of pool addresses on the same network with the GeckoTerminal API. Supply a network. Sample fields include addresses and transactions. Use it for on-chain or crypto market research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 2
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
GeckoTerminal — Pool Data
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
dataobjectattributesobjectaddressstringbase_token_balancestringbase_token_liquidity_usdstringbase_token_price_native_currencystringbase_token_price_quote_tokenstringbase_token_price_usdstringbuy_volume_usdobjecth1stringh24stringh6stringm15stringm30stringm5string
fdv_usdstringlocked_liquidity_percentagestringmarket_cap_usdstringnamestringnet_buy_volume_usdobjecth1stringh24stringh6stringm15stringm30stringm5string
pool_created_atstringpool_fee_percentagestringpool_namestringprice_change_percentageobjecth1stringh24stringh6stringm15stringm30stringm5string
quote_token_balancestringquote_token_liquidity_usdstringquote_token_price_base_tokenstringquote_token_price_native_currencystringquote_token_price_usdstringreserve_in_usdstringsell_volume_usdobjecth1stringh24stringh6stringm15stringm30stringm5string
transactionsobjecth1objectbuyersintegerbuysintegersellersintegersellsinteger
h24objectbuyersintegerbuysintegersellersintegersellsinteger
h6objectbuyersintegerbuysintegersellersintegersellsinteger
m15objectbuyersintegerbuysintegersellersintegersellsinteger
m30objectbuyersintegerbuysintegersellersintegersellsinteger
m5objectbuyersintegerbuysintegersellersintegersellsinteger
volume_usdobjecth1stringh24stringh6stringm15stringm30stringm5string
idstringrelationshipsobjectbase_tokenobjectdataobjectidstringtypestring
dexobjectdataobjectidstringtypestring
quote_tokenobjectdataobjectidstringtypestring
typestring
includedobject[]attributesobjectaddressstringcoingecko_coin_idstringdecimalsintegerimage_urlstringnamestringsymbolstring
idstringtypestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
data?: {
attributes?: {
address?: string;
base_token_balance?: string;
base_token_liquidity_usd?: string;
base_token_price_native_currency?: string;
base_token_price_quote_token?: string;
base_token_price_usd?: string;
buy_volume_usd?: {
h1?: string;
h24?: string;
h6?: string;
m15?: string;
m30?: string;
m5?: string;
};
fdv_usd?: string;
locked_liquidity_percentage?: string;
market_cap_usd?: string;
name?: string;
net_buy_volume_usd?: {
h1?: string;
h24?: string;
h6?: string;
m15?: string;
m30?: string;
m5?: string;
};
pool_created_at?: string;
pool_fee_percentage?: string;
pool_name?: string;
price_change_percentage?: {
h1?: string;
h24?: string;
h6?: string;
m15?: string;
m30?: string;
m5?: string;
};
quote_token_balance?: string;
quote_token_liquidity_usd?: string;
quote_token_price_base_token?: string;
quote_token_price_native_currency?: string;
quote_token_price_usd?: string;
reserve_in_usd?: string;
sell_volume_usd?: {
h1?: string;
h24?: string;
h6?: string;
m15?: string;
m30?: string;
m5?: string;
};
transactions?: {
h1?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
h24?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
h6?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
m15?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
m30?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
m5?: {
buyers?: number;
buys?: number;
sellers?: number;
sells?: number;
};
};
volume_usd?: {
h1?: string;
h24?: string;
h6?: string;
m15?: string;
m30?: string;
m5?: string;
};
};
id?: string;
relationships?: {
base_token?: {
data?: {
id?: string;
type?: string;
};
};
dex?: {
data?: {
id?: string;
type?: string;
};
};
quote_token?: {
data?: {
id?: string;
type?: string;
};
};
};
type?: string;
};
included?: Array<{
attributes?: {
address?: string;
coingecko_coin_id?: string;
decimals?: number;
image_url?: string;
name?: string;
symbol?: string;
};
id?: string;
type?: string;
}>;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| GeckoTerminal — Multiple Pools Data by Pool Addresses · GET · View API reference | $0 / call | —Select to load statistics | —successP50— | |
Current GeckoTerminal — Specific Pool Data by Pool Address · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/{network}/pools/{address}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/eth/pools/0x60594a405d53811d3bc4766596efd80fd545a270?include=base_token&include_composition=false&include_volume_breakdown=false' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json;version=20230203'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
network | URL path parameterspath | string | Yes | network ID<br>*refers to [/networks](/api/v2/networks) |
address | URL path parameterspath | string | Yes | pool address |
include | URL query parametersquery | string | No | attributes to include, comma-separated if more than one to include<br><br><b>Available values:</b> `base_token`, `quote_token`, `dex` |
include_volume_breakdown | URL query parametersquery | boolean | No | include volume breakdown |
include_composition | URL query parametersquery | boolean | No | include pool composition |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"data": {
"attributes": {
"address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
"base_token_balance": "5713.28147604894",
"base_token_liquidity_usd": "25559474.76756355",
"base_token_price_native_currency": "1.0",
"base_token_price_quote_token": "4483.543371561",
"base_token_price_usd": "4473.69429892668",
"buy_volume_usd": {
"h1": "305597.110959759",
"h24": "7260323.6767418",
"h6": "1331928.64807714",
"m15": "58659.5847657773",
"m30": "164918.943968904",
"m5": "0.0"
},
"fdv_usd": "11190873336.847",
"locked_liquidity_percentage": "0.0",
"market_cap_usd": "11195941219.2312",
"name": "WETH / USDC 0.05%",
"net_buy_volume_usd": {
"h1": "213181.8440453441",
"h24": "-3562.19491886",
"h6": "39055.74647786",
"m15": "20088.5420905036",
"m30": "112265.1687880188",
"m5": "-14474.0609971508"
},
"pool_created_at": "2021-12-29T12:35:14Z",
"pool_fee_percentage": "0.05",
"pool_name": "WETH / USDC",
"price_change_percentage": {
"h1": "0",
"h24": "0.06",
"h6": "-0.31",
"m15": "0.01",
"m30": "0",
"m5": "0"
},
"quote_token_balance": "64636039.082111",
"quote_token_liquidity_usd": "64494052.04397222",
"quote_token_price_base_token": "0.0002230378781",
"quote_token_price_native_currency": "0.000223037878108427",
"quote_token_price_usd": "0.997996963545633",
"reserve_in_usd": "90053526.8909",
"sell_volume_usd": {
"h1": "92415.2669144149",
"h24": "7263885.87166066",
"h6": "1292872.90159928",
"m15": "38571.0426752737",
"m30": "52653.7751808852",
"m5": "14474.0609971508"
},
"transactions": {
"h1": {
"buyers": 52,
"buys": 72,
"sellers": 55,
"sells": 66
},
"h24": {
"buyers": 720,
"buys": 1405,
"sellers": 1312,
"sells": 1769
},
"h6": {
"buyers": 270,
"buys": 394,
"sellers": 306,
"sells": 374
},
"m15": {
"buyers": 7,
"buys": 7,
"sellers": 13,
"sells": 14
},
"m30": {
"buyers": 30,
"buys": 36,
"sellers": 31,
"sells": 36
},
"m5": {
"buyers": 0,
"buys": 0,
"sellers": 4,
"sells": 4
}
},
"volume_usd": {
"h1": "398012.377874174",
"h24": "14524209.5484025",
"h6": "2624801.54967643",
"m15": "97230.627441051",
"m30": "217572.719149789",
"m5": "14474.0609971508"
}
},
"id": "eth_0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
"relationships": {
"base_token": {
"data": {
"id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"type": "token"
}
},
"dex": {
"data": {
"id": "uniswap_v3",
"type": "dex"
}
},
"quote_token": {
"data": {
"id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"type": "token"
}
}
},
"type": "pool"
},
"included": [
{
"attributes": {
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"coingecko_coin_id": "weth",
"decimals": 18,
"image_url": "https://coin-images.coingecko.com/coins/images/2518/large/weth.png?1696503332",
"name": "Wrapped Ether",
"symbol": "WETH"
},
"id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"type": "token"
}
]
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# GeckoTerminal — Pool Data
Query pool market data using a single pool address or a batch of pool addresses on the same network with the GeckoTerminal API. Supply a network. Sample fields include addresses and transactions. Use it for on-chain or crypto market research. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
geckoterminal · GeckoTerminal — Multiple Pools Data by Pool Addresses: https://openany.si/markets/apis/capabilities/geckoterminal-pool-data?offering=82f546e4-d1cf-4c42-925d-a514ee19fed1 · $0 / call
geckoterminal · GeckoTerminal — Specific Pool Data by Pool Address: https://openany.si/markets/apis/capabilities/geckoterminal-pool-data?offering=bb2d0a6b-1303-428a-b15b-63bdf74dab89 · $0 / call
## Selected API contract
Documentation: https://openany.si/apis/bb2d0a6b-1303-428a-b15b-63bdf74dab89
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/{network}/pools/{address}
Price: $0 / call
Provider: geckoterminal
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/eth/pools/0x60594a405d53811d3bc4766596efd80fd545a270?include=base_token&include_composition=false&include_volume_breakdown=false' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json;version=20230203'
```
## API contract
```json
{
"resource_type": "api",
"name": "GeckoTerminal — Specific Pool Data by Pool Address",
"endpoint": "https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/{network}/pools/{address}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "network ID<br>*refers to [/networks](/api/v2/networks)",
"location": "path",
"name": "network",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "pool address",
"location": "path",
"name": "address",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "attributes to include, comma-separated if more than one to include<br><br><b>Available values:</b> `base_token`, `quote_token`, `dex`",
"location": "query",
"name": "include",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "include volume breakdown",
"location": "query",
"name": "include_volume_breakdown",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "include pool composition",
"location": "query",
"name": "include_composition",
"nullable": false,
"required": false,
"type": "boolean"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": null,
"headers": {
"Accept": "application/json;version=20230203"
},
"path": {
"address": "0x60594a405d53811d3bc4766596efd80fd545a270",
"network": "eth"
},
"query": {
"include": "base_token",
"include_composition": false,
"include_volume_breakdown": false
}
},
"response_body": {
"data": {
"attributes": {
"address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
"base_token_balance": "5713.28147604894",
"base_token_liquidity_usd": "25559474.76756355",
"base_token_price_native_currency": "1.0",
"base_token_price_quote_token": "4483.543371561",
"base_token_price_usd": "4473.69429892668",
"buy_volume_usd": {
"h1": "305597.110959759",
"h24": "7260323.6767418",
"h6": "1331928.64807714",
"m15": "58659.5847657773",
"m30": "164918.943968904",
"m5": "0.0"
},
"fdv_usd": "11190873336.847",
"locked_liquidity_percentage": "0.0",
"market_cap_usd": "11195941219.2312",
"name": "WETH / USDC 0.05%",
"net_buy_volume_usd": {
"h1": "213181.8440453441",
"h24": "-3562.19491886",
"h6": "39055.74647786",
"m15": "20088.5420905036",
"m30": "112265.1687880188",
"m5": "-14474.0609971508"
},
"pool_created_at": "2021-12-29T12:35:14Z",
"pool_fee_percentage": "0.05",
"pool_name": "WETH / USDC",
"price_change_percentage": {
"h1": "0",
"h24": "0.06",
"h6": "-0.31",
"m15": "0.01",
"m30": "0",
"m5": "0"
},
"quote_token_balance": "64636039.082111",
"quote_token_liquidity_usd": "64494052.04397222",
"quote_token_price_base_token": "0.0002230378781",
"quote_token_price_native_currency": "0.000223037878108427",
"quote_token_price_usd": "0.997996963545633",
"reserve_in_usd": "90053526.8909",
"sell_volume_usd": {
"h1": "92415.2669144149",
"h24": "7263885.87166066",
"h6": "1292872.90159928",
"m15": "38571.0426752737",
"m30": "52653.7751808852",
"m5": "14474.0609971508"
},
"transactions": {
"h1": {
"buyers": 52,
"buys": 72,
"sellers": 55,
"sells": 66
},
"h24": {
"buyers": 720,
"buys": 1405,
"sellers": 1312,
"sells": 1769
},
"h6": {
"buyers": 270,
"buys": 394,
"sellers": 306,
"sells": 374
},
"m15": {
"buyers": 7,
"buys": 7,
"sellers": 13,
"sells": 14
},
"m30": {
"buyers": 30,
"buys": 36,
"sellers": 31,
"sells": 36
},
"m5": {
"buyers": 0,
"buys": 0,
"sellers": 4,
"sells": 4
}
},
"volume_usd": {
"h1": "398012.377874174",
"h24": "14524209.5484025",
"h6": "2624801.54967643",
"m15": "97230.627441051",
"m30": "217572.719149789",
"m5": "14474.0609971508"
}
},
"id": "eth_0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
"relationships": {
"base_token": {
"data": {
"id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"type": "token"
}
},
"dex": {
"data": {
"id": "uniswap_v3",
"type": "dex"
}
},
"quote_token": {
"data": {
"id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"type": "token"
}
}
},
"type": "pool"
},
"included": [
{
"attributes": {
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"coingecko_coin_id": "weth",
"decimals": 18,
"image_url": "https://coin-images.coingecko.com/coins/images/2518/large/weth.png?1696503332",
"name": "Wrapped Ether",
"symbol": "WETH"
},
"id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"type": "token"
}
]
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
network- network ID<br>*refers to [/networks](/api/v2/networks)
address- pool address
include- attributes to include, comma-separated if more than one to include<br><br><b>Available values:</b> `base_token`, `quote_token`, `dex`
include_volume_breakdown- include volume breakdown
include_composition- include pool composition
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/eth/pools/0x60594a405d53811d3bc4766596efd80fd545a270?include=base_token&include_composition=false&include_volume_breakdown=false' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ -H 'Accept: application/json;version=20230203'Check the response
Sample response · Documented HTTP 200
Sample response{ "data": { "attributes": { "address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "base_token_balance": "5713.28147604894", "base_token_liquidity_usd": "25559474.76756355", "base_token_price_native_currency": "1.0", "base_token_price_quote_token": "4483.543371561", "base_token_price_usd": "4473.69429892668", "buy_volume_usd": { "h1": "305597.110959759", "h24": "7260323.6767418", "h6": "1331928.64807714", "m15": "58659.5847657773", "m30": "164918.943968904", "m5": "0.0" }, "fdv_usd": "11190873336.847", "locked_liquidity_percentage": "0.0", "market_cap_usd": "11195941219.2312", "name": "WETH / USDC 0.05%", "net_buy_volume_usd": { "h1": "213181.8440453441", "h24": "-3562.19491886", "h6": "39055.74647786", "m15": "20088.5420905036", "m30": "112265.1687880188", "m5": "-14474.0609971508" }, "pool_created_at": "2021-12-29T12:35:14Z", "pool_fee_percentage": "0.05", "pool_name": "WETH / USDC", "price_change_percentage": { "h1": "0", "h24": "0.06", "h6": "-0.31", "m15": "0.01", "m30": "0", "m5": "0" }, "quote_token_balance": "64636039.082111", "quote_token_liquidity_usd": "64494052.04397222", "quote_token_price_base_token": "0.0002230378781", "quote_token_price_native_currency": "0.000223037878108427", "quote_token_price_usd": "0.997996963545633", "reserve_in_usd": "90053526.8909", "sell_volume_usd": { "h1": "92415.2669144149", "h24": "7263885.87166066", "h6": "1292872.90159928", "m15": "38571.0426752737", "m30": "52653.7751808852", "m5": "14474.0609971508" }, "transactions": { "h1": { "buyers": 52, "buys": 72, "sellers": 55, "sells": 66 }, "h24": { "buyers": 720, "buys": 1405, "sellers": 1312, "sells": 1769 }, "h6": { "buyers": 270, "buys": 394, "sellers": 306, "sells": 374 }, "m15": { "buyers": 7, "buys": 7, "sellers": 13, "sells": 14 }, "m30": { "buyers": 30, "buys": 36, "sellers": 31, "sells": 36 }, "m5": { "buyers": 0, "buys": 0, "sellers": 4, "sells": 4 } }, "volume_usd": { "h1": "398012.377874174", "h24": "14524209.5484025", "h6": "2624801.54967643", "m15": "97230.627441051", "m30": "217572.719149789", "m5": "14474.0609971508" } }, "id": "eth_0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "relationships": { "base_token": { "data": { "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token" } }, "dex": { "data": { "id": "uniswap_v3", "type": "dex" } }, "quote_token": { "data": { "id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "type": "token" } } }, "type": "pool" }, "included": [ { "attributes": { "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "coingecko_coin_id": "weth", "decimals": 18, "image_url": "https://coin-images.coingecko.com/coins/images/2518/large/weth.png?1696503332", "name": "Wrapped Ether", "symbol": "WETH" }, "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token" } ] }