GeckoTerminal — Token Price by Token Addresses
Retrieve token Price by Token Addresses with the GeckoTerminal API. The request takes a network and an addresses. Build a market research view or track changes over time. The GET request schema also lists include_market_cap. Use the response in blockchain monitoring or to cross-check data against an explorer for the same network.
- Selected price
- $0 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
geckoterminalCurrent GeckoTerminal — Token Price by Token Addresses · GET | $0 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
dataobjectattributesobjecth24_price_change_percentageobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
h24_volume_usdobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
market_cap_usdobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
token_pricesobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
total_reserve_in_usdobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
idstringtypestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
data?: {
attributes?: {
h24_price_change_percentage?: {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"?: string;
};
h24_volume_usd?: {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"?: string;
};
market_cap_usd?: {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"?: string;
};
token_prices?: {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"?: string;
};
total_reserve_in_usd?: {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"?: string;
};
};
id?: string;
type?: string;
};
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/simple/networks/{network}/token_price/{addresses}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/simple/networks/eth/token_price/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2?include_24hr_price_change=false&include_24hr_vol=false&include_inactive_source=false&include_market_cap=true&include_total_reserve_in_usd=false&mcap_fdv_fallback=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) |
addresses | URL path parameterspath | string | Yes | token contract address, comma-separated if more than one token contract address (up to 30 addresses) |
include_market_cap | URL query parametersquery | boolean | No | include market capitalization |
mcap_fdv_fallback | URL query parametersquery | boolean | No | return FDV if market cap is not available |
include_24hr_vol | URL query parametersquery | boolean | No | include 24hr volume |
include_24hr_price_change | URL query parametersquery | boolean | No | include 24hr price change |
include_total_reserve_in_usd | URL query parametersquery | boolean | No | include total reserve in USD |
include_inactive_source | URL query parametersquery | boolean | No | include inactive pools when sourcing for token's top pool |
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": {
"h24_price_change_percentage": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3.3870290336"
},
"h24_volume_usd": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "965988358.733808"
},
"market_cap_usd": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "6692452895.779648"
},
"token_prices": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "2289.33"
},
"total_reserve_in_usd": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "1576179559.94669772339136684208"
}
},
"id": "1ba898f0-eda2-4291-9491-9a5b323f66ef",
"type": "simple_token_price"
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# GeckoTerminal — Token Price by Token Addresses
Retrieve token Price by Token Addresses with the GeckoTerminal API. The request takes a network and an addresses. Build a market research view or track changes over time. The GET request schema also lists include_market_cap. Use the response in blockchain monitoring or to cross-check data against an explorer for the same network.
## Available implementations
geckoterminal · GeckoTerminal — Token Price by Token Addresses: https://openany.si/markets/apis/capabilities/geckoterminal-token-price-by-token-addresses?offering=03df4ac9-c05f-49a6-995d-0dbb0e49ce8f · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/geckoterminal-token-price-by-token-addresses
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/simple/networks/{network}/token_price/{addresses}
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/simple/networks/eth/token_price/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2?include_24hr_price_change=false&include_24hr_vol=false&include_inactive_source=false&include_market_cap=true&include_total_reserve_in_usd=false&mcap_fdv_fallback=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 — Token Price by Token Addresses",
"endpoint": "https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/simple/networks/{network}/token_price/{addresses}",
"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": "token contract address, comma-separated if more than one token contract address (up to 30 addresses)",
"location": "path",
"name": "addresses",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "include market capitalization",
"location": "query",
"name": "include_market_cap",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "return FDV if market cap is not available",
"location": "query",
"name": "mcap_fdv_fallback",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "include 24hr volume",
"location": "query",
"name": "include_24hr_vol",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "include 24hr price change",
"location": "query",
"name": "include_24hr_price_change",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "include total reserve in USD",
"location": "query",
"name": "include_total_reserve_in_usd",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "include inactive pools when sourcing for token's top pool",
"location": "query",
"name": "include_inactive_source",
"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": {
"addresses": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"network": "eth"
},
"query": {
"include_24hr_price_change": false,
"include_24hr_vol": false,
"include_inactive_source": false,
"include_market_cap": true,
"include_total_reserve_in_usd": false,
"mcap_fdv_fallback": false
}
},
"response_body": {
"data": {
"attributes": {
"h24_price_change_percentage": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3.3870290336"
},
"h24_volume_usd": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "965988358.733808"
},
"market_cap_usd": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "6692452895.779648"
},
"token_prices": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "2289.33"
},
"total_reserve_in_usd": {
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "1576179559.94669772339136684208"
}
},
"id": "1ba898f0-eda2-4291-9491-9a5b323f66ef",
"type": "simple_token_price"
}
}
}
]
}
```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. |
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 8
Review these request fields before running. Keep the published provider and request method unchanged.
network- network ID<br>*refers to [/networks](/api/v2/networks)
addresses- token contract address, comma-separated if more than one token contract address (up to 30 addresses)
include_market_cap- include market capitalization
mcap_fdv_fallback- return FDV if market cap is not available
include_24hr_vol- include 24hr volume
include_24hr_price_change- include 24hr price change
include_total_reserve_in_usd- include total reserve in USD
include_inactive_source- include inactive pools when sourcing for token's top pool
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/simple/networks/eth/token_price/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2?include_24hr_price_change=false&include_24hr_vol=false&include_inactive_source=false&include_market_cap=true&include_total_reserve_in_usd=false&mcap_fdv_fallback=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": { "h24_price_change_percentage": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3.3870290336" }, "h24_volume_usd": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "965988358.733808" }, "market_cap_usd": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "6692452895.779648" }, "token_prices": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "2289.33" }, "total_reserve_in_usd": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "1576179559.94669772339136684208" } }, "id": "1ba898f0-eda2-4291-9491-9a5b323f66ef", "type": "simple_token_price" } }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use GeckoTerminal — Token Price by Token Addresses with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.