API Reference
Rate Limits
Every response includes the following headers to help you track and respect rate limits:
| Header | Description |
|---|---|
x-rate-limit-limit | Duration of the current rate limit window (e.g. 1m) |
x-rate-limit-remaining | Remaining requests in the current window |
x-rate-limit-reset | ISO 8601 timestamp of when the current window resets |
Limits
| Endpoint | Limit |
|---|---|
/search | 7 requests per 5 seconds |
/:category | 200 requests per minute (per category) |
/:category/:filename.:format | 200 requests per minute (shared across .png & .gif assets) |
User-Agent
While a custom User-Agent header is not required, we recommend setting one on your requests using the following format: APP_NAME (CONTACT_INFO).
For example: NekoApp (https://example.com) or NekoApp (dev@example.com)
Suggested Naming Guidelines:
- Be specific: Use your application's actual name rather than generic labels like "Discord Bot", "WhatsApp Bot", or "Telegram Bot".
- Avoid placeholders: Avoid placeholder strings like
test,bot, or the example values above. - Avoid library defaults: Prefer a custom value over default library strings such as
python-requests,okhttp,axios,node, orGo-http-client.
Contact Information Options:
The contact info does not have to be a traditional website. Any of the following work well:
- A direct contact email address.
- A project website or public repository URL (e.g., GitHub, GitLab).
- A bot invite link or discovery page.
- A listing URL (e.g., top.gg or similar directories).
Spoofing and Impersonation:
- Do not spoof browser strings. The
Mozilla/5.0 ...format is reserved for real web browsers and Cloudflare-verified bots. - Do not impersonate known crawlers like
GooglebotorBingbot.
INFO
Not setting a custom User-Agent header carries a higher chance of being flagged or banned by our automated abuse detection (NB-BCFSD).
Categories
Categories define the type of content returned by the API. Each category maps to a fixed file format.
Images (4)
GIFs (59)
Response Fields
| Type | Fields |
|---|---|
| Images | artist_name, artist_href, source_url |
| GIFs | anime_name |
url and dimensions are included in both.