Mock API endpoints: any format, any HTTP status

8 formats times 14 status codes, each one a live URL you can curl right now. For example https://demo-json-503.supercrontab.com/ always answers 503 with a JSON body. Use them to test retries, error handling, parsers and cron jobs without standing up a server.

Pick a format

Pick a status code

Every status is available in every format. The JSON link is the most common starting point.

StatusWhen you see itRetry?Try it
200 OKThe request succeeded and the body holds the result. This is the normal case for GET and most POST calls.NoJSON 200
201 CreatedA POST or PUT created a new resource. APIs often return the new object and a Location header pointing at it.NoJSON 201
204 No ContentThe request worked but there is nothing to return, typical for DELETE, PUT and OPTIONS preflight responses.NoJSON 204
400 Bad RequestThe server could not understand the request: malformed JSON, a missing field or a wrong parameter type.NoJSON 400
401 UnauthorizedNo credentials were sent, or the token is expired or invalid. Common after an API key rotation.NoJSON 401
403 ForbiddenThe credentials are valid but this identity is not allowed to do this action, or the IP is blocked.NoJSON 403
404 Not FoundThe path does not exist or the resource was deleted. Also returned by some APIs to hide private resources.NoJSON 404
409 ConflictThe request clashes with current state: a duplicate unique key, a stale version number or a concurrent edit.NoJSON 409
422 Unprocessable ContentThe request was well formed but failed validation: an email without @, a date in the past, a value out of range.NoJSON 422
429 Too Many RequestsYou hit a rate limit. Most APIs send a Retry-After header or X-RateLimit-Reset telling you when to come back.Once, after a delayJSON 429
500 Internal Server ErrorThe server crashed while handling the request: an unhandled exception, a bug or a dependency that failed.Once, after a delayJSON 500
502 Bad GatewayA proxy or load balancer got an invalid response from the upstream app, often during a deploy or a crash.Yes, with backoffJSON 502
503 Service UnavailableThe service is overloaded or down for maintenance. Servers may include Retry-After to say how long.Yes, with backoffJSON 503
504 Gateway TimeoutA proxy waited for the upstream app and gave up. The request may or may not have been processed.Yes, with backoffJSON 504

Need a specific body, header or delay?

A Supercrontab endpoint returns whatever you configure, logs every incoming request and can fail a set percentage of the time. Free plan included.

Create your own endpoint