random
Here's an example of fetching a random nsfw image with the random endpoint. Returns a random image from any of our hentai endpoints.
Fetching a random nsfw image
Get a random nsfw image & its details.
GET
https://nekos.pro/api/random
Please note, this returns NSFW images.
Python example:
This example assumes you are using asyncio & running a Discord bot, which you should be using instead of requests, which is blocking.
Last updated