Network · Made a little simpler

API Response Simulator

Simulate an API response with a chosen status, headers, body and delay. Inspect the local preview and download the response fixture.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

The timer models when the text preview appears. This workspace makes no network request.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

API Response Simulator: how to use it

  1. Choose an HTTP status, a delay and a response body format or load the queued-workshop example.
  2. Add response headers and a body if the status allows content. Select Preview response.
  3. Inspect the preview or JSON envelope and save the fixture for a test harness.

Limits and notes

Supports status codes 100–599, a 0–10,000 ms wait, up to 64 printable ASCII field lines and 65,536 UTF-8 bytes of body text. JSON is checked without rewriting the body. Other formats are retained as source text. The timer, preview and export work locally.

How your privacy works →

API Response Simulator: common questions

Does the delay change the downloaded response body?

The delay appears as delayMs in the fixture. The body remains the original string.

What happens when I choose 204 No Content?

Select No body. The fixture represents the absent body as null and the text preview ends after the headers.

Can I include an HTML or JavaScript response body?

Choose the corresponding body media type. The preview displays its source text and the fixture keeps the body as a string.

Guides