查看原始 JSON
{
"type": "object",
"required": [
"queryParams"
],
"properties": {
"queryParams": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"symbol",
"metric"
],
"~standard": {
"vendor": "zod",
"version": 1,
"jsonSchema": {}
},
"properties": {
"to": {
"type": "string",
"minLength": 1,
"description": "结束时间,可使用 Unix 秒级时间戳或日期字符串 YYYY-MM-DD,省略时为当天。时间跨度最长 365 天,每次响应最多约 100 个数据点。当 meta.has_more 为 true 时,请将 from/to 拆成更短的时间段;日数据可按约 90 天拆分。示例:2026-03-01。"
},
"from": {
"type": "string",
"minLength": 1,
"description": "开始时间,可使用 Unix 秒级时间戳或日期字符串 YYYY-MM-DD,省略时为 90 天前。时间跨度最长 365 天,每次响应最多约 100 个数据点。当 meta.has_more 为 true 时,请将 from/to 拆成更短的时间段;日数据可按约 90 天拆分。示例:2026-01-01。"
},
"metric": {
"enum": [
"nupl",
"sopr",
"mvrv",
"puell-multiple",
"nvm",
"nvt",
"nvt-golden-cross",
"exchange-flows/inflow",
"exchange-flows/outflow",
"exchange-flows/netflow",
"exchange-flows/reserve"
],
"type": "string",
"description": "链上指标名称,可选 nupl、sopr、mvrv、puell-multiple、nvm、nvt、nvt-golden-cross 或 exchange-flows/{inflow,outflow,netflow,reserve}。示例:nupl。"
},
"symbol": {
"enum": [
"BTC",
"ETH"
],
"type": "string",
"description": "代币代码,可选 BTC 或 ETH。示例:BTC。"
},
"exchange": {
"enum": [
"all_exchange",
"spot_exchange",
"derivative_exchange",
"coinbase_prime",
"binance",
"coinbase_advanced",
"okx",
"kraken",
"bybit",
"bitstamp",
"gemini",
"bitget",
"kucoin",
"bitfinex",
"gate_io",
"deribit",
"mexc",
"htx_global",
"bitflyer",
"coinone",
"bithumb",
"upbit",
"hashkey_exchange"
],
"type": "string",
"default": "all_exchange",
"description": "交易所资金流向指标的交易所筛选项。通过 /v1/market/exchange-flow/exchanges 查询支持的标识。默认 all_exchange。示例:all_exchange。"
},
"granularity": {
"enum": [
"day"
],
"type": "string",
"default": "day",
"description": "数据聚合粒度,默认 day。示例:day。"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}