Documentation
Images
Get an Image by ID

Get an Image by ID

This endpoint allows you to get an image by its ID.

Endpoint Details

  • URL: /v3/images/{id}
  • Method: GET
  • Response: JSON

Parameters

LocationNameTypeDescriptionRequired
PathidIntegerThe image's IDYes

Example Request

image_details.py
import requests
 
res = requests.get(f"https://api.nekosapi.com/v3/images/{image_id}")
res.raise_for_status()
 
data = res.json()