What is Mock API?
NewKit's mock API creates, in one click, a real HTTP-accessible endpoint that returns exactly the body, status code and Content-Type you configure. Instead of spinning up a test server, you define the response and get a URL ready to use from your frontend, your tests or any tool.
It is ideal for building the UI before the backend exists, reproducing a specific response (including a 500 error or a 404) or sharing an example with your team. The endpoint is served from the Cloudflare edge with open CORS, so you can call it from any origin, and it lives for 24 hours.
Frequently asked questions
Is it free?
Yes, all NewKit tools are completely free.
How does it work without installing anything?
The tool runs on Cloudflare Workers at the edge: your browser makes a lightweight request to our server, which performs the network lookup and returns the result. There is nothing to configure.
Is there a usage limit?
To keep the service free and within Cloudflare's free tier, we apply a reasonable daily request limit. For normal use you will not notice it.