Documentation
Images
Get an Image's Characters

Get an Image's Characters

This endpoint allows you to get an image's characters.

Endpoint Details

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

Parameters

LocationNameTypeDescriptionRequired
PathidIntegerThe image's ID.Yes
QuerylimitInteger [1..100]The amount of characters to return.No
QueryoffsetIntegerThe amount of characters to skip.No

Example Request

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