The JSON Mock Data API is a free online REST API designed to simplify the process of generating and managing mock data for developers. Whether you're creating a new application, conducting tests, or need placeholder data, this API has you covered.
- Users: https://json-mock-data.vercel.app/api/users
- Posts: https://json-mock-data.vercel.app/api/posts
- Comments: https://json-mock-data.vercel.app/api/comments
...and more coming soon!
Try it out by fetching some mock users!
https://json-mock-data.vercel.app/api/users
fetch('https://json-mock-data.vercel.app/api/users?take=3&sortBy=lastName')
.then(response => response.json())
.then(json => console.log(json))
See more: https://json-mock-data.vercel.app/docs/