---
search:
  tags:
    - Market
    - GET
seo:
  description: >-
    Answers a page of candles of one… Reference for the GET
    /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/candles
    endpoint in the INVICTUS API.
sidebar:
  label: A page of candles.
  badge: GET
title: A page of candles.
type: openapi-operation
---
Answers a page of candles of one pool, oldest first, in the quote token or in US dollars. A bucket without trades or data is a gap, never an invented price.

`GET /v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/candles`

**Responses**

- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `404` — Not found, or not yours.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.

Response example, 200:

```json
{
  "interval": "1s",
  "subject": {
    "base": "string",
    "quote": "string"
  },
  "unit": "quote",
  "usdCoverage": "complete",
  "items": [
    {
      "time": 1793145600,
      "kind": "traded",
      "coverage": "complete",
      "basis": "swap",
      "open": "1234.56",
      "high": "1234.56",
      "low": "1234.56",
      "close": "1234.56",
      "volumeUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    }
  ],
  "older": 1793145600,
  "asOf": 1793145600
}
```
