GET /coins/prices/current/{coins}

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

Current USD price, symbol, timestamp and confidence for one or more coins.

Parameters

nameintypedescription
coinspathstrrequiredComma-separated coin keys, each `source:id` — e.g. `coingecko:ethereum`, `ethereum:0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045`
example: coingecko:ethereum,coingecko:bitcoin

Response

type: object
pagination: none
sample: {
  "coins": "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/defillama/coins/prices/current/coingecko:ethereum,coingecko:bitcoin"