API to get data from Harry Potter books, movies and characters.
PotterAPI is a REST API built with Express.js that provides information and images related to the Harry Potter book series, covering books, characters, houses, and spells. Data is available in multiple languages, including English, Spanish, French, Italian, Portuguese, and Ukrainian, accessed by prefixing endpoints with the corresponding two-letter language code.
Each endpoint returns structured data: book endpoints include title, original title, release date, description, page count, and cover image; character endpoints include full name, nickname, Hogwarts house, actor, children, image, and birthdate; house endpoints include name, emoji, founder, colors, and animal; spell endpoints include name and description. Endpoints support query parameters for retrieving a single item by index, limiting and paginating results, and searching, and each also has a /random variant that returns one random item.
The API is deployed as serverless functions and can be run locally for development, with source code, tests, and TypeScript types included in the repository. It is intended for developers building applications that need structured Harry Potter reference data.
Yes, it is a free, open-source REST API released under the MIT license.
Endpoints are available in English, Spanish, French, Italian, Portuguese, and Ukrainian, selected via a language code in the URL path.
It returns information and images for Harry Potter books, characters, Hogwarts houses, and spells.
Endpoints accept query params like search, index, max, and page, plus a /random suffix for a random item from any list.
It is built with Express.js and deployed as serverless functions on Vercel, with an older Render-hosted URL still available.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Classic Persian poetry works including access to related manuscripts, recitations and music tracks.
Books.
Web-API for fetching data from Project Gutenberg Books Library.
Free Bible API serving 800+ text translations and 40+ audio translations.
Manage users, books, authors, loans and reviews.
Books, book covers and related data.