Skip to content

Sleep

GET /sleep

Sleep or doze off. Returns a random anime GIF for the sleep action.

Available pairings Solo only
f Solo Girl
m Solo Boy
Parameter Type Required Description
pairing string No Filter by pairing. If omitted, returns a random pairing from the available ones above.
nsfw boolean No Filter NSFW content. Defaults to false.
Field Type Description
action string Always "sleep"
pairing string The pairing of the returned GIF
anime optional string The anime the GIF is from
url string Direct URL to the GIF on the CDN
filename string The filename of the GIF
content_type string MIME type (image/gif)
size_bytes number File size in bytes
Terminal window
curl https://api.gifukai.com/sleep
Status Description
200 Successfully returned a random sleep GIF
400 Invalid pairing parameter
404 No GIFs found for the given pairing
500 Internal server error
API Playground
GET https://api.gifukai.com/sleep?pairing=
Response
// Hit Send to try the API
Preview
Hit Send to preview