API 和数据访问
面向分析师和轻量集成的公开 JSON、导出链接、来源发现和边界说明。
选择数据入口
- 1
已跟踪 slug
针对一个精选指标的稳定公开 JSON。
- 2
连接来源
当精选库不够宽时,按提供方搜索。
- 3
导出或健康检查
文件、可用性检查和集成探针。
三类公开数据入口
从能回答问题的最窄路由开始。只有任务需要时再扩大范围。
Endpoint 家族
公开路由按任务组织:已跟踪指标、连接来源研究或监测。
已跟踪指标 endpoints
基于 slug 的路由,用于页面元数据、图表历史、发布框架或单个公开序列的付费下载。
GET /api/indicators/libraryGET /api/indicators/library?scope=globalGET /api/indicators/library?scope=global&starter=trueGET /api/indicators/:slugGET /api/indicators/:slug/observationsGET /api/indicators/:slug/downloadGET /api/indicators/:slug/download/json连接来源研究 endpoints
覆盖已跟踪美国库之外的国家或多边数据搜索与预览。
GET /api/indicator-import/search?provider=worldbank&q=gdp%20growthGET /api/indicator-import/search?provider=imf&q=inflationGET /api/indicator-import/preview?provider=fred&seriesId=GDPC1时间、新闻和监测
发布日程、宏观新闻关联和可用性检查,而不是单个序列历史。
GET /api/calendar/releasesGET /api/newsGET /api/health快速开始
复制 endpoint 之前,先选择符合数据任务的路径。
基于已跟踪 slug 构建
适合已知道公开序列,并希望获取一个核心宏观指标的稳定 JSON。
GET /api/indicators/headline-cpi/observations拉取已跟踪全球目录
适合想要精选非美国部分,但不打开更广研究路由的情况。
GET /api/indicators/library?scope=global&starter=true搜索更广多边覆盖
适合问题是国家层面或多边层面,而已跟踪美国库不够用的情况。
GET /api/indicator-import/search?provider=worldbank&q=India%20GDP%20growth导出或监测
适合需要文件下载、预测输出或轻量健康检查 endpoint。
GET /api/health全球发现
从能回答问题的最窄路由开始。只有任务需要时再扩大范围。
使用规则
公开高读取路由是站点提供的 JSON endpoints,目前还不是单独的开发者密钥产品。
指标库路由支持 scope、source、category 和 slugs 等公开过滤器。
连接来源搜索和预览属于研究入口,尤其适合有归属要求的提供方。
下载和导出继承来源、归属和研究通道边界。
用户特定流程仍是账户功能,不是公开 feed。
健康检查路由
文件、可用性检查和集成探针。
GET /api/health