---
title: "Get historical candlestick data for V1 pool by id"
method: GET
path: "/pools/conversionRates/{poolId}"
tags: ["Pools"]
---

# Get historical candlestick data for V1 pool by id

`GET /pools/conversionRates/{poolId}`

## Path parameters

- `poolId` integer, required

## Query parameters

- `from` integer, required
- `to` integer, required
- `interval` 'FIVEMIN' | 'HOUR' | 'DAY' | 'WEEK', required
- `inverted` boolean

## Headers

- `x-api-key` string, required

## Response `200`

Successful response

- CandlestickData[]
  - `poolId` integer, required — Saucerswap pool id
  - `open` number, required — The open price of the token in tinybars (i.e. first minutely observation over the INTERVAL)
  - `high` number, required — The high price of the token over the INTERVAL, in tinybars
  - `low` number, required — The low price of the token over the INTERVAL, in tinybars
  - `close` number, required — The close price of the token over the INTERVAL, in tinybars
  - `avg` number, required — The (minutely) avg price of the token over the INTERVAL, in tinybars
  - `volume` string, required — The sum of total volume traded of the token over the INTERVAL, in tinybars
  - `liquidity` string, required — The point in time liquidity of the token, as of timestampSeconds (the end timestamp of the INTERVAL), in tinybars
  - `volumeUsd` string, required — The sum of total volume traded of the token over the INTERVAL, in USD
  - `liquidityUsd` string, required — The point in time liquidity of the token, as of timestampSeconds (the end timestamp of the INTERVAL), in USD
  - `timestampSeconds` integer, required — The end unix timestamp of the INTERVAL, in seconds
  - `startTimestampSeconds` integer, required — The start unix timestamp of the INTERVAL, in seconds

---

[API](https://skmtc.net/saucerswap/apis/saucerswap-rest-api.md) · [All operations](https://skmtc.net/saucerswap/apis/saucerswap-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/saucerswap/saucerswap-rest-api/revisions/6c4d55a0e793/schema)
