Free Dummy API for Testing
Free dummy API and fake REST endpoints for testing. Create a sample API in seconds — custom responses, request logging, any HTTP method. From $0.0012/runtime second, no subscription.
Frequently Asked Questions
What is a dummy API?
A dummy API (also called a fake API or sample API) is an HTTP endpoint that returns predefined responses without any real backend logic. Developers use dummy APIs to test frontend code, prototype integrations, run CI/CD pipelines, and demonstrate applications — all without depending on a real server or database.
Is there a free fake REST API I can use?
Yes. JSONPlaceholder provides a fixed set of fake REST endpoints (users, posts, todos) you can call for free. Mocky.io lets you create static JSON endpoints via a web form. sed.sh Routes lets you create custom dummy API endpoints with any response body, status code, and HTTP method via a single API call — pricing starts at $0.0012 per runtime second with no subscription.
How do I create a sample API for testing?
With sed.sh, send a POST request to https://api.sed.sh/routes with your desired HTTP method, path, status code, and response body. You immediately get a unique URL (e.g. abc123.sed.sh/your-path) that returns your defined response. No server setup, no config files, no deployment step.
What's the difference between a mock API and a dummy API?
In practice, the terms are interchangeable. Both refer to fake HTTP endpoints that return canned responses. Some developers use 'mock API' when the endpoint is created programmatically for automated tests, and 'dummy API' when it's a quick placeholder for manual testing or prototyping. sed.sh Routes supports both use cases.
Can I use a dummy API in CI/CD pipelines?
Yes. Create a dummy endpoint via the sed.sh API before your test suite runs, point your tests at the endpoint URL, then delete it after. Each endpoint gets a unique subdomain so there are no port conflicts across parallel CI jobs. The entire lifecycle is API-driven — no manual steps.
How much does the sed.sh dummy API cost?
sed.sh charges $0.0012 per runtime second for the first 10,000 seconds, dropping to $0.0008 between 10,000 and 50,000 seconds, and $0.0005 above 50,000. Creating, updating, and deleting endpoints is free. There is no monthly subscription — you only pay when requests hit your endpoints.