Skip to content
routebase

2.0 Mock

Start frontend work on day one

Realistic mock APIs generated from the spec, on a stable URL — before the backend exists.

14-day Pro trial — no credit card required.

A Routebase mock server: the rule tree grouped by folder on the left, the mock URL with analytics for rules, requests and endpoint coverage in the centre, and a live request log on the right.

Mocks straight from the spec

Auto-generate mock rules from your endpoints. One unique URL per project, ready immediately.

  • Rules generated from the spec, customizable per endpoint
  • Static responses: body, status code, headers
  • Unique mock URL per project, CORS handled

Data that looks real

Realistic generated data, request variables, and state — responses that behave like production.

  • Templates for realistic synthetic data — names, emails, addresses, and more
  • Request variables like {{request.body.name}}
  • Stateful mocks persist across a session
  • Fixtures as response bodies, with transforms

Rehearse the bad days

Latency, errors, timeouts, rate limits — simulate the failures your frontend must survive.

  • Fixed or random latency per rule
  • 5xx responses, timeouts, connection resets
  • Per-rule rate limiting

Proxy what you don't mock

Unmatched requests forward to the real API. Mock the new endpoint, proxy the rest.

  • Proxy mode for unmatched requests
  • Live request log for every mock call

One living spec

The rest of the lifecycle

Change the spec — everything on this page updates with it.

Ready to ship on it?

Routebase is live. Design your API once — docs, mocks, tests, and monitoring all follow from the same source.

14-day Pro trial — no credit card required.