GET /coins/{coin_id}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coingecko/coins/{coin_id}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Full detail record for one coin, including market data.

Parameters

nameintypedescription
coin_idpathstrrequiredCoin id (slug), e.g. bitcoin.
example: bitcoin
localizationquerybooloptionalInclude localized names in every language.
default: False
example: False
tickersquerybooloptionalInclude exchange ticker rows.
default: False
example: False
market_dataquerybooloptionalInclude price, market cap and volume block.
default: True
example: True
community_dataquerybooloptionalInclude social/community counters.
default: True
example: True
developer_dataquerybooloptionalInclude repository/commit counters.
default: True
example: True
sparklinequerybooloptionalInclude a 7-day sparkline array.
default: False
example: False

Response

type: object
data key: tickers
pagination: none
sample: {
  "id": "str",
  "symbol": "str",
  "name": "str",
  "web_slug": "str",
  "asset_platform_id": "null",
  "platforms": "object",
  "detail_platforms": "object",
  "block_time_in_minutes": "int",
  "hashing_algorithm": "str",
  "categories": "array[8]",
  "preview_listing": "bool",
  "public_notice": "null",
  "additional_notices": "array[0]",
  "localization": "object",
  "description": "object",

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/coingecko/coins/bitcoin?localization=False&tickers=False&market_data=True&community_data=True&developer_data=True&sparkline=False"