GET /api/content/ai-top-stories/coinIds
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/content/ai-top-stories/coinIdsCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeCoins that have an AI story for a langCode (id, name, symbol, slug).
name=ai_story_coin_ids. 128 coins. First was Bitcoin.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
langCode | query | str | required | Language code. Verified calls use en. example: en |
Response
type: array
pagination: none
sample: {
"len": "128",
"[0]": "object",
"[0].coinId": "1",
"[0].coinName": "Bitcoin",
"[0].coinSymbol": "BTC",
"[0].coinSlug": "bitcoin"
}
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/cmc/api/content/ai-top-stories/coinIds?langCode=en"