GET
/
networks
/
{network}
/
pools
/
{pool_address}
/
ohlcv
curl --request GET \
  --url https://api.dexpaprika.com/networks/{network}/pools/{pool_address}/ohlcv
{
  "transactions": [
    {
      "tx_id": "0x35fe5cf8...",
      "block_number": 14328510,
      "time": "2025-01-27T10:05:00.000Z",
      "action": "swap"
    },
    {
      "tx_id": "0x888baad6...",
      "block_number": 14328511,
      "time": "2025-01-27T10:10:00.000Z",
      "action": "add_liquidity"
    }
  ],
  "page_info": {
    "limit": 100,
    "page": 1,
    "total_items": 350,
    "total_pages": 4
  }
}

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

Required start time for historical data. Can be ISO-8601, a simple date (yyyy-mm-dd), or a Unix timestamp in seconds (e.g., 1518671700).

end
string

Optional end time for historical data (max 1 year from start). If not provided, the endpoint calculates or defaults based on limit.

limit
integer
default:1

Number of rows (candlesticks or data points) to retrieve (max 366).

interval
string
default:24h

Interval granularity for OHLCV data. Supported values: 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
successful operation
transactions
object[]

An array of Transaction objects (candlestick or trade data).

Information about a transaction, including addresses, amounts, and block reference.

page_info
object

Information about the current page of results.