GET
社交平台
白桃星座
白桃星座,很真实。每周日晚上10点更新下周,推荐去微博、微信公众号等地方看白桃星座
累计调用 9
今日调用 0
更新于 2026-10-16
调用地址
GET
https://itapi.top/api/Baitao
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| name | string | 必填 | 查询的星座 | 暂无 |
| 0 | string | 必填 | 同name | 暂无 |
| type | string | 必填 | 返回格式 | 暂无 |
| 1 | string | 必填 | type | 暂无 |
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
| code | number | 状态码 |
| message | string | 返回提示 |
| data | array | 返回数据 |
| data.* | string | 星座图片 |
响应示例
200 OK
木有,返回的图片链接,需要头部携带referer或者更改清晰度
在线测试
代码示例
cURL · GET
curl "https://itapi.top/api/Baitao?name=%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/Baitao?name=%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/Baitao?name=%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/Baitao?name=%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())