sample json

Sample JSON Data & Files for Testing

Ready-to-use JSON samples for common shapes. Copy them, download as a .json file, or fetch the same data live from a real endpoint. Unlike a static cheat sheet, every sample here is also a working API you can hit right now.

Want it to behave like a real API? →

These samples are served by the live mock API. Open the simulator to add latency, errors, and rate limits, and watch how your app or AI agent copes.

Open the simulator

Live sample JSON endpoints

Prefer to fetch instead of paste? Every sample maps to a real endpoint with stable IDs and CORS enabled, so you can call it straight from a browser, a test, or an AI agent.

DataEndpoint
UsersGET https://restsimulator.com/api/users
One userGET https://restsimulator.com/api/users/1
ProductsGET https://restsimulator.com/api/products
Posts & commentsGET https://restsimulator.com/api/posts · /api/comments
TodosGET https://restsimulator.com/api/todos
Can I download these as a JSON file?

Yes. Every sample has a Download button that saves it as a .json file, ready to drop into tests or fixtures.

Is the data realistic?

It mirrors typical API shapes (users with nested addresses, products with prices and ratings, orders with line items) so it behaves like real responses, not lorem ipsum.

Can I get more rows or a specific shape?

Hit the live endpoints with ?_limit= for any count, or build your own from a converter. Custom user-defined datasets are on the roadmap.