Base · todaybing.com v1

必应壁纸 API

推荐使用 OpenAPI v1(/api/v1/*)。鉴权使用 Authorization: Bearer YOUR_KEYapp_key;Key 格式为 tb_live_… / tb_test_…(类似 OpenAI sk-)。有 Key 的请求会计入日配额,并返回 X-RateLimit-*

接口调试

Playground

在浏览器内直接请求 /api/v1/*,用于验证 API Key 与接口是否正常。Key 仅保存在本机浏览器,不会上传到服务器以外的地方。

部分接口可不填 Key;填写后将以 Bearer 方式鉴权并计入配额。

登录申请 Key
等待发送

选择接口并填写 Key(如需),点击「发送请求」查看状态码、限流头与响应体。

概览

公开

无需 Key 即可查看能力清单与机器可读规范。

GET/api/v1
curl https://www.todaybing.com/api/v1
GET/api/v1/me 需 Key
curl -H "Authorization: Bearer YOUR_KEY" https://www.todaybing.com/api/v1/me
GET/api/v1/openapi.json
curl https://www.todaybing.com/api/v1/openapi.json

一 · 今日壁纸

免费

获取今日必应高清壁纸或元数据。旧路径 /api/today 仍可用;v1 路径在携带 Key 时计入配额。

GET/api/today · /api/v1/today
参数取值必须描述
sizehd / fhd / mhd / 1200p默认 hd(1920×1080)
formatejson返回 JSON;缺省返回图片流
dateYYYYMMDD历史请用 /api/v1/history
curl "https://www.todaybing.com/api/v1/today?formate=json&size=mhd"

二 · 未来必应壁纸

PRO · Key + 会员

获取即将发布的壁纸元数据;条数随会员档位变化。

GET/api/v1/future

返回字段:titlecopyrightdateimagearticleUrl 等。

curl -H "Authorization: Bearer YOUR_KEY" https://www.todaybing.com/api/v1/future

三 · 历史必应壁纸(中国区)

PRO · Key + 会员

按日期获取中国区历史壁纸元数据。

GET/api/v1/history
参数取值必须描述
dateYYYYMMDD例:20230101
curl -H "Authorization: Bearer YOUR_KEY" "https://www.todaybing.com/api/v1/history?date=20230101"

四 · 今日全球 feeds

PRO · Key + 会员

获取各区域当日最新必应元数据列表。

GET/api/v1/feeds

返回数组项含 articleUrlareaimagecopyrighttitledate

curl -H "Authorization: Bearer YOUR_KEY" https://www.todaybing.com/api/v1/feeds

旧路径 /api/future/api/history/api/feeds 未实现业务,请统一使用 /api/v1/*。 免费接口 /api/today 行为保持不变。