CoinGecko Coin Price by IDs, Symbols, or Names

https://api.sandbase.ai/v1/api/coingecko/simple-price

Get the prices of one or more coins by using their unique Coin API IDs, symbols, or names

Price
$0.008USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 9 optional
Production route

Try the model

Playground

Open playground
Input
Coins' IDs, comma-separated if querying more than 1 coin. *refers to [`/coins/list`](/reference/coins-list)
Include 24-hour change percentage. Default: false
Include 24-hour trading volume. Default: false
Include last updated price time as a UNIX timestamp. Default: false
Include market capitalization. Default: false
For `symbols` lookups, specify `all` to include all matching tokens. Default `top` returns top-ranked tokens by market cap or volume. Allowed values: top, all.
Coins' names, comma-separated if querying more than 1 coin.
Decimal places for currency price value Allowed values: full, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18.
Coins' symbols, comma-separated if querying more than 1 coin.
Target currency of coins, comma-separated if querying more than 1 currency. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.008 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

vs_currencies
string · required
ids
string · optional
include_24hr_change
boolean · optional
include_24hr_vol
boolean · optional
include_last_updated_at
boolean · optional
include_market_cap
boolean · optional
include_tokens
string (top, all) · optional
names
string · optional
precision
string (full, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18) · optional
symbols
string · optional

Access

Provider
CoinGecko
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/coingecko/simple-price
Authentication
Bearer API key

API README

CoinGecko Coin Price by IDs, Symbols, or Names API

Get the prices of one or more coins by using their unique Coin API IDs, symbols, or names

The response is the official CoinGecko API response, unchanged.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "coingecko/simple-price", "ids": "bitcoin", "vs_currencies": "usd"}'

Parameters

NameTypeRequiredDescription
idsstringNoCoins' IDs, comma-separated if querying more than 1 coin. *refers to /coins/list
include_24hr_changebooleanNoInclude 24-hour change percentage. Default: false
include_24hr_volbooleanNoInclude 24-hour trading volume. Default: false
include_last_updated_atbooleanNoInclude last updated price time as a UNIX timestamp. Default: false
include_market_capbooleanNoInclude market capitalization. Default: false
include_tokensstringNoFor symbols lookups, specify all to include all matching tokens. Default top returns top-ranked tokens by market cap or volume.
namesstringNoCoins' names, comma-separated if querying more than 1 coin.
precisionstringNoDecimal places for currency price value
symbolsstringNoCoins' symbols, comma-separated if querying more than 1 coin.
vs_currenciesstringYesTarget currency of coins, comma-separated if querying more than 1 currency. *refers to [/simple/supported_vs_currencies](/reference/simple-supported-currencie

Pricing

Flat price per call. Failed calls are not charged.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/coingecko/simple-price
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/coingecko/simple-price" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "ids": "bitcoin",
  "names": "Bitcoin",
  "symbols": "btc",
  "vs_currencies": "usd"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
CoinGecko$0.008 per callJSONOct 30, 2026
CoinGecko$0.008 per callJSONOct 30, 2026
CoinGecko$0.008 per callJSONOct 30, 2026
CoinGecko$0.008 per callJSONOct 30, 2026
CoinGecko$0.008 per callJSONOct 30, 2026
CoinGecko$0.008 per callJSONOct 30, 2026

Questions

FAQ

How do I use the CoinGecko Coin Price by IDs, Symbols, or Names API?

Send a POST request to https://api.sandbase.ai/v1/api/coingecko/simple-price with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the CoinGecko Coin Price by IDs, Symbols, or Names API cost?

$0.008 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the CoinGecko Coin Price by IDs, Symbols, or Names API accept?

Required: vs_currencies (string). Optional: ids (string), include_24hr_change (boolean), include_24hr_vol (boolean), include_last_updated_at (boolean), include_market_cap (boolean) and include_tokens (one of top, all) and 3 more. The Parameters table and the Playground on this page list every field.

What does the CoinGecko Coin Price by IDs, Symbols, or Names API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a CoinGecko developer account or API key?

No. CoinGecko Coin Price by IDs, Symbols, or Names runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for CoinGecko API access separately.