Documentation
Characters
Get a Character by ID

Get an Character by ID

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

Endpoint Details

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

Parameters

LocationNameTypeDescriptionRequired
PathidIntegerThe character's IDYes

Example Request

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