api v2 (Version 1)
yande.re has a version 2 API for yande.re/post that is json only. It provides some additional, useful information over the standard 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
filter=1 - unknown
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
An example url is:
https://yande.re/post.json?tags=holds%3Afalse&limit=2&api_version=2&filter=1&include_tags=1&include_votes=1&include_pools=1
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
filter=1 - unknown
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
An example url is:
https://yande.re/post.json?tags=holds%3Afalse&limit=2&api_version=2&filter=1&include_tags=1&include_votes=1&include_pools=1
Updated by van over 11 years ago