Felo API PlatformFelo API Platform
All CoinGecko endpoints
v0.2.0-beta
OpenAPI 3.1.0

Coin Market Chart Range

Server:https://openapi.felo.ai
Client Libraries

CoinGecko

​

Cryptocurrency prices, market data and historical series.

Coin Market Chart Range

​

Historical series for one coin between two explicit points in time. from and to are Unix timestamps in seconds, while the timestamps inside the response are in milliseconds — the two are not the same unit, which is the usual source of empty or misaligned results. Returns prices, market_caps and total_volumes as timestamp-and-value pairs; CoinGecko picks granularity from the window length. Use it to line a series up with a known event window. For a trailing window ending now, get_coingecko_coins_id_market_chart takes a days count instead.

Pricing reference

  • Metering: Plan resource units.
  • Reference request estimate: USD 0.008.
  • Unit cost basis: USD 0.0.
  • Resource unit: provider_credit.
  • Cost bases do not establish the final customer price, including when zero.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

Path Parameters
  • id
    Type: string
    required

    Coin ID. *refers to /coins/list.

Query Parameters
  • from
    Type: string
    required

    Starting date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility.

  • interval
    Type: string enum

    Data interval, leave empty for auto granularity.

    values
    • 1m
    • 5m
    • hourly
    • daily
  • precision
    Type: string enum

    Decimal place for currency price value.

    values
    • full
    • 0
    • 1
    • 2
    • 3
  • to
    Type: string
    required

    Ending date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility.

  • vs_currency
    Type: string
    required

    Target currency of market data. *refers to /simple/supported_vs_currencies.

Responses
  • 200
    Type: object · Response860C3Ae68Ea5_CoinsMarketChart

    Coin historical chart data within time range

    • market_caps
      Type: array array number[][]
      required

      Market cap data points as [timestamp, market_cap] pairs

    • prices
      Type: array array number[][]
      required

      Price data points as [timestamp, price] pairs

    • total_volumes
      Type: array array number[][]
      required

      Total volume data points as [timestamp, volume] pairs

    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

    Error response; upstream passthrough responses may use provider formats

    application/json
Request Example for get/v1/beta/coingecko/coins/{id}/market_chart/range
curl 'https://openapi.felo.ai/v1/beta/coingecko/coins/bitcoin/market_chart/range?from=2025-12-22&to=2025-12-31&vs_currency=usd' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "prices": [
    [
      1779027899041,
      77953.82550382407
    ],
    [
      1779028199661,
      78052.87543398788
    ]
  ],
  "market_caps": [
    [
      1779027899041,
      1560631481361.8042
    ],
    [
      1779028199661,
      1562027330524.267
    ]
  ],
  "total_volumes": [
    [
      1779027899041,
      18688431751.857048
    ],
    [
      1779028199661,
      18974828816.446976
    ]
  ]
}
Coin Market Chart Range

Need help?