Images
Last updated
Was this helpful?
Last updated
Was this helpful?
An is not required for MOST endpoints of this service. See for common error responses.
GET
https://v2.yiff.rest/online
GET
https://v2.yiff.rest/categories
GET
https://v2.yiff.rest/categories/:db
db*
String
GET
https://v2.yiff.rest/images/:id.json
id*
String
The ID of the image.
GET
https://v2.yiff.rest/:category
category*
String
amount
Number
The amount of images to request, between 1-5.
notes
String
If notes should be hidden. Use the literal string "disabled".
sizeLimit
Number
The maximum size of image to get, in powers of 2. Prefixes such as KB/MB can be used.
POST
https://v2.yiff.rest/bulk
Get an arbitrary amount of images across many categories. This endpoint requires an api key, and is restricted to developer approval.
By default, a maximum of 100 images total can be fetched in one request. You can request your limit to be raised by contacting a developer.
sizeLimit
String
The maximum size of image to get, in powers of 2. Prefixes such as KB/MB can be used.
some.category*
Number
The "db" representation of the category (see )
The category, see (db
, replace periods with forward slashes)
A map of category (in db format) to the amount of images. See for the list of categories.