Felo API PlatformFelo API Platform

데이터 API / CoinGecko / Simple

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.

파라미터

경로

  • idstring필수

    Platform ID (e.g., ethereum, binance-smart-chain, polygon-pos).

쿼리

  • contract_addressesstring필수

    Comma-separated contract addresses.

  • vs_currenciesstring필수

    Comma-separated target currencies.

  • include_market_capboolean선택
  • include_24hr_volboolean선택
  • include_24hr_changeboolean선택
  • include_last_updated_atboolean선택
  • precisionstring선택

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

요청 예시

curl -G "https://openapi.felo.ai/v1/beta/coingecko/simple/token_price/{id}" \
  --data-urlencode "contract_addresses=<string>" \
  --data-urlencode "vs_currencies=<string>" \
  -H "Authorization: Bearer $FELO_API_KEY"

응답

공개된 spec에는 이 엔드포인트의 응답에 대한 설명이 없습니다.