Documentation
Images
Get an Image's Tags

Get an Image's Tags

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

Endpoint Details

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

Parameters

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

Example Request

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