GET /coins/{id}/contract/{contract_address}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coingecko/coins/{id}/contract/{contract_address}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeFull coin metadata and market data resolved by asset platform and token contract address.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | path | str | required | Asset platform id (from /asset_platforms). default: ethereumexample: ethereum |
contract_address | path | str | required | Token contract address on that platform. example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 |
Response
type: object
data key: tickers
pagination: none
sample: {
"id": "str",
"symbol": "str",
"name": "str",
"web_slug": "str",
"asset_platform_id": "str",
"platforms": "object",
"detail_platforms": "object",
"block_time_in_minutes": "int",
"hashing_algorithm": "null",
"categories": "array[43]",
"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/ethereum/contract/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"