Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

CoinGecko Coin Data by ID

API dokümanları
https://api.sandbase.ai/v1/api/coingecko/coins

Get all the metadata (image, websites, socials, description, contract address, etc.) and market data (price, ATH, exchange tickers, etc.) of a coin from the CoinGecko coin page based on a particular coin ID

Fiyat
$0.008USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 8 isteğe bağlı

Oynatma Alanı

Girdi
Coin ID. *refers to [`/coins/list`](/reference/coins-list)
Include community data. Deprecated: has no effect as of 28 August 2026; the `community_data` object is no longer returned.
Include developer data. Deprecated: has no effect as of 28 August 2026; the `developer_data` object is no longer returned.
Set to `symbol` to display DEX pair base and target as symbols. Default: `contract_address`
Include categories details. Default: false
Include all localized languages in the response. Default: true
Include market data. Default: true
Include sparkline 7-day data. Default: false
Include tickers data. Default: true
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

CoinGecko Coin Data by ID API

Returns the CoinGecko page data for one coin: descriptions, links, categories, images, and market data. It needs a CoinGecko coin id such as bitcoin.

Use cases

  • Show a coin profile page with its logo, description, homepage, and social links.
  • Read the all-time high, all-time low, and market rank of a coin for a research dashboard.
  • Find a coin's categories, hashing algorithm, and genesis date for research tools.
  • Collect official repos, explorers, and whitepaper links for a coin.

Request

curl -X POST "https://api.sandbase.ai/v1/api/coingecko/coins" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "bitcoin"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
idstringYesCoin ID. *refers to /coins/list
community_databooleanNoInclude community data. Deprecated: has no effect as of 28 August 2026; the community_data object is no longer returned.
developer_databooleanNoInclude developer data. Deprecated: has no effect as of 28 August 2026; the developer_data object is no longer returned.
dex_pair_formatstringNoSet to symbol to display DEX pair base and target as symbols. Default: contract_address
include_categories_detailsbooleanNoInclude categories details. Default: false
localizationbooleanNoInclude all localized languages in the response. Default: true
market_databooleanNoInclude market data. Default: true
sparklinebooleanNoInclude sparkline 7-day data. Default: false
tickersbooleanNoInclude tickers data. Default: true

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "additional_notices": [],
  "asset_platform_id": null,
  "block_time_in_minutes": 10,
  "categories": [
    "Smart Contract Platform"
  ],
  "country_origin": "",
  "description": {
    "ar": "",
    "bg": "",
    "cs": "",
    "da": "",
    "de": "",
    "el": "",
    "en": "Bitcoin is the world's first decentralized cryptocurrency, created in 2009 by th…",
    "es": "¿Qué es Bitcoin (BTC)?\nBitcoin es el primer caso de éxito de dinero de Internet …",
    "fi": "",
    "fr": "",
    "he": "",
    "hi": ""
  },
  "detail_platforms": {
    "": {
      "contract_address": "",
      "decimal_place": null
    }
  },
  "genesis_date": "2009-01-03",
  "has_supply_breakdown": false,
  "hashing_algorithm": "SHA-256",
  "id": "bitcoin",
  "image": {
    "large": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400",
    "small": "https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png?1696501400",
    "thumb": "https://coin-images.coingecko.com/coins/images/1/thumb/bitcoin.png?1696501400"
  }
}

Response fields

FieldMeaning
idThe CoinGecko coin ID. Use it in other CoinGecko calls.
categoriesList of category names the coin belongs to, such as Layer 1 (L1).
description.enText description of the coin in English. Other language keys hold translations and may be empty.
image.large / image.small / image.thumbURLs of the coin logo in three sizes.
links.homepage / links.blockchain_site / links.whitepaper / links.repos_url.githubOfficial website, block explorer links, whitepaper link, and GitHub repository URLs.
genesis_date / hashing_algorithm / block_time_in_minutesLaunch date, the hashing algorithm name, and block time in minutes.
market_cap_rankRank of the coin by market cap.
market_data.ath / market_data.ath_date / market_data.ath_change_percentageAll-time high per quote currency, the date it happened, and the percent change from that high to now.
market_data.circulating_supplyNumber of coins in circulation.
market_data.fully_diluted_valuationFully diluted valuation of the coin, with one value per quote currency.

Notes

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
CoinGecko$0.008 çağrı başınaJSON
CoinGecko$0.008 çağrı başınaJSON
CoinGecko$0.008 çağrı başınaJSON
CoinGecko$0.008 çağrı başınaJSON
CoinGecko$0.008 çağrı başınaJSON
CoinGecko$0.008 çağrı başınaJSON

Sorular

SSS

CoinGecko Coin Data by ID API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/coingecko/coins adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

CoinGecko Coin Data by ID API'sinin fiyatı nedir?

çağrı başına $0.008, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

CoinGecko Coin Data by ID API'si hangi parametreleri kabul eder?

Gerekli: id (string). İsteğe bağlı: community_data (boolean), developer_data (boolean), dex_pair_format (contract_address, symbol arasından biri), include_categories_details (boolean), localization (boolean) ve market_data (boolean) ve 2 tane daha. Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

CoinGecko Coin Data by ID API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir CoinGecko geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. CoinGecko Coin Data by ID, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. CoinGecko API erişimi için ayrıca başvuru yapmanız gerekmez.