Searching for content in the API
Last updated on November 13, 2024
GuideWhat can I search for?
Currently, you can search for authors, books, characters, lists, prompts, publishers, series, and users. Additional search options will be added in the future.
Search options
query
- The search termquery_type
- The type of content to search for one of (case-insensitive; defaultbook
)author
book
character
list
prompt
publisher
series
user
per_page
- The number of results to return per page (default 25)page
- The page number to return (default 1)
Available fields
id
results
Example searches
Authors
When searching authors, we use the following fields:
alternate_names
- Alternative names for the authorbooks
- A list of books written by the authorname
- The name of the authorname_personal
- The personal name of the authorseries_names
- The names of the different series the author has written
Books
When searching books, we use the following fields:
alternative_titles
- Alternative titles for the bookauthor_names
- The name of the authors or contributors of the bookisbns
- The ISBNs of the bookseries_names
- The name of the series the book belongs totitle
- The title of the book
Characters
When searching characters, we use the following fields:
author_names
- The name of the author who wrote the books the character appears inbooks
- A list of books the character appears inname
- The name of the character
Lists
When searching lists, we use the following fields:
description
- The description of the listbooks
- A list of books in the listname
- The name of the list
Prompts
When searching prompts, we use the following fields:
books
- A list of books for the matching promptquestion
- The prompt question
Publishers
When searching publishers, we use the following fields:
name
- The name of the publisher
Series
When searching series, we use the following fields:
author_name
- The name of the author who wrote the seriesbooks
- A list of books in the seriesname
- The name of the series
Users
When searching users, we use the following fields:
location
- The location of the username
- The name of the userusername
- The username of the user