市场数据

面向 AI 智能体的加密情绪 API

一个 API 获取加密市场恐惧与贪婪指数:自 2018 年起每天一个 0 到 100 的数值及其分级,从极度恐惧到极度贪婪。将市场情绪与价格、资金流一起接入您的模型,使用同一密钥、同一格式。同一 API 还提供 CoinMarketCap 自己的恐惧与贪婪指数、山寨币季节指数以及 CMC20 与 CMC100 指数。

加密市场的恐惧与贪婪指数:每天一个 0 到 100 的数值及其分类,始于 2018 年。全市场数据:不接受交易对。

#面向 AI 智能体与 LLM 的加密情绪数据

“市场处于恐惧还是贪婪?”“现在是山寨币季节吗?”“CMC20 本月表现如何?”:AI 智能体通过 MCP 工具 get_market_overview 读取市场情绪,无需指定交易对。

MCP tools/call
一次 MCP 调用获取两个恐惧与贪婪指数和山寨币季节指数。
{
  "name": "get_market_overview",
  "arguments": {
    "fields": ["fear_greed", "fear_greed_cmc", "altcoin_season"]
  }
}
  • 给 LLM 的提示:两个恐惧与贪婪指数(alternative.me 与 CoinMarketCap)是不同的指数,数值也不同,回答时应注明引用的是哪一个。
  • 给开发者:/v1/fear-greed 与 /v1/altcoin-season 是适合你自己 AI 智能体(tool calling)的小而稳定的工具,标签从 extreme_fear 到 extreme_greed。
  • 适用环境:Claude、ChatGPT、Cursor 及任何 MCP 客户端,包括支持 MCP 的 AI 智能体框架,如 LangChain 或 n8n。

通过 MCP 服务器指南接入你的 AI 智能体,或用开源的 Agent Skills 教它使用 BytNode。

#恐惧与贪婪指数

GET/v1/fear-greeddata_type · fear_greed完整参考
此接口的全部 3 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)The day the value refers to, at midnight UTC.
valuescore from 0 to 100Crypto Fear & Greed Index (alternative.me). 0 = extreme fear, 100 = extreme greed.
labelLabel of the value, from alternative.me's scale: `extreme_fear`, `fear`, `neutral`, `greed` or `extreme_greed` (snake_case, like every label of the API).
GET/v1/fear-greed/historydata_type · fear_greed_history完整参考
此接口的全部 4 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)The day the value refers to, at midnight UTC.
valuescore from 0 to 100Crypto Fear & Greed Index (alternative.me). 0 = extreme fear, 100 = extreme greed.
labelLabel of the value, from alternative.me's scale: `extreme_fear`, `fear`, `neutral`, `greed` or `extreme_greed` (snake_case, like every label of the API).
is_closed`true` = the row is final; `false` = provisional: the latest bucket while it still settles (a few seconds after its end, e.g. a candle whose volumes are not final yet), or the period in progress with `?live=1` on the routes that take it. Exception, rare: when a venue delivers trades LATE (seconds to minutes, e.g. during a burst), a closed row built from trades (trade candles, candle volumes, CVD, buy/sell ratio, trades per second) is corrected afterwards to include them, usually within minutes and at most one hour later; the correction only adds the late trades.

加密市场的恐惧与贪婪指数:0 到 100 的数值及其 label,从 extreme_fear 到 extreme_greed(采用 alternative.me 的等级,与 BytNode 的所有标签一样为 snake_case)。全市场数据:不接受交易对。

响应
{
  "status": "ok",
  "server_time": "2026-11-08T12:51:51.873Z",
  "data_type": "fear_greed",
  "data": {
    "time": "2026-11-08T00:00:00.000Z",
    "value": 28,
    "label": "fear"
  }
}

每天一个数据点

该指数每天发布一次,对齐到 UTC 午夜。历史可追溯至 2018 年,超过三千个数据点。每天查询超过一次只会消耗配额而得不到新信息。

#CMC 恐惧与贪婪指数

GET/v1/fear-greed/cmcdata_type · fear_greed_cmc完整参考
此接口的全部 3 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)Point-in-time value: the instant of the measurement (when the source was read).
valuescore from 0 to 100CMC Crypto Fear & Greed Index (CoinMarketCap), a different index from `/v1/fear-greed` (alternative.me). 0 = extreme fear, 100 = extreme greed.
labelLabel of the value, from CoinMarketCap's scale: `extreme_fear`, `fear`, `neutral`, `greed` or `extreme_greed` (snake_case, like every label of the API).
GET/v1/fear-greed/cmc/historydata_type · fear_greed_cmc_history完整参考
此接口的全部 4 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)The day the value refers to, at midnight UTC.
valuescore from 0 to 100CMC Crypto Fear & Greed Index (CoinMarketCap), a different index from `/v1/fear-greed` (alternative.me). 0 = extreme fear, 100 = extreme greed.
labelLabel of the value, from CoinMarketCap's scale: `extreme_fear`, `fear`, `neutral`, `greed` or `extreme_greed` (snake_case, like every label of the API).
is_closed`true` = the row is final; `false` = provisional: the latest bucket while it still settles (a few seconds after its end, e.g. a candle whose volumes are not final yet), or the period in progress with `?live=1` on the routes that take it. Exception, rare: when a venue delivers trades LATE (seconds to minutes, e.g. during a burst), a closed row built from trades (trade candles, candle volumes, CVD, buy/sell ratio, trades per second) is corrected afterwards to include them, usually within minutes and at most one hour later; the correction only adds the late trades.

CoinMarketCap 自己的恐惧与贪婪指数,与上面的指数不同:0 到 100 的值及其 label(extreme_fear 至 extreme_greed)。当前值在日内更新;/history 自 2023 年起每日 UTC 零点一个点。

响应
{
  "status": "ok",
  "server_time": "2026-11-08T12:51:52.886Z",
  "data_type": "fear_greed_cmc",
  "data": {
    "time": "2026-11-08T12:38:10.041Z",
    "value": 32,
    "label": "fear"
  }
}

#山寨币季节指数

GET/v1/altcoin-seasondata_type · altcoin_season完整参考
此接口的全部 7 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)Point-in-time value: the instant of the measurement (when the source was read).
valuescore from 0 to 100Altcoin Season Index (CoinMarketCap): how many of the top altcoins outperformed BTC over the last 90 days. High = altcoin season, low = bitcoin season.
year_lowscore from 0 to 100Lowest value of the index over the last year.
year_highscore from 0 to 100Highest value of the index over the last year.
year_low_atISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)Day of that lowest value, at midnight UTC.
year_high_atISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)Day of that highest value, at midnight UTC.
altcoin_market_cap_usdUSDTotal market capitalisation of the altcoins (excluding BTC).
GET/v1/altcoin-season/historydata_type · altcoin_season_history完整参考
此接口的全部 4 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)The day the value refers to, at midnight UTC.
valuescore from 0 to 100Altcoin Season Index (CoinMarketCap): how many of the top altcoins outperformed BTC over the last 90 days. High = altcoin season, low = bitcoin season.
altcoin_market_cap_usdUSDTotal market capitalisation of the altcoins (excluding BTC).
is_closed`true` = the row is final; `false` = provisional: the latest bucket while it still settles (a few seconds after its end, e.g. a candle whose volumes are not final yet), or the period in progress with `?live=1` on the routes that take it. Exception, rare: when a venue delivers trades LATE (seconds to minutes, e.g. during a burst), a closed row built from trades (trade candles, candle volumes, CVD, buy/sell ratio, trades per second) is corrected afterwards to include them, usually within minutes and at most one hour later; the correction only adds the late trades.

山寨币还是比特币领涨:从 0(比特币季节)到 100(山寨币季节),附 altcoin_market_cap_usd 及一年内的高点和低点(year_high、year_low 及其日期)。/history 每日一个点,从最近 90 天开始。

响应
{
  "status": "ok",
  "server_time": "2026-11-08T12:51:53.925Z",
  "data_type": "altcoin_season",
  "data": {
    "time": "2026-11-08T12:38:27.000Z",
    "value": 38,
    "year_low": 14,
    "year_high": 64,
    "year_low_at": "2025-12-19T00:00:00.000Z",
    "year_high_at": "2026-09-27T00:00:00.000Z",
    "altcoin_market_cap_usd": 1016577631975
  }
}

#CMC20 与 CMC100 指数

GET/v1/indices/cmc20data_type · indices_cmc20完整参考
此接口的全部 7 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)Point-in-time value: the instant of the measurement (when the source was read).
valueindex pointsCoinMarketCap 20 Index: the 20 largest crypto assets, weighted by market capitalisation.
constituentsThe assets of the index, with their weight.
constituents.nameAsset name (`Bitcoin`).
constituents.assetAsset symbol (`BTC`).
constituents.weight_pctpercent (58.5 = 58.5 %)Weight of the asset in the index (70.9 = 70.9 %).
change_24h_pctpercent (58.5 = 58.5 %)Change of the index over the last 24 hours.
GET/v1/indices/cmc20/historydata_type · indices_cmc20_history完整参考
此接口的全部 3 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)The day the value refers to, at midnight UTC.
valueindex pointsCoinMarketCap 20 Index: the 20 largest crypto assets, weighted by market capitalisation.
is_closed`true` = the row is final; `false` = provisional: the latest bucket while it still settles (a few seconds after its end, e.g. a candle whose volumes are not final yet), or the period in progress with `?live=1` on the routes that take it. Exception, rare: when a venue delivers trades LATE (seconds to minutes, e.g. during a burst), a closed row built from trades (trade candles, candle volumes, CVD, buy/sell ratio, trades per second) is corrected afterwards to include them, usually within minutes and at most one hour later; the correction only adds the late trades.
GET/v1/indices/cmc100data_type · indices_cmc100完整参考
此接口的全部 7 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)Point-in-time value: the instant of the measurement (when the source was read).
valueindex pointsCoinMarketCap 100 Index: the 100 largest crypto assets, weighted by market capitalisation.
constituentsThe assets of the index, with their weight.
constituents.nameAsset name (`Bitcoin`).
constituents.assetAsset symbol (`BTC`).
constituents.weight_pctpercent (58.5 = 58.5 %)Weight of the asset in the index (67.9 = 67.9 %).
change_24h_pctpercent (58.5 = 58.5 %)Change of the index over the last 24 hours.
GET/v1/indices/cmc100/historydata_type · indices_cmc100_history完整参考
此接口的全部 3 个字段(取自接口契约)
timeISO 8601 UTC, milliseconds (2026-09-28T14:00:00.000Z)The day the value refers to, at midnight UTC.
valueindex pointsCoinMarketCap 100 Index: the 100 largest crypto assets, weighted by market capitalisation.
is_closed`true` = the row is final; `false` = provisional: the latest bucket while it still settles (a few seconds after its end, e.g. a candle whose volumes are not final yet), or the period in progress with `?live=1` on the routes that take it. Exception, rare: when a venue delivers trades LATE (seconds to minutes, e.g. during a burst), a closed row built from trades (trade candles, candle volumes, CVD, buy/sell ratio, trades per second) is corrected afterwards to include them, usually within minutes and at most one hour later; the correction only adds the late trades.

CoinMarketCap 的两个市场指数,分别涵盖市值最大的 20 种和 100 种加密资产:value、change_24h_pct 以及每个成分及其权重(asset、name、weight_pct)。/history 自 2024 年 1 月起每日一个值。

响应
{
  "status": "ok",
  "server_time": "2026-11-08T12:51:54.955Z",
  "data_type": "indices_cmc20",
  "data": {
    "time": "2026-11-08T12:42:35.000Z",
    "value": 154.95,
    "constituents": [
      {
        "name": "Bitcoin",
        "asset": "BTC",
        "weight_pct": 70.89
      },
      {
        "name": "Ethereum",
        "asset": "ETH",
        "weight_pct": 12.7
      },
      {
        "name": "BNB",
        "asset": "BNB",
        "weight_pct": 4.27
      }
    ],
    "change_24h_pct": -0.05
  }
}