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
GitHub.