Search for an Artist
This endpoint allows you to search for an artist, filtering by name, aliases, policies, etc.
Endpoint Details
- URL:
/v3/artists
- Method:
GET
- Response:
JSON
Parameters
Location | Name | Type | Description | Required |
---|---|---|---|---|
Query | search | String | Search term. Will return all artists with this term(s) in their name or aliases. | No |
Query | policy_repost | Boolean | Whether the artist allows their art to be reposted or not. | No |
Query | policy_credit | Boolean | Whether the artist requires you to credit them when using their art or not | No |
Query | policy_ai | Boolean | Whether the artist allows the use of their art for AI training or not | No |
Query | limit | Integer [1..100] | The amount of artists to return. | No |
Query | offset | Integer | The amount of artists to skip. | No |
Example Request
artists.py
import requests
res = requests.get("https://api.nekosapi.com/v3/artists")
res.raise_for_status()
data = res.json()