Pixiv图片采集与随机API服务

总作品数

-

R18作品

-

非R18作品

-

最后采集时间

-

数据可视化

R18占比分布

最近7天采集趋势

随机图片API文档

接口地址

GET /api/public/random/artwork

请求参数

参数名 类型 必填 默认值 说明
limit integer 1 返回数量(1-10)
tags string 标签过滤,多个标签用逗号分隔
tags_match string or 标签匹配方式:and(所有标签)或 or(任一标签)
is_r18 string all R18过滤:true(只R18)、false(只非R18)、all(全部)
type string illust 作品类型:illust(插画)、manga(漫画)、ugoira(动画)

返回格式

{ "success": true, "count": 2, "artworks": [ { 'illust_id': '121607103', 'title': '雌小鬼兔糖糖', 'author_id': '9631509', 'author_name': 'YogurtWZI', 'url': 'https://i.pixiv.re/c/600x1200_90/img-master/img/2024/08/18/15/57/58/121607103_p0_master1200.jpg', 'share': 'https://www.pixiv.net/artworks/121607103', 'page': '1/1', 'total_bookmarks': 13967, 'total_view': 56412, 'tags': ["オリキャラ", "OC", "ソックス足裏", "白タイツ", "魅惑のふともも", "兔糖糖", "女の子", "メスガキ", "オリジナル10000users入り", "タイツ越しのパンツ"], 'type': 'illust', } ] }

使用示例

1. 获取单张随机图片

GET /api/public/random/artwork

2. 获取10张随机图片

GET /api/public/random/artwork?limit=10

3. 按标签过滤(任一标签)

GET /api/public/random/artwork?tags=原神,兽耳&tags_match=or

4. 按标签过滤(所有标签)

GET /api/public/random/artwork?tags=原神,兽耳&tags_match=and

立即测试API

点击下方按钮,获取一张随机图片