Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0
サーバー:https://openapi.felo.ai
クライアントライブラリ

CoinGecko

​

Cryptocurrency prices, market data and historical series.

Coin OHLC

​

Candlestick data for one coin as a bare array of rows, each row positional: timestamp in milliseconds, then open, high, low and close. There are no field names in the response and no volume. Candle width is derived from days, which is required. Use it for candle or technical analysis. For a price line together with market cap and traded volume use get_coingecko_coins_id_market_chart instead.

パスパラメーター
  • id
    型: string
    必須

    CoinGecko coin ID (e.g., bitcoin, ethereum). Get the list via /coins/list.

クエリパラメーター
  • vs_currency
    型: string
    必須

    Target currency for price (e.g., usd, eur, btc). See /simple/supported_vs_currencies.

  • days
    型: string
    必須

    1, 7, 14, 30, 90, 180, 365.

  • precision
    型: string

    full or a value from 0 to 18 to specify decimal places for currency price values.

レスポンス
  • 200
    型: array array number[][] · CoinGeckoOHLC

    Array of OHLC rows: [timestamp, open, high, low, close].

    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for get/v1/beta/coingecko/coins/{id}/ohlc
curl 'https://openapi.felo.ai/v1/beta/coingecko/coins/bitcoin/ohlc?vs_currency=usd&days=7' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
  [
    1713398400000,
    67000,
    67500,
    66900,
    67234.12
  ]
]
Coin OHLC