Data 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.
Parameters
query
idsstringRequiredComma-separated coin IDs.
vs_currenciesstringRequiredComma-separated target currencies.
include_market_capbooleanOptionalinclude_24hr_volbooleanOptionalinclude_24hr_changebooleanOptionalinclude_last_updated_atbooleanOptionalprecisionstringOptional
Example request
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"Response
Example response
{
"bitcoin": {
"usd": 67234.12,
"eur": 62019.45
},
"ethereum": {
"usd": 3412,
"eur": 3147.8
}
}