Choose which Category of joke you would like to have
Last updated 2 years ago
GET https://api.night-api.com/images/nsfw/:type
GET
https://api.night-api.com/images/nsfw/:type
{ "status": 200, "content": { "id": 23, "type": "ass", "url": "https://cdn.night-api.com/api/images/nsfw/ass/4208ec0c4590ed4622e451f386e39.jpg" } }
{ "status": 400, "content": "Bad type provided" }
Lists of available NSFW categories:
Anal
Ass
Boobs
Gonewild
Hanal
Hass
Hboobs
Hentai
Hkitsune
Hmidriff
Hneko
Hthigh
Neko
Paizuri
Pgif
Pussy
Tentacle
Thigh
Yaoi
const axios = require("axios"); axios.get('https://api.night-api.com/images/nsfw/ass', { headers: { authorization: "Your API token" } }) .then(function (response) { console.log(response.data); })
Or with the module
// Return: Promise const { NightAPI } = require('night-api'); const api = new NightAPI('YOUR_API_KEY'); const image = await api.nsfw.fetchImage("anal"); // Random images of category "anal"
type*
String
The type of NSFW image to get
authorization*
Your API key