socket.help

Delay & timeout simulator

Test client loading states with configurable delays up to two seconds.

Expires after 1 hour

Checking this session…

Import / export configuration
Request conditions & response templates

Templates accept {{path.id}}, {{query.name}} and {{body.name}} inside JSON strings or plain text. Missing values become empty strings. No code runs. Test credentials are stored in the configuration; use fake tokens only.

Up to 20 routes, 80 KiB total configuration, and 120 requests per minute. Paths support parameters such as /users/:id. Matching routes are checked in order.

Open an existing mock API

About Delay & timeout simulator

Add a deliberate response delay to a temporary mock route. Check loading states and client timeouts without waiting for an unpredictable upstream service.

When to use it

Make loading states visible and test a client timeout shorter than the configured delay.

Delay & timeout simulator example
Route: GET /slow
Status: 200
Delay: 1500 ms
Body: {"ready":true}

How to use it

  1. Set an API name and configure your routes.
  2. Create the endpoint and copy its base URL.
  3. Append a route path and send requests from your application.

Limits & privacy

Mock APIs start with a one-hour lifetime; renewal stays within plan limits. Configure up to 20 routes within 80 KiB, delays up to 2 seconds, and 120 requests per minute. Anonymous management requires the private management token; account-owned APIs use workspace access.

Use this tool from the API reference or connect through the SDK, CLI, SSH, or MCP. Hosted calls share your plan allowances.