Using the public API
The easiest way to get started is to use the public AnimeThemes API athttps://api.animethemes.moe. No authentication is required for read operations.
Make your first request
Let’s retrieve a list of anime from the database. The API returns paginated results with metadata.
The API returns 15 results per page by default. You can customize pagination using the
page[size] and page[number] query parameters.Understanding the response
The API returns a JSON response with the following structure:
Response format
All timestamps are in ISO 8601 format (UTC). The
deleted_at field is null for active resources.Get a specific anime
You can retrieve a specific anime by its ID or slug:The response includes detailed information about the anime:
Response
Include related resources
Use the This returns the anime with its themes nested in the response:
include parameter to fetch related data in a single request:Include anime themes
Response with themes
Filter and search
The API supports filtering results using query parameters:
See the filtering documentation for advanced filter options and operators.
Try the GraphQL API
AnimeThemes also provides a GraphQL endpoint for more flexible queries:GraphQL query
Explore GraphQL
Learn more about using the GraphQL API for complex queries
Common endpoints
Here are some frequently used endpoints to explore:Anime
GET /api/animeBrowse all anime in the databaseThemes
GET /api/animethemeGet anime opening and ending themesArtists
GET /api/artistFind artists and performersVideos
GET /api/videoAccess theme videos and WebMsSongs
GET /api/songBrowse theme songsSearch
GET /api/searchSearch across all resourcesRate limits
The public API has rate limits to ensure fair usage:- REST API: 90 requests per minute
- GraphQL API: 90 requests per minute
- Video streaming: 90 requests per minute
Next steps
REST API reference
Explore all available endpoints and parameters
Authentication
Learn how to authenticate for write operations
Pagination
Master pagination and cursor-based navigation
Install locally
Set up your own AnimeThemes Server instance