api v2 (Version 3)
yande.re has a version 2 API for /post that returns responses in json only. It provides some additional, useful information over the standard API. (If you are new to the API, you may want to read the guide to the standard API first: https://yande.re/help/api)
The base URL is https://yande.re/post.json?api_version=2
tags=[tag+list] - all tag searches are supported, separate tags with +
limit=[1..1000] - limit the number of responses returned for your query
include_tags=[0,1] - include the tag types (e.g. character, copyright, artist) for each of the tags in the response
include_votes=[0,1] - include the votes for each post in the response, not currently implemented
include_pools=[0,1] - include the pool membership of each post
filter=1 - unknown
The base URL is https://yande.re/post.json?api_version=2
Keywords
api_version=2 - This must be present to use the v2 APItags=[tag+list] - all tag searches are supported, separate tags with +
limit=[1..1000] - limit the number of responses returned for your query
include_tags=[0,1] - include the tag types (e.g. character, copyright, artist) for each of the tags in the response
include_votes=[0,1] - include the votes for each post in the response, not currently implemented
include_pools=[0,1] - include the pool membership of each post
filter=1 - unknown
Example URL
https://yande.re/post.json?tags=holds%3Afalse&limit=2&api_version=2&filter=1&include_tags=1&include_votes=1&include_pools=1Updated by van over 11 years ago