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

# Get OHLCV candles

Buckets are returned **oldest first**, so a chart can render them directly.

<Warning>
  Periods with no trades are **absent**, not zero-filled. This venue trades sparsely, and
  emitting flat synthetic candles would invent price action that never happened. If you need a
  continuous axis, carry the previous close forward yourself.
</Warning>


## OpenAPI

````yaml GET /v1/candles
openapi: 3.1.0
info:
  title: Numo orderbook API
  description: >-
    REST endpoints exposed by Numo's markets-service and execution-service for
    physically delivered FX futures. Real-time book, trades, and order streams
    are served over the WebSocket endpoint documented in the WebSocket streams
    reference.
  version: 1.0.0
servers:
  - url: https://api.numofx.com
    description: markets-service
  - url: https://executor.numofx.com
    description: execution-service
security: []
tags:
  - name: Markets service
  - name: Execution service
paths:
  /v1/candles:
    get:
      tags:
        - Markets service
      summary: Get OHLCV candles
      operationId: getCandles
      parameters:
        - name: symbol
          in: query
          schema:
            type: string
          description: Canonical market symbol such as USDCcNGN-SEP16-2026
        - name: asset_address
          in: query
          schema:
            type: string
        - name: sub_id
          in: query
          schema:
            type: string
        - name: interval
          in: query
          schema:
            type: string
            enum:
              - 1m
              - 5m
              - 15m
              - 1h
              - 4h
              - 1d
            default: 1h
          description: Bucket size
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 1000
            default: 200
          description: Maximum number of buckets to return
        - name: start
          in: query
          schema:
            type: string
            format: date-time
          description: RFC3339 lower bound, inclusive
        - name: end
          in: query
          schema:
            type: string
            format: date-time
          description: RFC3339 upper bound, must be after start
      responses:
        '200':
          description: OHLCV buckets, oldest first
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CandlesResponse'
        '400':
          description: Unknown market or invalid query parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    CandlesResponse:
      type: object
      properties:
        market_presentation:
          $ref: '#/components/schemas/MarketPresentation'
        interval:
          type: string
        candles:
          type: array
          items:
            $ref: '#/components/schemas/Candle'
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
    MarketPresentation:
      type: object
      properties:
        market:
          type: string
        contract_type:
          type: string
        settlement_type:
          type: string
        base_asset_symbol:
          type: string
        quote_asset_symbol:
          type: string
        expiry_timestamp:
          type: integer
        display_name:
          type: string
        display_label:
          type: string
        tick_size:
          type: string
        settlement_note:
          type: string
        asset_address:
          type: string
        sub_id:
          type: string
        order_entry_spec:
          type: string
    Candle:
      type: object
      properties:
        bucket_start:
          type: string
          format: date-time
        open:
          type: string
        high:
          type: string
        low:
          type: string
        close:
          type: string
        volume:
          type: string
        quote_volume:
          type: string
        trade_count:
          type: integer

````