What it does
This API introduces a deliberate delay before returning a response.
GET /delay
Returns a response after a short, random delay.
GET /delay?ms=1000
Requests a specific delay in milliseconds. Timing is best-effort.
Try an example
These examples call the live API and show what happens.
Custom delay
Use this if you want a specific timing (100–5000 ms).
Why use this
• Test loading states and spinners
• Simulate slow or unreliable networks
• Verify retry and timeout behavior
• Observe real user-perceived latency
Notes
• Stateless
• Public
• No SLA
• Best-effort timing