GET
/
networks
/
{network}
/
pools
/
{pool_address}
/
ohlcv
curl --request GET \
  --url https://api.dexpaprika.com/networks/{network}/pools/{pool_address}/ohlcv
[
  {
    "time_open": "2025-03-10T00:00:00Z",
    "time_close": "2025-03-11T00:00:00Z",
    "open": 126.43817748776037,
    "high": 131.48201077049822,
    "low": 115.52148830221141,
    "close": 118.20275113239272,
    "volume": 262402654
  }
]

Path Parameters

network
string
required

Network slug or ID (e.g., 'solana'). You can find the list of supported networks with their IDs here: /networks.

pool_address
string
required

Unique pool address or identifier. Such as 0xc7bbec68d12a0d1830360f8ec58fa599ba1b0e9b for WETH / USDT on ethereum.

Query Parameters

start
string
required

Start time for the OHLCV data. Accepted formats:

  • Unix timestamp
  • RFC3339 timestamp (e.g., "2023-10-27T08:07:20Z")
  • Date (e.g., "2023-10-27", interpreted as 00:00:00 UTC)
Example:

"1741507640"

end
string

Start time for the OHLCV data. Accepted formats:

  • Unix timestamp
  • RFC3339 timestamp (e.g., "2023-10-27T10:00:00Z")
  • Date (e.g., "2023-10-27", interpreted as 00:00:00 UTC)
Example:

"1741508640"

limit
integer
default:1

Maximum number of OHLCV records to return.

Required range: 1 <= x <= 366
interval
enum<string>
default:24h

The time interval for each OHLCV record (candle).

Available options:
1m,
5m,
10m,
15m,
30m,
1h,
6h,
12h,
24h
inversed
boolean
default:false

Whether to invert the price ratio in OHLCV calculations (e.g., quote token vs. base token).

Response

200
application/json
A list of OHLCV records successfully retrieved.
time_open
string
required

The opening timestamp of the OHLCV period.

Example:

"2023-10-27T10:00:00Z"

time_close
string
required

The closing timestamp of the OHLCV period.

Example:

"2023-10-27T11:00:00Z"

open
number
required

The opening price for the period.

Example:

1500.5

high
number
required

The highest price reached during the period.

Example:

1525.75

low
number
required

The lowest price reached during the period.

Example:

1495.25

close
number
required

The closing price for the period.

Example:

1510

volume
integer
required

The total volume traded during the period.

Example:

1234567890123