Delta Exchange OHLC Candles API

The OHLC Candles API from Delta Exchange — 1 operation(s) for ohlc candles.

Operations 1

GET /chart/history Get OHLC candles #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/delta-exchange:delta-exchange-ohlc-candles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

delta-exchange-ohlc-candles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: '## REST API for Delta Exchange

    Find out more on https://delta.exchange'
  version: 1.0.0
  title: Delta Exchange OHLC Candles API
  termsOfService: https://docs.google.com/document/d/e/2PACX-1vSDARn3b_VlmGZjJjlROm0MFpxX6KoLzVrqPZLSD4rh7sBhpP6kDP8WMSgUlaitwjCBUBd3-fV-MDId/pub
  contact:
    email: support@delta.exchange
servers:
- url: https://api.india.delta.exchange/
tags:
- name: OHLC Candles
paths:
  /chart/history:
    get:
      tags:
      - OHLC Candles
      summary: Get OHLC candles
      operationId: getCandles
      parameters:
      - in: query
        name: symbol
        description: Symbol should be anyone of following  1. product symbol to get OHLC for given product e.g **BTCUSD** 2. Spot index symbol to get spot index price. e.g. **.DEXBTUSD** 3. Mark and symbol to get mark price OHLC data e.g. **MARK:BTCUSD** 4. Funding and product symbol to get Funding data for given product e.g. **FUNDING:BTCUSD**
        required: true
        schema:
          type: string
      - in: query
        name: from
        description: start time for the interval ( in seconds )
        required: true
        schema:
          type: integer
      - in: query
        name: to
        description: end time for the interval ( in seconds )
        required: true
        schema:
          type: integer
      - in: query
        name: resolution
        description: resolution for the candles
        required: true
        schema:
          type: string
          enum:
          - '1'
          - '3'
          - '5'
          - '15'
          - '30'
          - '60'
          - '120'
          - '240'
          - '360'
          - D
          - 7D
          - 30D
          - 1W
          - 2W
      responses:
        '200':
          description: OHLC candles
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OHLCData'
components:
  schemas:
    OHLCData:
      type: object
      properties:
        t:
          type: array
          description: array of timestamps for which candles are returned
          items:
            type: integer
        o:
          type: array
          description: open prices for candles
          items:
            type: string
        h:
          type: array
          description: high prices for candles
          items:
            type: string
        l:
          type: array
          description: low prices for candles
          items:
            type: string
        c:
          type: array
          description: close prices for candles
          items:
            type: string
        v:
          type: array
          description: volumes for candles
          items:
            type: integer
  securitySchemes:
    api-key:
      type: apiKey
      name: api-key
      in: header
    signature:
      type: apiKey
      name: signature
      in: header
    timestamp:
      type: apiKey
      name: timestamp
      in: header