Skip to content

Latest commit

 

History

History
106 lines (68 loc) · 1.78 KB

API.md

File metadata and controls

106 lines (68 loc) · 1.78 KB

pixiv.moe API Docs

The prefix of all APIs is https://api.pixiv.moe

Fetch access token

All request to pixiv.moe API should be passed with Authorization header.
There is a limit on the number of requests per minute.

GET /session

Fetch the ranking illustrations

GET /v2/ranking?page=:page

Fetch trending illustrations and tags

GET /v2/trending/tags

Search the illustrations

GET /v2/search?word=:word&page=:page

Fetch the details of a single illustration

GET /v2/illust/:illustId

Fetch the details of a single ugoira

GET /v2/illust/ugoira/:illustId

Fetch the comments of an illustration

GET /v2/illust/comments/:illustId?page=:page

Image proxy

GET /image/:url

Example:

GET /image/i.pximg.net/c/600x1200_90/img-master/img/2020/04/07/01/35/22/80618126_p0_master1200.jpg

Test:

Single Image

GET /image/:illustId.(jpg|png|gif)

Example:

GET /image/80617627.jpg

Test:

Multiple Images

GET /image/:illustId-:index.(jpg|png|gif)

Example:

GET /image/80617627-2.jpg

Test:

Convert to Webp

GET /image/i.pximg.net/c/600x1200_90/img-master/img/2020/04/07/01/35/22/[email protected]

Test: