CoinXview Candles API

The Candles API from CoinXview, for candles.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /ohlc/{symbol} 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/coinxview-com:coinxview-com-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

coinxview-com-candles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CoinXview Candles API
  version: 1.0.0
  summary: 'Free crypto market data API: prices, market cap, risk score, Fear & Greed, OHLC.'
  description: 'Live prices for 1,200+ coins aggregated directly from 22 exchanges (volume-weighted, outliers removed), CoinXview Risk Score, global market data, CoinXview''s own Fear & Greed index and OHLC candles.


    - No API key, no sign-up. CORS is open (`Access-Control-Allow-Origin: *`).

    - Rate limit: 60 requests per minute per IP. Responses carry `X-RateLimit-Limit` / `X-RateLimit-Remaining`; over the limit you get HTTP 429 with `Retry-After: 60`.

    - Responses are cached for 30-300 seconds.

    - Attribution required: show "Data: CoinXview" with a link to https://coinxview.com wherever the data is displayed. Not investment advice.'
  termsOfService: https://coinxview.com/dieu-khoan
  contact:
    name: CoinXview
    url: https://coinxview.com/lien-he
  x-logo:
    url: https://coinxview.com/static/icon-512.png
servers:
- url: https://coinxview.com/api/v1
security: []
tags:
- name: Candles
paths:
  /ohlc/{symbol}:
    get:
      tags:
      - Candles
      operationId: getOhlc
      summary: OHLC candles
      description: Candles from the exchange with the most volume for that coin (`source_exchange`).
      parameters:
      - name: symbol
        in: path
        required: true
        description: Coin symbol (case-insensitive).
        schema:
          type: string
          pattern: ^[A-Za-z0-9]{1,20}$
        example: BTC
      - name: interval
        in: query
        schema:
          type: string
          enum:
          - 1h
          - 4h
          - 1d
          - 1w
          default: 1d
      - name: limit
        in: query
        description: Newest N candles.
        schema:
          type: integer
          minimum: 1
          maximum: 1000
          default: 1000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Ohlc'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
    Ohlc:
      type: object
      properties:
        symbol:
          type: string
        interval:
          type: string
          enum:
          - 1h
          - 4h
          - 1d
          - 1w
        source_exchange:
          type:
          - string
          - 'null'
        data:
          type: array
          description: 'Each row: [time (unix seconds), open, high, low, close, quote volume].'
          items:
            type: array
            minItems: 6
            maxItems: 6
            items:
              type: number
  responses:
    RateLimited:
      description: More than 60 requests per minute from this IP.
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait (60).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Unknown symbol (or no data yet).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
externalDocs:
  description: API documentation with live examples
  url: https://coinxview.com/free-crypto-api
x-provenance:
  method: harvested
  publisher: CoinXview
  source: https://coinxview.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)