API Documentation
Complete Agentic Finance Hub integration reference — REST API · MCP · Skills · and more
https://api.fusionintel.net/v1Authentication
Data API requests require an API key in the HTTP header, except endpoints marked “No Auth”:
curl -L -H "X-API-Key: sk_your_api_key_here" \
"https://api.fusionintel.net/v1/stock/000001.SZ?period=30d"Register to get a free API Key. Please keep it safe and do not expose it in client-side code.
Responses are returned as inline JSON (Content-Type: application/json) — no redirect to follow. The body is typically shaped as { metadata, data: [[...rows]] }. Response Cache-Control is private, no-store.
Public Endpoints
/v1/public/feargreed/latestNo AuthPublic endpoint (no API key required): latest A-share macro fear & greed snapshot, suitable for web/mini-program display.
Request Example
# Public snapshot — no API key required
curl https://api.fusionintel.net/v1/public/feargreed/latestResponse Example
{
"category": "a_stock_macro",
"code": "shi_feargreedindex",
"latest_date": "2026-05-09",
"sh_index": 3245.68,
"feargreed_index": 42.5,
"sentiment_label": "中性",
"source": "latest_json",
"fetched_at": "2026-05-12T09:30:00+00:00",
"stale_seconds": 12,
"is_stale": false
}A-Share Basic Data
/v1/stock/{code}Retrieve A-share prices. Free uses period=30d only; check response metadata for the available rows and adjustment basis.
period: latest / 7d / 30d / 180d / 1y / 3y / all; Free: 30d only; Pro: up to 1y; Pro+: up to 3y; Pro+ Max: allRequest Example
# Free: Ping An Bank prices (period=30d only)
curl -H "X-API-Key: sk_your_key" \
https://api.fusionintel.net/v1/stock/000001.SZ
# Pro: request up to 1 year of price data
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/stock/000001.SZ?period=1y"Response Example
{
"metadata": {
"symbol": "000001.SZ",
"name": "平安银行",
"period": "1y",
"latest_date": "2026-04-24",
"columns": ["date", "open", "close", "low", "high", "high_limit", "low_limit"]
},
"data": [
["2026-04-23", 11.20, 11.35, 11.10, 11.40, 12.49, 10.22],
["2026-04-24", 11.35, 11.28, 11.20, 11.42, 12.49, 10.22]
]
}A-Share Macro Fear & Greed
/v1/feargreed/a_stock_macro/shi_feargreedindexGet time series for A-share macro fear & greed (code=shi_feargreedindex)
period depends on your plan: Free up to 30d; Pro up to 1y; Pro+ up to 3y; Pro+ Max allRequest Example
# A-share macro fear & greed uses the fixed code shi_feargreedindex
# This single-instrument category uses a fixed code, not /list
# Request the 30d fear & greed window
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/a_stock_macro/shi_feargreedindex?period=30d"Response Example
{
"metadata": {
"category": "a_stock_macro",
"category_name": "A股宏观恐贪指数",
"code": "shi_feargreedindex",
"name": "上证恐贪指数",
"period": "30d",
"latest_date": "2026-05-13",
"columns": ["date", "price", "feargreed_index"]
},
"data": [
["2026-04-14", 4128.31, 72.45],
["2026-04-15", 4156.02, 78.12],
["...", 0, 0],
["2026-05-13", 4242.572, 95.11]
]
}A-Share Sector Fear & Greed
/v1/feargreed/a_stock_sectors/list ProGet sector list for A-share sector fear & greed index
Returns the current sector catalog; code example: sector0001/v1/feargreed/a_stock_sectors/{sector_code} ProGet time series for a specific A-share sector fear & greed index
Get sector_code from the catalog; Pro up to 1y; Pro+ up to 3y; Pro+ Max allRequest Example
# Get the current A-share sector catalog; codes use lowercase sectorXXXX
curl -H "X-API-Key: sk_your_key" \
https://api.fusionintel.net/v1/feargreed/a_stock_sectors/list
# Get one sector fear & greed series; obtain its code from the catalog
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/a_stock_sectors/sector0001?period=1y"Response Example
// 1. /list response: data is an array of objects
{
"metadata": {
"category": "a_stock_sectors",
"category_name": "A股板块恐贪指数",
"count": 407
},
"data": [
{"code": "sector0001", "name": "参股保险"},
{"code": "sector0002", "name": "天津自贸区"}
]
}
// 2. Sector series: TablePayload (data is a two-dimensional array)
{
"metadata": {
"category": "a_stock_sectors",
"code": "sector0001",
"name": "参股保险",
"period": "latest",
"latest_date": "2026-05-13",
"columns": ["date", "price", "feargreed_index"]
},
"data": [["2026-05-13", 1465.97, 9.76]]
}A-Share Individual Stock Fear & Greed
/v1/feargreed/a_stock_individual/list Pro+ MaxGet instrument list for A-share individual stock fear & greed index · Max only, all history
Pro+ Max only; codes such as 000001.SZ / 600519.SH/v1/feargreed/a_stock_individual/{code} Pro+ MaxGet time series for an individual A-share stock fear & greed index (code like 000001.SZ) · Max only, all history
Pro+ Max only; period: latest / 7d / 30d / 180d / 1y / 3y / allRequest Example
# Get the A-share individual-stock catalog (Pro+ Max); codes use 000001.SZ / 600519.SH
curl -H "X-API-Key: sk_your_key" \
https://api.fusionintel.net/v1/feargreed/a_stock_individual/list
# Get individual-stock fear & greed (Pro+ Max), e.g. 000001.SZ
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/a_stock_individual/000001.SZ?period=180d"Response Example
{
"metadata": {
"category": "a_stock_individual",
"code": "000001.SZ",
"name": "平安银行",
"period": "7d",
"latest_date": "2026-05-12",
"columns": ["date", "price", "feargreed_index"]
},
"data": [
["2026-04-29", 11.52, 84.73],
["2026-04-30", 11.49, 86.26],
["2026-05-06", 11.36, 83.70],
["2026-05-07", 11.37, 82.41],
["2026-05-08", 11.30, 78.63]
]
}ETF Fear & Greed
/v1/feargreed/a_stock_etf/list Pro+ETF fear & greed catalog
Pro+ / Max · 159601.ETF/v1/feargreed/a_stock_etf/{code} Pro+ETF fear & greed series
Pro+ ≤ 3y; Max all · latest, 7d, 30d, 180d, 1y, 3y, allcurl -H "X-API-Key: sk_your_key" "https://api.fusionintel.net/v1/feargreed/a_stock_etf/list"
curl -H "X-API-Key: sk_your_key" "https://api.fusionintel.net/v1/feargreed/a_stock_etf/159601.ETF?period=3y"Sector Aggregates
Commodity Fear & Greed
/v1/feargreed/commodity/list Pro+Commodity fear & greed: Pro+ up to 3y; Max all
Pro+ / Pro+ Max; use the current catalog; code examples: AU / SC / CU/v1/feargreed/commodity/{code} Pro+Commodity fear & greed: Pro+ up to 3y; Max all
code examples: AU (gold) / SC (crude oil); Pro+ up to 3y; Pro+ Max allRequest Example
# Get the commodity catalog (Pro+ or Pro+ Max); codes such as AU / SC / CU
curl -H "X-API-Key: sk_your_key" \
https://api.fusionintel.net/v1/feargreed/commodity/list
# Get commodity fear & greed, e.g. AU (gold), SC (crude oil), CU (copper)
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/commodity/AU?period=180d"Response Example
// 1. /list response:
{
"metadata": { "category": "commodity", "count": 56 },
"data": [
{"code": "AU", "name": "黄金"},
{"code": "SC", "name": "原油"},
{"code": "CU", "name": "沪铜"}
// ... 53 more
]
}
// 2. Instrument time series: TablePayload
{
"metadata": {
"category": "commodity",
"code": "AU",
"name": "黄金",
"period": "latest",
"latest_date": "2026-05-13",
"columns": ["date", "price", "feargreed_index"]
},
"data": [["2026-05-13", 1030.56, 76.87]]
}A-Share Valuation Data
/v1/valuation/list ProGet the list of A-share tickers (with names) for which valuation data is available
Returns A-share codes with available valuation data/v1/valuation/columns ProGet the schema for the 17 valuation fields (label / unit / description), including PE, PB, market cap, turnover rate, dividend yield, etc.
Returns label / unit / description for valuation fields/v1/valuation/{code} ProGet the valuation time series for a specific A-share ticker (PE / PB / market cap / turnover rate / dividend yield — 17 fields). Pro: up to 1y; Pro+: up to 3y; Max: all history.
period (latest, 7d, 30d, 180d, 1y, 3y, all) · Pro ≤ 1y; Pro+ ≤ 3y; Max all · 000001.SZRequest Example
# List A-shares with available valuation data
curl -H "X-API-Key: sk_your_key" \
https://api.fusionintel.net/v1/valuation/list
# Valuation field schema: PE / PB / market cap / turnover / dividend yield ...
curl -H "X-API-Key: sk_your_key" \
https://api.fusionintel.net/v1/valuation/columns
# Stock valuation series: Pro up to 1y / Pro+ up to 3y / Pro+ Max all
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/valuation/000001.SZ?period=180d"Response Example
// 1. /list response:
{
"metadata": { "category": "valuation", "sub_category": "a_stock", "count": 5000 },
"data": [
{"code": "000001.SZ", "name": "平安银行"},
{"code": "600519.SH", "name": "贵州茅台"}
]
}
// 2. /columns response (excerpt):
{
"metadata": { "category": "valuation", "sub_category": "a_stock", "count": 17 },
"data": [
{"field": "pe_ttm", "label": "市盈率(TTM)", "unit": "", "description": "总市值/归母净利润TTM"},
{"field": "pb", "label": "市净率", "unit": "", "description": "总市值/(归母净资产-其他权益工具)MRQ"},
{"field": "total_mktcap", "label": "总市值", "unit": "亿元", "description": "收盘价×总股本(含A+B+H)"},
{"field": "turnover_rate", "label": "换手率", "unit": "%", "description": "成交量/流通股本×100%"},
{"field": "div_yield_ttm", "label": "股息率(TTM)", "unit": "%", "description": "近12个月派现合计/总市值"}
]
}
// 3. Stock time series: parse the data array using metadata.columns
{
"metadata": {
"symbol": "000001.SZ",
"name": "平安银行",
"period": "30d",
"latest_date": "2026-05-13",
"columns": ["date", "total_shares", "a_float_shares", "total_mktcap", "a_float_mktcap",
"turnover_rate", "pe_ttm", "pe_lyr", "pb", "ps_ttm", "pcf_ncf_ttm",
"pcf_ocf_ttm", "div_yield_ttm", "free_float_shares", "free_float_mktcap",
"a_total_shares", "a_total_mktcap"]
},
"data": [
["2026-05-13", 19405760.0, 19405760.0, 2200.65, 2200.65, 0.45, 5.21, 5.18, 0.62, 1.48, 8.32, 7.65, 4.83, 16500000.0, 1870.42, 19405760.0, 2200.65]
]
}HK Macro Fear & Greed
/v1/feargreed/hk_stock_macro/hsi_feargreedindex ProGet time series for HK macro fear & greed (code=hsi_feargreedindex)
Fixed code=hsi_feargreedindex; Pro up to 1y; Pro+ up to 3y; Pro+ Max allRequest Example
# HK macro fear & greed uses the fixed code hsi_feargreedindex
# This single-instrument category uses a fixed code, not /list
# Get the 30d Hang Seng fear & greed window
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/hk_stock_macro/hsi_feargreedindex?period=30d"Response Example
{
"metadata": {
"category": "hk_stock_macro",
"category_name": "港股宏观恐贪指数",
"code": "hsi_feargreedindex",
"name": "恒指恐贪指数",
"period": "latest",
"latest_date": "2026-05-13",
"columns": ["date", "price", "feargreed_index"]
},
"data": [["2026-05-13", 26388.44, 66.04]]
}HK Sector Fear & Greed
/v1/feargreed/hk_stock_sectors/list ProHK sector fear & greed: Pro up to 1y, Pro+ up to 3y, Max all
Pro / Pro+ / Max · HK.LIST1180 / EM.HK.039cddf0ea/v1/feargreed/hk_stock_sectors/{code} ProHK sector fear & greed: Pro up to 1y, Pro+ up to 3y, Max all
period (latest, 7d, 30d, 180d, 1y, 3y, all) · Pro ≤ 1y; Pro+ ≤ 3y; Max allHK sectors: Pro up to 1y, Pro+ up to 3y, Max all. US sectors: Max only. Neither is available on Free.
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/hk_stock_sectors/list"
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/hk_stock_sectors/HK.LIST1180?period=1y"US Sector Fear & Greed
/v1/feargreed/us_stock_sectors/list Pro+ MaxGet US sector names and canonical codes · Max only
Max · usi_041a9194a617/v1/feargreed/us_stock_sectors/{code} Pro+ MaxGet US sector fear & greed · Max only, all history
Max only · latest, 7d, 30d, 180d, 1y, 3y, allHK sectors: Pro up to 1y, Pro+ up to 3y, Max all. US sectors: Max only. Neither is available on Free.
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/us_stock_sectors/list"
curl -H "X-API-Key: sk_your_key" \
"https://api.fusionintel.net/v1/feargreed/us_stock_sectors/usi_041a9194a617?period=1y"US Macro Fear & Greed
/v1/feargreed/us_stock_macro/list ProList the Dow Jones, Nasdaq Composite and S&P 500 fear & greed indices
dow_jones / nasdaq_composite / sp500; Pro / Pro+ / Pro+ Max/v1/feargreed/us_stock_macro/{code} ProUS macro fear & greed time series; separate from Max-only US sectors
dow_jones / nasdaq_composite / sp500; Pro ≤1y; Pro+ ≤3y; Max all; latest, 7d, 30d, 180d, 1y, 3y, allError Codes
| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | INVALID_PERIOD | Windows: latest, 7d, 30d, 180d, 1y, 3y, all, subject to plan access |
| 401 | UNAUTHORIZED | API key is invalid or revoked |
| 422 | VALIDATION_ERROR | Missing required header (such as X-API-Key) or invalid request parameters |
| 403 | FORBIDDEN | No permission to access this endpoint (upgrade required) |
| 404 | NOT_FOUND | Requested resource not found |
| 429 | RATE_LIMIT_EXCEEDED | Daily API call limit exceeded |
| 500 | INTERNAL_ERROR | Internal server error |
Error Response Format
{
"detail": "daily limit exceeded"
}Rate Limits
Free Plan
- - 100 API calls per day
- - Includes A-share basic data (recent 30d)
- - Includes A-share macro fear & greed index (recent 30d)
- - Returns 429 status code when exceeded
Pro Plan
- - 1,000 API calls/day
- - Core datasets up to 1y; excludes commodity, ETF, US sectors and A-share individual fear & greed
Pro+ Plan
- - 3,000 API calls/day
- - Adds commodity and ETF fear & greed up to 3y; excludes US sectors and A-share individual fear & greed
Pro+ Max
- - 10,000 API calls/day
- - All dataset categories and all available history
View usage in the dashboard or call /keys/usage with your login token. Requests above the daily quota return 429. Production quotas reset at 00:00 Beijing time (UTC+8).
GET /keys/usage
Authorization: Bearer <login_token>
[{ "key_prefix": "sk_...", "name": "", "count": 13, "month_count": 87, "limit": 100 }]