Free Fake REST API for Testing & Prototyping

Hosted dummy JSON data — users, posts, comments, todos and products — over real REST endpoints. Pagination, filtering, CORS and simulated writes. No signup, no API key, no rate-limit surprises.

Quickstart
curl https://mockserver.in/fake-api/v1/users

Browse the data visually

Explore every record of all five datasets in an interactive table — powered live by this API.

Open Data Explorer →

Need your own endpoints and custom JSON?

The fake API is fixed sample data. With MockServer you define the paths, payloads, status codes, latency and failures — in about 10 seconds, no signup needed.

Create a Mock API Create free account

What can you build with a fake REST API?

Front-end developers use fake APIs to build real UIs before the backend exists. Educators use them in tutorials so every reader gets identical data. Mobile developers prototype list views, detail screens and pagination. QA engineers point integration tests at stable, deterministic endpoints. Because this API is hosted and CORS-enabled, it works from any browser app, CodePen, JSFiddle, React/Vue/Angular dev server, Postman collection, or curl one-liner.

How it compares to JSONPlaceholder

  • Same conventions?_page= / ?_limit= pagination, X-Total-Count headers, nested routes like /posts/1/comments, and simulated writes.
  • Products dataset — realistic e-commerce data (prices, categories, ratings, stock, images) for store UIs, which JSONPlaceholder doesn't offer.
  • Visual Data Explorer — browse every record in a table before you write a line of code.
  • Upgrade path — when fixed data stops being enough, the same platform lets you create fully custom mock APIs with your own JSON, headers, delays and failure rates.

Frequently asked questions

A fake REST API is a hosted HTTP API that returns realistic sample JSON data instead of real production data. Developers use it to build and test front-ends, write tutorials, and prototype apps without setting up a backend. MockServer's fake API is free, requires no signup or API key, and supports CORS so you can call it directly from the browser.

Yes. The endpoints follow the same conventions as JSONPlaceholder — ?_page= and ?_limit= pagination, X-Total-Count headers, nested routes like /posts/1/comments, and simulated writes. On top of that it adds a products dataset for e-commerce UIs and a visual data explorer.

No. Write requests return realistic success responses — your body echoed back with an id — but the dataset never changes. Everyone always sees the same consistent sample data.

Requests are limited to 120 per minute per IP, which is plenty for development, tutorials and demos. If you need higher volume or custom data, create your own mock API with MockServer.

Yes — that is MockServer's core product. Create a mock API with your own JSON payloads, status codes, response delays and failure simulation in seconds. Quick Mocks work without any signup.