API
免费只读JSON接口,覆盖本站所有数据——直接来自缓存,与网站同步更新。无需密钥。仅供研究与参考;报价有延迟/仅供参考,预测值标注为模型估算。
/countries
Every country with region and G20 flag
curl "https://alternativemarkets.ai/api/v1/countries"
/indicators
The indicator catalog (name, category, unit, source, frequency)
curl "https://alternativemarkets.ai/api/v1/indicators"
/indicator/{slug}
One indicator across all countries (latest values)
curl "https://alternativemarkets.ai/api/v1/indicator/inflation-rate?region=Europe"
/country/{slug}
Every indicator for one country (latest values)
curl "https://alternativemarkets.ai/api/v1/country/united-states"
/series/{country}/{indicator}
Full time series with from/to filters
curl "https://alternativemarkets.ai/api/v1/series/united-states/inflation-rate?from=2020-01-01"
/markets
Market catalog — commodities, indexes, currencies, crypto, bonds, shares
curl "https://alternativemarkets.ai/api/v1/markets?kind=commodity"
/quotes
Latest cached quotes with performance columns
curl "https://alternativemarkets.ai/api/v1/quotes?kind=crypto"
/history/{symbol}
~280 sessions of daily prices for one symbol
curl "https://alternativemarkets.ai/api/v1/history/GCUSD"
/calendar
Economic calendar with consensus and importance
curl "https://alternativemarkets.ai/api/v1/calendar?importance=3"
/earnings · /dividends · /ipos · /splits
Corporate event calendars
curl "https://alternativemarkets.ai/api/v1/earnings?from=2026-07-29"
/forecasts/{country}
Model (trend-v0) estimates — labeled, research-only
curl "https://alternativemarkets.ai/api/v1/forecasts/germany"
/stream
Latest data-driven news items
curl "https://alternativemarkets.ai/api/v1/stream?limit=20"
/search
Search countries, indicators, and markets
curl "https://alternativemarkets.ai/api/v1/search?q=gold"
备注
Responses use this envelope:
{
"data": [ { "code": "US", "name": "United States", "region": "America", "is_g20": true } ],
"meta": {
"count": 1,
"as_of": "2026-07-30T12:00:00Z",
"attribution": "Official statistics and financial-data providers; see /api docs",
"disclaimer": "Research/information only — not investment advice."
}
}
Everything is served from our own database — this API never triggers calls to upstream data vendors. CORS is open for read-only use. Please keep request volumes reasonable; heavy users should cache responses. Start at /api/v1 for a machine-readable index of all endpoints.