Sitelet https://funapi.dev/docs/faults#ft-status

Fault Injection API — free mock REST API for testing

Configure deterministic network and server failures inside your isolated sandbox.

The Fault Injection API turns failure into a setting. Configure a target — latency, a status code, a malformed body, or a flaky success rate — then call it and get exactly that. It is the catalog's tool for testing resilience deliberately instead of waiting for production to supply the outage.

Base URL: https://funapi.dev/api/faults/v1 · 5 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.

Example request and response

GET https://funapi.dev/api/faults/v1/config — Read fault profile. No token, no signup:

curl -i https://funapi.dev/api/faults/v1/config

answers 200 OK with:

{
  "latencyMs": 0,
  "status": 200,
  "malformed": false,
  "failureRate": 0
}

Open and run this endpoint

What you can practise here

control

fault profile

target

endpoint under test

All 39 mock REST APIs

Use this response elsewhere

Last updated