Mock API Builder

dev tool

Design mock REST API endpoints with custom responses and config

Total uses

0

Popularity

Growing

Access

Free

No account needed. Use it right away.

✦ NewdevClient-side

Key info

  • Works entirely in your browser
  • Files never leave your device
  • No watermarks or limits

More dev tools

Mock API Builder

Design mock REST API endpoints with custom responses and config

Design mock REST API endpoints with custom JSON responses, status codes, and headers — perfect for frontend development when the real backend is not ready yet.

Common HTTP status codes

CodeNameWhen to use
200OKSuccessful GET/PATCH/PUT
201CreatedSuccessful POST that created a resource
204No ContentSuccessful DELETE with no body
400Bad RequestClient sent invalid data
401UnauthorizedMissing or invalid authentication
403ForbiddenAuthenticated but not allowed
404Not FoundResource does not exist
409ConflictResource state conflicts (e.g. duplicate)
422Unprocessable EntityValidation errors
500Server ErrorSomething broke server-side

Why use a mock API?

  • Start frontend work before the backend is ready.
  • Test edge cases (500 errors, slow responses) that are hard to reproduce in real APIs.
  • Build prototypes and demos without spinning up infrastructure.
  • Give designers and PMs clickable demos.

Frequently asked questions

What is a mock API?

An API that returns predefined responses instead of real data. Used in development and testing.

Can I use it from my app?

Yes — point your fetch/axios calls at the mock endpoint URL.

Can I add dynamic responses?

Yes — use templates to return different responses based on request params or body.

Can I simulate network latency?

Yes, set a delay per endpoint to test loading states and timeouts.