— SHERLOCK HOLMES API —

sherlockholmes-api.vercel.app is a free JSON API for hand curated Sherlock Holmes quotes, cases, and characters from the public domain works of Sir Arthur Conan Doyle. Read more

Usage

Retrieve a random Sherlock Holmes quote in JSON format.

GET https://sherlockholmes-api.vercel.app/api/v1/quotes/random

Example response:

{ "success": true, "data": { "id": "q001", "text": "When you have eliminated the impossible, whatever remains, however improbable, must be the truth.", "character": "Sherlock Holmes", "book": "The Sign of the Four", "year": 1890 }, "meta": { "timestamp": "...", "version": "1.0.0" } }

Retrieve all cases (4 novels + 56 short stories). Pass type to filter.

GET https://sherlockholmes-api.vercel.app/api/v1/cases
GET https://sherlockholmes-api.vercel.app/api/v1/cases?type={novel|short_story}

Retrieve the list of main characters.

GET https://sherlockholmes-api.vercel.app/api/v1/characters

Free text search.

GET https://sherlockholmes-api.vercel.app/api/v1/search?q={query}

GitHub

Source code and full documentation available on GitHubGitHub.

REPO https://github.com/caiolucasbittencourt/sherlock-api