A live URL in seconds
Every project answers at apipreflight.io/m/{id}/… the moment it exists — no account needed. Pro adds yourteam.apipreflight.io and your own domain, with HTTPS handled for you.
Hosted mock APIs
Define endpoints and the exact responses you want — 200, 404, 500, custom bodies, delays, whole sequences — and get a live URL your mobile or web app can call today. Build and test the frontend against every response the real backend can't hand you on demand.
No account needed. Instant projects last 7 days; sign in to keep them.
$ curl https://shop.apipreflight.io/users/42 HTTP/1.1 200 OK { "id": "42", "name": "Ada Lovelace", "plan": "pro" } $ curl -H "X-Mock-Scenario: outage" \ https://shop.apipreflight.io/users/42 HTTP/1.1 503 Service Unavailable { "error": "Try again shortly" }
Every project answers at apipreflight.io/m/{id}/… the moment it exists — no account needed. Pro adds yourteam.apipreflight.io and your own domain, with HTTPS handled for you.
Flip a whole project into a 500, a timeout or an empty list with one scenario switch, or give an endpoint a different answer on each call with a sequence. Test the screens the real backend rarely shows you.
Mock a chat endpoint that streams token by token — in OpenAI or Anthropic format, with tool calls — then cut it off mid-sentence or let it stall, and see what your UI does.
Connect over MCP and Claude, Cursor or VS Code can create endpoints, flip scenarios and read the request log while it writes your code.
Generated names, emails and prices that stay the same for the same request, and stateful endpoints — a POST is there in the next GET.
Import or export OpenAPI, proxy what you haven't mocked to the real API, and let CI create a throwaway mock for each run through the management API.
A method, a path and the response you want — status, headers, body, delay.
Paste the URL into your web or mobile app. It answers like the real API will.
Switch to an error, a slow reply or a broken stream, and watch how the app copes.
Full detail and a side-by-side comparison on pricing.