Sitelet https://funapi.dev/docs/holmes#hl-clues

Sherlock Holmes API — free mock REST API for testing

Cases, suspects and clues from a fictional Victorian detective agency. Practice CRUD, Bearer auth, nested resources, pagination and optimistic concurrency.

The Sherlock Holmes API is a case file: investigations with suspects and clues, and cases that move from open to solved. It is the catalog's PATCH endpoint — partial updates rather than whole-object PUTs — which is where most clients quietly send the wrong thing and never find out.

Base URL: https://funapi.dev/api/holmes/v1 · 10 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.

Example request and response

GET https://funapi.dev/api/holmes/v1/cases — List all cases. No token, no signup:

curl -i https://funapi.dev/api/holmes/v1/cases

answers 200 OK with:

{
  "total": 5,
  "data": [
    {
      "id": 1,
      "title": "The Vanishing Violin",
      "status": "solved",
      "year": 1889
    },
    {
      "id": 2,
      "title": "The Crimson Cipher",
      "status": "solved",
      "year": 1891
    },
    {
      "id": 3,
      "title": "The Baker Street Burglary",
      "status": "open",
      "year": 1894
    },
    {
      "id": 4,
      "title": "The Midnight Telegram",
      "status": "solved",
      "year": 1896
    },
    {
      "id": 5,
      "title": "The Fogbound Heir",
      "status": "open",
      "year": 1899
    }
  ]
}

Open and run this endpoint

What you can practise here

cases

five cases, two still open

suspects

alibis included, guilt undisclosed

clues

physical, document, and testimony

All 39 mock REST APIs

Use this response elsewhere

Last updated