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.
- Type: stringidrequired
Asset platform's ID. *refers to
/asset_platforms
- Type: stringcontract
_addresses requiredToken contract addresses, comma-separated if querying more than 1 token
- Type: booleaninclude
_24hr _change Include 24-hour change percentage. Default: false
- Type: booleaninclude
_24hr _vol Include 24-hour trading volume. Default: false
- Type: booleaninclude
_last _updated _at Include last updated price time as a UNIX timestamp. Default: false
- Type: booleaninclude
_market _cap Include market capitalization. Default: false
- Type: string enumprecision
Decimal places for currency price value
values- full
- 0
- 1
- 2
- 3
- Type: stringvs
_currencies requiredTarget currency of coins, comma-separated if querying more than 1 currency. *refers to
/simple/supported_vs_currencies
- Type: object · Response860C3Ae68Ea5_SimplePrice200
Token prices
- Type: objectproperty
Name - lastType: number
_updated _at Last updated timestamp in UNIX seconds
- usdType: number
Price in the target currency
- usdType: number
_24h _change 24-hour price change percentage in the target currency
- usdType: number
_24h _vol 24-hour trading volume in the target currency
- usdType: number
_market _cap 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
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
}
}