GET /coins/percentage/{coins}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/defillama/coins/percentage/{coins}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeNormalized (percentage) prices across the requested coins.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
coins | path | str | required | Comma-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/percentage/coingecko:ethereum,coingecko:bitcoin"