Felo API PlatformFelo API Platform

データ API / CoinGecko / Simple

Simple Price

Field names are built from the quote currency — with vs_currencies set to usd you get 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 whenever the ids are already known and only current numbers are needed. For rank, supply or all-time-high data use get_coingecko_coins_markets; if you hold a contract address rather than an id use get_coingecko_simple_token_price_id.

パラメータ

クエリ

  • idsstring必須

    Comma-separated coin IDs.

  • vs_currenciesstring必須

    Comma-separated target currencies.

  • include_market_capboolean任意
  • include_24hr_volboolean任意
  • include_24hr_changeboolean任意
  • include_last_updated_atboolean任意
  • precisionstring任意

リクエスト例

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

レスポンス

レスポンス例

{
  "bitcoin": {
    "usd": 67234.12,
    "eur": 62019.45
  },
  "ethereum": {
    "usd": 3412,
    "eur": 3147.8
  }
}