国内调价预测
请求
GET /v1/adjustments/forecast响应
等待请求发送请求后显示 JSON 响应。
响应字段
| 字段 | 类型 | 说明 |
|---|---|---|
status | string | 固定为 estimated,表示预估。 |
unit | string | 聚合接口标注的单位,固定为 CNY/t。 |
estimates | object[] | 当前周期的预估。条目可能包含数值、文字摘要或两者。 |
estimates[].estimateFor | string · 日期 / null · 可省略 | 预计生效日期。文字预测条目省略此字段。 |
estimates[].workday | number / null · 可省略 | 预估所属调价周期的工作日序号。 |
estimates[].gasoline | number / null · 可省略 | 汽油预估变动,元/吨。 |
estimates[].diesel | number / null · 可省略 | 柴油预估变动,元/吨。 |
estimates[].combined | number · 可省略 | 汽柴油统一参考变动,单位元/吨。 |
estimates[].changePercent | number / null · 可省略 | 参考变化率。1.38 表示 1.38%。 |
estimates[].announcementDate | string · 日期 · 可省略 | 文字预测中的调价窗口日期。 |
estimates[].summary | string · 可省略 | 文字预测摘要,最多 360 字符。 |
estimates[].fetchedAt | string · 日期时间 | 该数据最近一次成功采集的时间。 |
estimates[].stale | boolean | 该条预估最近一次成功采集已达到 36 小时。 |
fetchedAt | string · 日期时间 | 该数据最近一次成功采集的时间。 |
stale | boolean | 任一仍在展示的预估过期时为 true。 |
状态码
| 状态码 | 说明 |
|---|---|
200 | 查询成功。成功响应结构见上表。 |
304 | 客户端发送的 If-None-Match 命中缓存。响应无正文。 |
429 | 请求超出频率限制。响应含 statusCode(number)、error 和 message(string)。 |
503 | DATA_UNAVAILABLE,暂无可用快照。 |
400、404 和 503 业务错误响应包含 error(错误码)和 message(说明),均为字符串。