MOCK API · LEGOST.IN
A mock server for real API scenarios
Build a project API, configure successful and error responses, delays and dynamic data. Public URLs work instantly — no deployment or separate backend.
Local mode
Projects are protected by a secret key in this browser
Sign in ↗
{ }
Your mock API will appear here
Create a project and get a ready endpoint with two response variants out of the box.
Select an endpoint on the left or create a new one
Responses
Response variants
Add at least one response variant.
Inspector
Request log
01
One project, one API
Add up to 100 endpoints with path parameters: /users/{id}, /orders/{orderId}. All common HTTP methods plus ANY are supported.
02
Scenarios without code changes
Switch success, 404 and 500 with ?__variant=name, choose responses randomly by weight or cycle through them sequentially.
03
Guest first, account later
No registration required. Sign in through a magic link and browser projects become available on your other devices.