GeckoTerminal Token Prices API
Get GeckoTerminal token prices via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Geckoterminal, pass parameters such as include_24hr_vol, include_inactive_source, include_market_cap, and retrieve structured data including <address> for asset price table, and metric enrichment, ready for production pipelines and AI agent automation using a single OpenAny API key.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
GeckoTerminal Token Prices API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
GeckoTerminal Token Prices API
Provide network and comma-separated addresses in the path, up to 30 token addresses. data.attributes contains address-keyed token_prices and requested supplemental maps. include_market_cap and mcap_fdv_fallback control market-cap output behavior; optional volume, price-change and reserve flags request their corresponding metrics.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required path: network, addresses; Optional query: include_market_cap, mcap_fdv_fallback, include_24hr_vol, include_24hr_price_change, include_total_reserve_in_usd, include_inactive_source. |
| Selected implementation | geckoterminal · GeckoTerminal — Token Price by Token Addresses |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Asset price table: Associate each returned price with its token address and network.
- Metric enrichment: Add requested volume, reserve or capitalization context to asset records.
Returned Data
| Field | Meaning |
|---|---|
data.attributes.token_prices.<address> |
Token price keyed by contract address |
data.attributes.market_cap_usd.<address> |
Market capitalization value when supplied |
data.attributes.h24_volume_usd.<address> |
Reported 24-hour volume in USD when supplied |
data.attributes.h24_price_change_percentage.<address> |
Reported 24-hour price change percentage when supplied |
data.attributes.total_reserve_in_usd.<address> |
Total reserves in USD when supplied |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/simple/networks/eth/token_price/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json;version=20230203' \
--data-urlencode include_24hr_price_change=false \
--data-urlencode include_24hr_vol=false \
--data-urlencode include_inactive_source=false \
--data-urlencode include_market_cap=true \
--data-urlencode include_total_reserve_in_usd=false \
--data-urlencode mcap_fdv_fallback=false
Request and Response Examples
The response example is a documentation reference and can describe a different token, network or DEX from the request template. Match returned resource identities to your request; reference prices and timestamps are not current market values.
Published GeckoTerminal Token Prices API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
geckoterminalCurrent GeckoTerminal — Token Price by Token Addresses · GET · View API reference | $0 / call | 1 | 100.00%successP50661ms |
- 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: 4. Price update time: not supplied.
Total $0
API
- 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
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.
Response structure
dataobjectattributesobjecth24_price_change_percentageobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
h24_volume_usdobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
market_cap_usdobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
token_pricesobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
total_reserve_in_usdobject0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2string
idstringtypestring
Agent integration
Copy the resource contract without sharing an API key.
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 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" } }