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.
169 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 — Page out of range (Friends API) Open & run this endpointGET https://funapi.dev/api/friends/v1/characters/{id} — Unknown id (Friends API) Open & run this endpointPUT https://funapi.dev/api/friends/v1/characters/{id} — Unknown id (Friends API) Open & run this endpointDELETE https://funapi.dev/api/friends/v1/characters/{id} — Unknown id (Friends API) Open & run this endpointGET https://funapi.dev/api/friends/v1/characters/{id}/quotes — Unknown character (Friends API) Open & run this endpointGET https://funapi.dev/api/friends/v2/characters — Page out of range (Friends API) Open & run this endpointGET https://funapi.dev/api/superheroes/v1/heroes — Page out of range (Superhero API) Open & run this endpointGET https://funapi.dev/api/superheroes/v1/heroes/{id} — Unknown id (Superhero API) Open & run this endpointGET https://funapi.dev/api/superheroes/v1/heroes/{id}/nemesis — Unknown hero or no nemesis (Superhero API) Open & run this endpointDELETE https://funapi.dev/api/superheroes/v1/heroes/{id} — Unknown id (Superhero API) Open & run this endpointGET https://funapi.dev/api/pizza/v1/orders/{id} — Unknown order (Pizza Orders API) Open & run this endpointPUT https://funapi.dev/api/pizza/v1/orders/{id}/status — Unknown order (Pizza Orders API) Open & run this endpointPATCH https://funapi.dev/api/pizza/v1/orders/{id} — Unknown order (Pizza Orders API) Open & run this endpointDELETE https://funapi.dev/api/pizza/v1/orders/{id} — Unknown order (Pizza Orders API) Open & run this endpointGET https://funapi.dev/api/coffee/v1/drinks/{id} — Unknown id (Coffee Shop API) Open & run this endpointPUT https://funapi.dev/api/coffee/v1/orders/{id}/ready — Unknown order (Coffee Shop API) Open & run this endpointGET https://funapi.dev/api/football/v1/teams — Page out of range (Football API) Open & run this endpointGET https://funapi.dev/api/football/v1/teams/{id} — Unknown id (Football API) Open & run this endpointGET https://funapi.dev/api/football/v1/teams/{id}/players — Unknown team (Football API) Open & run this endpointGET https://funapi.dev/api/football/v1/teams/{id}/matches — Unknown team (Football API) Open & run this endpointDELETE https://funapi.dev/api/football/v1/teams/{id} — Unknown id (Football API) Open & run this endpointGET https://funapi.dev/api/movies/v1/movies — Page out of range (Movies API) Open & run this endpointGET https://funapi.dev/api/movies/v1/movies/{id} — Unknown id (Movies API) Open & run this endpointPUT https://funapi.dev/api/movies/v1/movies/{id}/rating — Unknown id (Movies API) Open & run this endpointDELETE https://funapi.dev/api/movies/v1/movies/{id} — Unknown id (Movies API) Open & run this endpoint…and 144 more endpoints across the catalog.
All HTTP status codes · All 39 mock REST APIs · Getting started guide
Last updated