There is no resource at this URL. The server will not say whether there ever was one.
Defined in RFC 9110 §15.5.5 — 404 Not Found · MDN reference
Deleted records, mistyped ids, a page past the end of a collection, a route that no longer exists after a refactor.
Test both halves: an id that never existed, and one that was deleted. Also check that a filter matching nothing returns an empty 200 rather than a 404.
Do not retry. Distinguish "this id does not exist" from "this endpoint does not exist" — they are the same status and completely different bugs. If your client cannot tell them apart, an API rename will look like missing data for as long as it takes someone to open the network tab.
264 endpoints in this playground answer with 404. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/friends/v1/characters — List all characters (paginated) — v1, deprecated (Friends API) Open & run this endpointGET https://funapi.dev/api/friends/v1/characters/{id} — Get one character (Friends API) Open & run this endpointPUT https://funapi.dev/api/friends/v1/characters/{id} — Update a character (Friends API) Open & run this endpointDELETE https://funapi.dev/api/friends/v1/characters/{id} — Delete a character (Friends API) Open & run this endpointGET https://funapi.dev/api/friends/v1/characters/{id}/quotes — Get a character's quotes (nested resource) (Friends API) Open & run this endpointGET https://funapi.dev/api/friends/v2/characters — List characters — v2 (breaking change: job → occupation, re-wrapped) (Friends API) Open & run this endpointGET https://funapi.dev/api/superheroes/v1/heroes — List heroes (paginated, filterable) (Superhero API) Open & run this endpointGET https://funapi.dev/api/superheroes/v1/heroes/{id} — Get one hero (Superhero API) Open & run this endpointGET https://funapi.dev/api/superheroes/v1/heroes/{id}/nemesis — Get a hero's nemesis (nested resource) (Superhero API) Open & run this endpointDELETE https://funapi.dev/api/superheroes/v1/heroes/{id} — Retire a hero (Superhero API) Open & run this endpointGET https://funapi.dev/api/pizza/v1/orders/{id} — Track an order (Pizza Orders API) Open & run this endpointPUT https://funapi.dev/api/pizza/v1/orders/{id}/status — Update order status (Pizza Orders API) Open & run this endpointPATCH https://funapi.dev/api/pizza/v1/orders/{id} — Partially update an order (address or size) (Pizza Orders API) Open & run this endpointDELETE https://funapi.dev/api/pizza/v1/orders/{id} — Cancel an order (409 if already delivered) (Pizza Orders API) Open & run this endpointGET https://funapi.dev/api/coffee/v1/drinks/{id} — Get one drink (Coffee Shop API) Open & run this endpointPUT https://funapi.dev/api/coffee/v1/orders/{id}/ready — Mark an order ready (409 if already ready) (Coffee Shop API) Open & run this endpointGET https://funapi.dev/api/football/v1/teams — List teams (paginated) (Football API) Open & run this endpointGET https://funapi.dev/api/football/v1/teams/{id} — Get one team (Football API) Open & run this endpointGET https://funapi.dev/api/football/v1/teams/{id}/players — Get a team's squad (nested) (Football API) Open & run this endpointGET https://funapi.dev/api/football/v1/teams/{id}/matches — Get a team's match history (nested resource) (Football API) Open & run this endpointDELETE https://funapi.dev/api/football/v1/teams/{id} — Remove a team (409 if it has played matches) (Football API) Open & run this endpointGET https://funapi.dev/api/movies/v1/movies — List movies (filter, sort, paginate) (Movies API) Open & run this endpointGET https://funapi.dev/api/movies/v1/movies/{id} — Get one movie (Movies API) Open & run this endpointPUT https://funapi.dev/api/movies/v1/movies/{id}/rating — Rate a movie (0–10 inclusive) (Movies API) Open & run this endpointDELETE https://funapi.dev/api/movies/v1/movies/{id} — Remove a movie (Movies API) Open & run this endpoint…and 239 more endpoints across the catalog.
All HTTP status codes · All 55 mock REST APIs · Getting started guide
Last updated