Multiple EndpointsJSON ExportStatus CodesFree
Endpoint 1

Generated Config

{
  "endpoints": [
    {
      "method": "GET",
      "path": "/api/users",
      "statusCode": 200,
      "response": [
        {
          "id": 1,
          "name": "John Doe",
          "email": "[email protected]"
        }
      ]
    }
  ]
}

Frequently Asked Questions

What is an API mock?
An API mock simulates a real API by returning predefined responses. It is used during development and testing when the actual API is not available.
What format is the output?
The tool generates a JSON configuration file that can be used with popular mock servers like json-server, Mockoon, or Prism.
Can I define multiple endpoints?
Yes. You can add as many endpoints as needed, each with its own method, path, response body, status code, and optional delay.
Share:Copied!
Was this tool helpful?

Get a free API key + new tools as they ship

100 calls/day, no card, no spam. Built by one person, in public.

About API Mock

Working with developer and design work no longer requires installing heavy desktop software — API Mock runs entirely in your browser, instantly. Built to be the kind of tool you bookmark and use weekly: no surprises between visits, no degraded free tier, and a UI that gets out of the way. If you find yourself doing this regularly, the rest of the developer suite covers most adjacent tasks with the same approach.

When you'd reach for API Mock

  • You're cleaning up a folder of files that accumulated over a project and need to standardize them.

    Designers, writers, and developers wrapping up deliverables.

    Drop each file in, copy the output, move on.

  • You're on a public or shared machine and don't want to leave traces of what you're working on.

    Travelers, contractors, anyone working from a friend's computer.

    Nothing is uploaded, nothing persists if you're not signed in.

  • You need to handle a one-off task right before a meeting and don't have time to install anything.

    Anyone working remotely on a borrowed or restricted machine.

    Open the page, get the result, paste it into your doc — under a minute.

  • You're hitting the daily limit of a paid SaaS and need a backup option for a single quick job.

    Marketers and ops people whose primary tool is metered.

    Stay productive without burning credits.

Frequently asked about API Mock

Is API Mock really free?
Yes — API Mock is free for unlimited personal use, with no account required and no watermark on the output.
Can I use API Mock commercially?
Yes. The output of API Mock belongs entirely to you, with no licensing restrictions.
Will API Mock change my original file?
Never. API Mock only reads your input file and produces a new output file.
Do I need to create an account to use API Mock?
No. API Mock works without any signup. We only ask for an email if you decide to subscribe to a paid plan.
Does API Mock work on mobile?
Yes, API Mock is fully responsive and tested on iOS Safari and Android Chrome.