GET
图片壁纸
某壁纸
某壁纸
累计调用 9
今日调用 0
更新于 2026-10-16
调用地址
GET
https://itapi.top/api/XiaoMiWallpaper
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| page | int | 必填 | 页码 | 暂无 |
| format | int | 可选 | 分类 | 暂无 |
| 0 | string | 可选 | 不为空可以查看分类,/XiaoMiWallpaper/a | 暂无 |
| type | string | 可选 | 返回格式 | 暂无 |
| n | int | 可选 | 选择 | 暂无 |
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
| code | number | 状态码 |
| message | string | 反回提示 |
| data | array | 返回数据 |
| data.*.name | number | 壁纸名字 |
| data.*.uuid | string | 壁纸的uuid |
| data.*.fileSizeInKB | number | 图片大小 |
| data.*.url | string | 图片链接 |
| data.url | string | 图片链接 |
| data.webp | string | 图片链接webp格式 |
| data.png | string | 图片链接png格式 |
| data.jpeg | string | 图片链接jpeg格式 |
响应示例
200 OK
{"code":1,"message":"±img=https:\/\/ts.market.mi-img.com\/thumbnail\/png\/w1080q100\/ThemeMarket\/027efb8bad377467bb8dfa15330b7281a05498e48±\n#明日香绫波丽谁更酷","data":{"name":"明日香绫波丽谁更酷","uuid":"f8c18e62-fc67-4c84-9d31-32dae5035e21","fileSizeInKB":645693,"url":"https:\/\/ts.market.mi-img.com\/thumbnail\/webp\/w1080q100\/ThemeMarket\/027efb8bad377467bb8dfa15330b7281a05498e48","webp":"https:\/\/ts.market.mi-img.com\/thumbnail\/webp\/w1080q100\/ThemeMarket\/027efb8bad377467bb8dfa15330b7281a05498e48","png":"https:\/\/ts.market.mi-img.com\/thumbnail\/png\/w1080q100\/ThemeMarket\/027efb8bad377467bb8dfa15330b7281a05498e48","jpeg":"https:\/\/ts.market.mi-img.com\/thumbnail\/jpeg\/w1080q100\/ThemeMarket\/0...
在线测试
代码示例
cURL · GET
curl "https://itapi.top/api/XiaoMiWallpaper?page=%E6%9A%82%E6%97%A0&format=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&n=%E6%9A%82%E6%97%A0"
PHP
<?php
$res = file_get_contents("https://itapi.top/api/XiaoMiWallpaper?page=%E6%9A%82%E6%97%A0&format=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&n=%E6%9A%82%E6%97%A0");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res = await fetch("https://itapi.top/api/XiaoMiWallpaper?page=%E6%9A%82%E6%97%A0&format=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&n=%E6%9A%82%E6%97%A0");
const json = await res.json();
console.log(json);
Python
import requests
r = requests.get("https://itapi.top/api/XiaoMiWallpaper?page=%E6%9A%82%E6%97%A0&format=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0&type=%E6%9A%82%E6%97%A0&n=%E6%9A%82%E6%97%A0", timeout=10)
print(r.json())