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 freeFull detail record for one coin, including market data.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
coin_id | path | str | required | Coin id (slug), e.g. bitcoin. example: bitcoin |
localization | query | bool | optional | Include localized names in every language. default: Falseexample: False |
tickers | query | bool | optional | Include exchange ticker rows. default: Falseexample: False |
market_data | query | bool | optional | Include price, market cap and volume block. default: Trueexample: True |
community_data | query | bool | optional | Include social/community counters. default: Trueexample: True |
developer_data | query | bool | optional | Include repository/commit counters. default: Trueexample: True |
sparkline | query | bool | optional | Include a 7-day sparkline array. default: Falseexample: 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"