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

Coin Price by Token Address

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

CoinGecko

​

Cryptocurrency prices, market data and historical series.

Coin Price by Token Address

​

Price lookup keyed by on-chain contract address rather than CoinGecko id. id is the asset platform, contract_addresses a comma-separated list of token addresses, vs_currencies the quote currency. Returns a map keyed by lowercase contract address whose field names are built from the quote currency — usd, plus usd_market_cap, usd_24h_vol, usd_24h_change and last_updated_at when the matching include_market_cap, include_24hr_vol, include_24hr_change and include_last_updated_at flags are set. Use it when you hold an address and no id. For the token's full profile use get_coingecko_token_data; if you already have the CoinGecko id use get_coingecko_simple_price.

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

    Asset platform's ID. *refers to /asset_platforms

Query Parameters
  • contract_addresses
    Type: string
    required

    Token contract addresses, comma-separated if querying more than 1 token

  • include_24hr_change
    Type: boolean

    Include 24-hour change percentage. Default: false

  • include_24hr_vol
    Type: boolean

    Include 24-hour trading volume. Default: false

  • include_last_updated_at
    Type: boolean

    Include last updated price time as a UNIX timestamp. Default: false

  • include_market_cap
    Type: boolean

    Include market capitalization. Default: false

  • precision
    Type: string enum

    Decimal places for currency price value

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

    Target currency of coins, comma-separated if querying more than 1 currency. *refers to /simple/supported_vs_currencies

Responses
  • 200
    Type: object · Response860C3Ae68Ea5_SimplePrice

    Token prices

    • propertyName
      Type: object
      • last_updated_at
        Type: number

        Last updated timestamp in UNIX seconds

      • usd
        Type: number

        Price in the target currency

      • usd_24h_change
        Type: number

        24-hour price change percentage in the target currency

      • usd_24h_vol
        Type: number

        24-hour trading volume in the target currency

      • usd_market_cap
        Type: number

        Market capitalization in the target currency

    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/simple/token_price/{id}
curl 'https://openapi.felo.ai/v1/beta/coingecko/simple/token_price/ethereum?contract_addresses=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&vs_currencies=usd' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
    "usd": 76721,
    "usd_market_cap": 9008047197.715635,
    "usd_24h_vol": 181232010.10689816,
    "usd_24h_change": -1.6069562341774564,
    "last_updated_at": 1779094527
  }
}
Coin Price by Token Address

Need help?