Get Crypto Prices

PythonFinance
POST api.upapi.io/crypto-price.get

Current crypto prices (+ optional market cap and 24h change) for one or more coins across fiat or crypto quote currencies via CoinGecko's free simple-price endpoint.

cryptopricecoingeckopython
AuthAPI key
Cost1 unit
Timeout15s
Cache30s

Request schema

FieldTypeDescription
coinsreq
stringComma-separated CoinGecko coin ids (e.g. bitcoin,ethereum,solana)
vsCurrencies
stringComma-separated fiat/crypto quote currencies (e.g. usd,eur,btc)· default: "usd"
include24hChange
boolean· default: true
includeMarketCap
boolean· default: true

Response schema

FieldTypeDescription
pricesreq
object
change24hreq
object
fetchedAtreq
string
marketCapsreq
object

Try it

Try it

Comma-separated CoinGecko coin ids (e.g. bitcoin,ethereum,solana)

Comma-separated fiat/crypto quote currencies (e.g. usd,eur,btc)

Run this endpoint live

Jump in as a guest — no signup — and run crypto-price.get with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/crypto-price.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "coins": "bitcoin,ethereum,solana", "vsCurrencies": "usd", "include24hChange": true, "includeMarketCap": true }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.