GET 图片壁纸

Cosplay

Cosplay图片,图片链接需要头部Referer才可以访问

累计调用 21 今日调用 0

更新于 2026-10-16

调用地址

GET
https://itapi.top/api/Cosplay

请求参数

参数名类型必填说明示例
type string 可选 返回格式,默认json可选text 暂无
0 string 可选 参考type 暂无

返回字段

字段名类型说明
code number 状态码
message string 返回提示
data array 返回数据
data.title string 标题
data.images array 图片数组

响应示例

200 OK
{"code":1,"message":"┌─title:[LEEHEE EXPRESS] LERB-191B - GMS\n├─images:\n    ├─https:\/\/wa.lmgmi.com\/images\/2024\/07\/LEEHEE-EXPRESS-LERB-191B-GMS-53P-184MB-1.webp\n    ├─https:\/\/wa.lmgmi.com\/images\/2024\/07\/LEEHEE-EXPRESS-LERB-191B-GMS-53P-184MB-2.webp\n    ├─https:\/\/wa.lmgmi.com\/images\/2024\/07\/LEEHEE-EXPRESS-LERB-191B-GMS-53P-184MB-3.webp\n    ├─https:\/\/wa.lmgmi.com\/images\/2024\/07\/LEEHEE-EXPRESS-LERB-191B-GMS-53P-184MB-4.webp\n    ├─https:\/\/wa.lmgmi.com\/images\/2024\/07\/LEEHEE-EXPRESS-LERB-191B-GMS-53P-184MB-5.webp\n    ├─https:\/\/wa.lmgmi.com\/images\/2024\/07\/LEEHEE-EXPRESS-LERB-191B-GMS-53P-184MB-6.webp\n    ├─https:\/\/wa.lmgmi.com\/images\/2024\/07\/LEEHEE-E...

在线测试

代码示例

cURL · GET
curl "https://itapi.top/api/Cosplay?type=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0"
PHP
<?php
$res  = file_get_contents("https://itapi.top/api/Cosplay?type=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res  = await fetch("https://itapi.top/api/Cosplay?type=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0");
const json = await res.json();
console.log(json);
Python
import requests

r = requests.get("https://itapi.top/api/Cosplay?type=%E6%9A%82%E6%97%A0&0=%E6%9A%82%E6%97%A0", timeout=10)
print(r.json())
返回接口列表