# Get Crypto Prices API

> 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.

Category: [Finance APIs](https://upapi.io/apis/finance) · Last updated 2026-06-12

## What is the crypto price API on upAPI?

The crypto price API on upAPI returns current coin prices by currency: pass CoinGecko coin ids and fiat or crypto quote currencies, and get prices, with optional market caps and one-day changes, as JSON. No CoinGecko key of your own is needed, only one upAPI key. The Free plan includes 1,000 weighted units a month.

## How to call it

- Endpoint: `POST https://api.upapi.io/crypto-price.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 1 weighted unit per call.
- Timeout: 15 seconds.
- Cache: identical requests are served from cache for 30 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/crypto-price.get

```bash
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 }'
```

## Request parameters

- `coins` (string, required) — Comma-separated CoinGecko coin ids (e.g. bitcoin,ethereum,solana)
- `vsCurrencies` (string) — Comma-separated fiat/crypto quote currencies (e.g. usd,eur,btc)
- `include24hChange` (boolean)
- `includeMarketCap` (boolean)

## Response fields

- `prices` (object, required)
- `change24h` (object, required)
- `fetchedAt` (string, required)
- `marketCaps` (object, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "coins": "bitcoin,ethereum,solana",
  "vsCurrencies": "usd",
  "include24hChange": true,
  "includeMarketCap": true
}
```

```json
{
  "prices": {},
  "change24h": {},
  "fetchedAt": "example",
  "marketCaps": {}
}
```

## Frequently asked questions

### How much does the Get Crypto Prices API cost per call?

Each call spends 1 weighted unit of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Get Crypto Prices API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Get Crypto Prices API responses cached?

Yes — identical requests are served from cache for 30 seconds, and a cache hit is not billed.

## More Finance APIs

- [Convert Currency](https://upapi.io/apis/finance/currency-convert)
