GET
图片壁纸
米游社原神COS
米游社原神区的cos图
累计调用 10
今日调用 0
更新于 2026-10-16
调用地址
GET
https://itapi.top/api/MihoyoCos
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| page | number | 可选 | 页,默认1 | 1 |
| limit | number | 可选 | 返回长度,默认10 | 10 |
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
| code | number | 状态码 |
| message | string | 返回提示 |
| data | array | 返回数据 |
| data.*.title | string | 标题 |
| data.*.content | string | 内容 |
| data.*.created | string | 创建时间戳 |
| data.*.user | string | 用户信息 |
| data.*.images | string | 图片列表 |
响应示例
200 OK
🈚
在线测试
代码示例
cURL · GET
curl "https://itapi.top/api/MihoyoCos?page=1&limit=10"
PHP
<?php
$res = file_get_contents("https://itapi.top/api/MihoyoCos?page=1&limit=10");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res = await fetch("https://itapi.top/api/MihoyoCos?page=1&limit=10");
const json = await res.json();
console.log(json);
Python
import requests
r = requests.get("https://itapi.top/api/MihoyoCos?page=1&limit=10", timeout=10)
print(r.json())