CoinGecko — Pool OHLCV Chart by Pool Address
Retrieve pool OHLCV Chart by Pool Address with the CoinGecko API. Supply a network and a pool address. Sample fields include addresses and symbols. Request fields include result limit (limit). Use it for on-chain or crypto market research. The GET request schema also lists pool_address, timeframe. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
CoinGecko — Pool OHLCV Chart by Pool Address
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
dataobjectattributesobjectohlcv_listnumber[][]
idstringtypestring
metaobjectbaseobjectaddressstringcoingecko_coin_idstringnamestringsymbolstring
quoteobjectaddressstringcoingecko_coin_idstringnamestringsymbolstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
data?: {
attributes?: {
ohlcv_list?: Array<Array<number>>;
};
id?: string;
type?: string;
};
meta?: {
base?: {
address?: string;
coingecko_coin_id?: string;
name?: string;
symbol?: string;
};
quote?: {
address?: string;
coingecko_coin_id?: string;
name?: string;
symbol?: string;
};
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
CoinGeckoCurrent CoinGecko — Pool OHLCV Chart 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/coingecko/api/v3/onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/eth/pools/0x06da0fd433c1a5d7a4faa01111c044910a184553/ohlcv/day' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'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. *refers to [`/onchain/networks`](/reference/networks-list). |
pool_address | URL path parameterspath | string | Yes | Pool contract address. |
timeframe | URL path parameterspath | string | Yes | Timeframe of the OHLCV chart. enum: "day", "hour", "minute" |
aggregate | URL query parametersquery | string | No | Time period to aggregate each OHLCV. Available values (day): `1` Available values (hour): `1`, `4`, `12` Available values (minute): `1`, `5`, `15` Default value: 1 |
before_timestamp | URL query parametersquery | integer | No | Return OHLCV data before this timestamp (integer seconds since epoch). |
limit | URL query parametersquery | integer | No | Number of OHLCV results to return, maximum 1000. Default value: 100 |
currency | URL query parametersquery | string | No | Return OHLCV in USD or quote token.
Default: `usd` enum: "usd", "token" |
token | URL query parametersquery | string | No | Return OHLCV for token, use this to invert the chart. Available values: `base`, `quote`, or token address. Default: `base` |
include_empty_intervals | URL query parametersquery | boolean | No | Include empty intervals with no trade data. Default: `false` |
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": {
"ohlcv_list": [
[
1779926400,
1.00208165944741,
1.00257871811779,
0.985925654401274,
1.00027690571219,
3481.679733097695
],
[
1779840000,
0.996152188066521,
1.0040610548489,
0.996152188066521,
1.00208165944741,
11911.669491500581
]
]
},
"id": "c2728da2-1bc8-4b3a-94ca-6248a3c6e966",
"type": "ohlcv_request_response"
},
"meta": {
"base": {
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"coingecko_coin_id": "tether",
"name": "Tether USD",
"symbol": "USDT"
},
"quote": {
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"coingecko_coin_id": "weth",
"name": "Wrapped Ether",
"symbol": "WETH"
}
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# CoinGecko — Pool OHLCV Chart by Pool Address
Retrieve pool OHLCV Chart by Pool Address with the CoinGecko API. Supply a network and a pool address. Sample fields include addresses and symbols. Request fields include result limit (limit). Use it for on-chain or crypto market research. The GET request schema also lists pool_address, timeframe. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
## Available implementations
CoinGecko · CoinGecko — Pool OHLCV Chart by Pool Address: https://openany.si/markets/apis/capabilities/coingecko-pool-ohlcv-chart-by-pool-address?offering=051a8e50-7dbe-4460-9f4b-3d293449e9f8 · $0 / call
## Selected API contract
Documentation: https://openany.si/apis/051a8e50-7dbe-4460-9f4b-3d293449e9f8
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}
Price: $0 / call
Provider: CoinGecko
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/coingecko/api/v3/onchain/networks/eth/pools/0x06da0fd433c1a5d7a4faa01111c044910a184553/ohlcv/day' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "CoinGecko — Pool OHLCV Chart by Pool Address",
"endpoint": "https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Network ID. \n*refers to [`/onchain/networks`](/reference/networks-list).",
"location": "path",
"name": "network",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Pool contract address.",
"location": "path",
"name": "pool_address",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Timeframe of the OHLCV chart.",
"enum_values": [
"day",
"hour",
"minute"
],
"location": "path",
"name": "timeframe",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Time period to aggregate each OHLCV. \nAvailable values (day): `1` \nAvailable values (hour): `1`, `4`, `12` \nAvailable values (minute): `1`, `5`, `15` \nDefault value: 1",
"location": "query",
"name": "aggregate",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Return OHLCV data before this timestamp (integer seconds since epoch).",
"location": "query",
"name": "before_timestamp",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Number of OHLCV results to return, maximum 1000. \nDefault value: 100",
"location": "query",
"name": "limit",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Return OHLCV in USD or quote token. \nDefault: `usd`",
"enum_values": [
"usd",
"token"
],
"location": "query",
"name": "currency",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Return OHLCV for token, use this to invert the chart. \nAvailable values: `base`, `quote`, or token address. \nDefault: `base`",
"location": "query",
"name": "token",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Include empty intervals with no trade data. \nDefault: `false`",
"location": "query",
"name": "include_empty_intervals",
"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 · Official response / contract request",
"request": {
"body": null,
"headers": {},
"path": {
"network": "eth",
"pool_address": "0x06da0fd433c1a5d7a4faa01111c044910a184553",
"timeframe": "day"
},
"query": {}
},
"response_body": {
"data": {
"attributes": {
"ohlcv_list": [
[
1779926400,
1.00208165944741,
1.00257871811779,
0.985925654401274,
1.00027690571219,
3481.679733097695
],
[
1779840000,
0.996152188066521,
1.0040610548489,
0.996152188066521,
1.00208165944741,
11911.669491500581
]
]
},
"id": "c2728da2-1bc8-4b3a-94ca-6248a3c6e966",
"type": "ohlcv_request_response"
},
"meta": {
"base": {
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"coingecko_coin_id": "tether",
"name": "Tether USD",
"symbol": "USDT"
},
"quote": {
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"coingecko_coin_id": "weth",
"name": "Wrapped Ether",
"symbol": "WETH"
}
}
}
}
]
}
```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 · Official response / contract request
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 9
Review these request fields before running. Keep the published provider and request method unchanged.
network- Network ID. *refers to [`/onchain/networks`](/reference/networks-list).
pool_address- Pool contract address.
timeframe- Timeframe of the OHLCV chart.
aggregate- Time period to aggregate each OHLCV. Available values (day): `1` Available values (hour): `1`, `4`, `12` Available values (minute): `1`, `5`, `15` Default value: 1
before_timestamp- Return OHLCV data before this timestamp (integer seconds since epoch).
limit- Number of OHLCV results to return, maximum 1000. Default value: 100
currency- Return OHLCV in USD or quote token. Default: `usd`
token- Return OHLCV for token, use this to invert the chart. Available values: `base`, `quote`, or token address. Default: `base`
include_empty_intervals- Include empty intervals with no trade data. Default: `false`
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/eth/pools/0x06da0fd433c1a5d7a4faa01111c044910a184553/ohlcv/day' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "data": { "attributes": { "ohlcv_list": [ [ 1779926400, 1.00208165944741, 1.00257871811779, 0.985925654401274, 1.00027690571219, 3481.679733097695 ], [ 1779840000, 0.996152188066521, 1.0040610548489, 0.996152188066521, 1.00208165944741, 11911.669491500581 ] ] }, "id": "c2728da2-1bc8-4b3a-94ca-6248a3c6e966", "type": "ohlcv_request_response" }, "meta": { "base": { "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", "coingecko_coin_id": "tether", "name": "Tether USD", "symbol": "USDT" }, "quote": { "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "coingecko_coin_id": "weth", "name": "Wrapped Ether", "symbol": "WETH" } } }