Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Coin Market Chart Range by Contract

Сервер:https://openapi.felo.ai
Клиентские библиотеки

CoinGecko

​

Cryptocurrency prices, market data and historical series.

Coin Market Chart Range by Contract

​

Historical series between two explicit points in time for a token identified by contract address. id is the asset platform and contract_address the token; from and to are Unix timestamps in seconds while response timestamps are in milliseconds. Returns prices, market_caps and total_volumes as timestamp-and-value pairs. Use it when you have an address and a fixed window. For a trailing window use get_coingecko_token_market_chart; if you hold a CoinGecko id rather than an address use get_coingecko_coins_id_market_chart_range.

Параметры пути
  • id
    Тип: string
    обязательно

    Asset platform ID (e.g., ethereum).

  • contract_address
    Тип: string
    обязательно

    Token contract address.

Query-параметры
  • vs_currency
    Тип: string
    обязательно

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

  • from
    Тип: integer
    обязательно

    Start UNIX timestamp (seconds).

  • to
    Тип: integer
    обязательно

    End UNIX timestamp (seconds).

  • precision
    Тип: string

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

Ответы
  • 200
    Тип: object · CoinGeckoMarketChart

    Same shape as /coins/{id}/market_chart/range.

    • market_caps
      Тип: array array number[][]
    • prices
      Тип: array array number[][]
    • total_volumes
      Тип: array array number[][]
    • propertyName
      Тип: anything
    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}/contract/{contract_address}/market_chart/range
curl 'https://openapi.felo.ai/v1/beta/coingecko/coins/ethereum/contract/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/market_chart/range?vs_currency=usd&from=1751328000&to=1751414400' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "prices": [
    [
      1
    ]
  ],
  "market_caps": [
    [
      1
    ]
  ],
  "total_volumes": [
    [
      1
    ]
  ],
  "additionalProperty": "anything"
}
Coin Market Chart Range by Contract