Token API > svm-dexs
Pool OHLCV Data
GET/v1/svm/pools/ohlc
Provides pricing data in the Open/High/Low/Close/Volume (OHCLV) format for DEX pools.
Paramètres de requête
| Parameter | Description | Value |
|---|---|---|
networkstring | The Graph Network ID for SVM networks https://thegraph.com/networks
| Required solana |
amm_poolstring | Filter by AMM pool address | Required |
intervalstring | The interval for which to aggregate price data (hourly, 4-hours, daily or weekly).
| 1d |
start_timestring | UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...).
| |
end_timestring | UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...).
| |
limitinteger | Number of items* returned in a single request.
| |
pageinteger | Page number to fetch.
|
Potential Responses
| Status | Description |
|---|---|
| 200 | Successful Response |
| 400 | Client side error |
| 401 | Authentication failed |
| 403 | Forbidden |
| 404 | Not found |
| 500 | Server side error |