narrative_history
Get daily narrative/sector history — top crypto market sectors ranked by market cap change %, strength, and token count over up to 90 days — Daily historical narrative strength per market sector (e.g. DeFi, Layer 2, AI, Meme Coins) from CoinGecko Categories. One row per day per sector: market cap change %, strength score (0-100), token count in sector, daily rank, and top tokens. Filter by ?sector= for a single sector trend. Useful for identifying which narratives are accelerating or fading. DB-backed, 5-min cache. Powered by narrative_daily table (365d retention, permanent monthly archive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days of history to return (1–90, default 30). | |
| sector | No | Optional sector name filter (e.g. 'Artificial Intelligence'). Returns all sectors when omitted. |