Mock API Documentation

API docs for creating mock REST endpoints. Define response body, status code, headers — get a live URL. from $0.0012/s runtime, no subscription.

Frequently Asked Questions

How much does the Routes API cost?

$0.0012 per runtime second for the first 10,000 seconds, $0.0008 for 10,001–50,000, and $0.0005 for 50,000+. No monthly subscription required.

What is the difference between mock mode and forward mode?

In mock mode, the route returns a fixed JSON response you define. In forward mode, the route proxies the request to a real upstream URL.

Can I add a delay to simulate slow responses?

Yes. Set delay in milliseconds when creating or updating a route. The API will wait that long before responding.

How do I disable a route without deleting it?

Set active: false via PUT /routes/{routeId}. Disabled routes return 404 but remain in your account and can be reactivated any time.

Can I use this as a mock server in CI?

Yes. Create routes via API at the start of your CI pipeline, run tests pointing at the route URL, then delete the routes when done.

How long do routes last?

Routes persist until you delete them — there is no automatic expiration.