a free, public, fake rest api for development and tutorials. like jsonplaceholder, but with full crud, pagination, search, sort, error simulation, and a daily reset so you can write to it without leaving a mess behind.
what’s in it
a realistic dataset out of the box:
- 10 users
- 100 posts
- 200 todos
- 500 comments
with relationships you can navigate (/users/1/posts, /posts/1/comments).
what you can do
- full crud:
GET / POST / PUT / PATCH / DELETEon every resource - pagination:
_page=1&_limit=10, returnsX-Total-Countfor the ui - filtering + sorting:
?completed=true&_sort=title&_order=asc,title_like=reactfor fuzzy text match - global search:
/users/search?q=john, scoped per resource - response delays:
?_delay=2000to test loading states without faking timeouts in your client - error simulation: dedicated endpoints that return specific status codes so you can write robust error-handling code
how to use
no auth, no signup, no api key. just hit the endpoints:
curl https://apimocker.com/users
curl https://apimocker.com/posts?userId=1&_limit=5
curl https://apimocker.com/posts/search?q=reactwrites are real but reset at midnight utc, so your dev environment starts clean every day. rate limits keep it polite (1000 reads / 100 writes per ip per window).
why i built it
every tutorial that touches an api needs an api. jsonplaceholder is the default, but it’s read-only-with-fake-writes and the dataset hasn’t grown in a decade. api mocker is what i wished existed: real persistence (with a nightly reset), realistic content, and the search/filter/sort/pagination behavior most real apis expose.
free, open source, hosted. pairs nicely with api probe for a full “build an api request, see the response” loop without leaving the browser.