GET
AI 对话
每日一句
金山词霸每日一句
累计调用 12
今日调用 0
更新于 2026-10-16
调用地址
GET
https://itapi.top/api/Daily
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| date | string | 可选 | 日期,2023-10-17,默认为本日 | 暂无 |
| 0 | string | 可选 | 参考date | 暂无 |
| type | string | 可选 | 返回格式 | 暂无 |
| 1 | string | 可选 | 参考type | 暂无 |
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
| code | number | 状态码 |
| message | string | 返回提示 |
| data | array | 返回数据 |
| data.en | string | 英文 |
| data.zh | string | 中文 |
| data.tts | string | 音频链接 |
| data.image | string | 图片链接 |
响应示例
200 OK
{"code":1,"message":"Bread tastes better when it is shared.\n\n一起分享的面包,格外香甜。","data":{"en":"Bread tastes better when it is shared.","zh":"一起分享的面包,格外香甜。","tts":"https:\/\/staticedu-wps-cache.iciba.com\/audio\/624e4b322c4983302e21a54baddb3fee.mp3","image":"https:\/\/staticedu-wps-cache.iciba.com\/image\/32ee8fa4eedde07fb04cd170c14773f0.png"},"timestamp":1792151785723,"req_timestamp":1792151785434}
在线测试
代码示例
cURL · GET
curl "https://itapi.top/api/Daily?date=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&1=%E6%9A%82%E6%97%A0"
PHP
<?php
$res = file_get_contents("https://itapi.top/api/Daily?date=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&1=%E6%9A%82%E6%97%A0");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res = await fetch("https://itapi.top/api/Daily?date=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&1=%E6%9A%82%E6%97%A0");
const json = await res.json();
console.log(json);
Python
import requests
r = requests.get("https://itapi.top/api/Daily?date=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&1=%E6%9A%82%E6%97%A0", timeout=10)
print(r.json())