> ## Documentation Index
> Fetch the complete documentation index at: https://docs.calibri.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Asset candles

> The EXCHANGE'S OWN published candles, stored verbatim — not recomputed
from sampled ticks. A candle derived from samples has systematically
narrower wicks, and a member trading off the chart is paid off the
exchange's candle, so the two have to be the same numbers by construction.

Paged BACKWARD only: send the returned next_to as the new to.



## OpenAPI

````yaml /api-reference/openapi/calibri.yaml get /api/v2/pythia/public/assets/{symbol}/candles
openapi: 3.1.0
info:
  title: Calibri API
  version: 1.0.0
  description: >-
    The Calibri API. Discover markets, read live books, place signed orders, and
    manage positions and account data.

    Routed by path prefix to the service that answers it — which is an
    implementation detail, not something a caller has to reason about.
servers:
  - description: Production
    url: https://calibri.io
security: []
tags:
  - name: Health
    description: Service liveness.
    x-displayName: Health
  - name: Events
    description: Discover events and their metadata.
    x-displayName: Events
  - name: Markets
    description: List markets and load market detail for trading.
    x-displayName: Markets
  - name: Series
    description: Recurring event series.
    x-displayName: Series
  - name: Tags
    description: Editorial shelves used to browse the catalogue.
    x-displayName: Tags
  - name: Market Data
    description: Order book, depth, trade tape, tickers, and candles.
    x-displayName: Market Data
  - name: Assets
    description: Underlying asset price history for price-feed markets.
    x-displayName: Assets
  - name: Community
    description: Leaderboard and platform activity.
    x-displayName: Community
  - name: Currencies
    description: Currency registry.
    x-displayName: Currencies
  - name: Trade
    description: Place, list, and cancel orders.
    x-displayName: Trade
  - name: Positions
    description: Your matched contracts.
    x-displayName: Positions
  - name: Wallet
    description: Self-custody Safe, passkey, session keys, and relay.
    x-displayName: Wallet
  - name: Rewards
    description: Maker rebates and referral earnings.
    x-displayName: Rewards
  - name: Account
    description: Balances, ledger, PnL, limits, preferences, and profile.
    x-displayName: Account
  - name: Categories
    description: Categories
    x-displayName: Categories
  - name: Other
    description: Other
    x-displayName: Other
externalDocs:
  description: ''
  url: ''
paths:
  /api/v2/pythia/public/assets/{symbol}/candles:
    get:
      tags:
        - Assets
      summary: Asset candles
      description: >-
        The EXCHANGE'S OWN published candles, stored verbatim — not recomputed

        from sampled ticks. A candle derived from samples has systematically

        narrower wicks, and a member trading off the chart is paid off the

        exchange's candle, so the two have to be the same numbers by
        construction.


        Paged BACKWARD only: send the returned next_to as the new to.
      parameters:
        - description: Coinbase product id, e.g. BTC-USD
          in: path
          name: symbol
          required: true
          schema:
            type: string
        - description: 'A width the exchange publishes: 1m, 5m, 15m, 1h, 6h, 1d (default 1m)'
          in: query
          name: granularity
          schema:
            type: string
        - description: Page cursor, Unix seconds. Defaults to now
          in: query
          name: to
          schema:
            type: integer
        - description: Candles per page, 1-1000 (default 300)
          in: query
          name: limit
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssetCandlesResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
      security: []
components:
  schemas:
    AssetCandlesResponse:
      properties:
        candles:
          items:
            $ref: '#/components/schemas/CandlePoint'
          type: array
          uniqueItems: false
        granularity:
          example: 1m
          type: string
        has_more:
          example: true
          type: boolean
        next_to:
          description: >-
            NextTo is the cursor for the next page back; HasMore is false when
            the

            page came back short, meaning the recorded history starts here and
            the

            client should stop rather than fire requests into an empty past
            forever.
          example: 1722950399
          type: integer
        symbol:
          example: BTC-USD
          type: string
      type: object
    ErrorResponse:
      properties:
        errors:
          description: Match on the code, not the HTTP status or any human text.
          example:
            - order.not_found
          items:
            type: string
          type: array
          uniqueItems: false
      type: object
    CandlePoint:
      properties:
        c:
          example: 65400.5
          type: number
        h:
          example: 65450.75
          type: number
        l:
          example: 65300.5
          type: number
        o:
          example: 65380.25
          type: number
        t:
          example: 1722950400
          type: integer
        v:
          example: 245.8
          type: number
      type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.