JSONPlaceholder is a free, online, fake REST API designed for frontend development, testing, prototyping, and learning RESTful concepts without needing a backend server. It provides realistic mock JSON data for common resources like users, posts, todos, comments, albums, and photos, with simulated CRUD operations (GET, POST, PUT, PATCH, DELETE). All write operations are non-persistent—changes are not saved, making it ideal for safe experimentation.
Key Features:
No registration or setup required.
Cross-origin (CORS) support and compatible with React, Angular, Vue, and other frameworks.
Pagination via query parameters like
?_page=1&_limit=10.Relationships between resources (e.g., posts have many comments).
Powered by JSON Server + LowDB, serving billions of requests monthly.
Common Use Cases:
Testing API calls in tutorials, demos, or GitHub READMEs.
Building UIs with placeholder data.
Learning how REST APIs work without backend implementation.
Limitations:
Not for production use—data is fixed and not persisted.
No authentication, user sessions, or data persistence.
Not suitable for CI/CD or QA automation requiring real data state.
Alternatives for Advanced Needs:
DummyJSON: More data types, sorting, and filtering.
ReqRes: Supports authentication, persistent data, and request logging.
Beeceptor: Custom mock servers with dynamic responses.
Fake Store API: E-commerce-specific data.
👉 Official URL: https://jsonplaceholder.typicode.com
👉 GitHub Repo: https://github.com/typicode/jsonplaceholder
Placeholders in JSON - is there a better method?
Anyone have a favorite free service that has dummy JSON that can be queried over HTTP?
Best JSON Placeholder/Server?
Need help with fetching TODOs from API in TypeScript + React
Namaste! Thanks for submitting to r/developersIndia. Make sure to follow the subreddit Code of Conduct while participating in this thread. Also did you know we have a discord server as well where you can share your projects, ask for help or just have a nice chat.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
More on reddit.comWhat is JSONPlaceholder?
What can I use instead of JSONPlaceholder?
Is JSONPlaceholder good for production testing?
Videos
I'm working on a Python script to generate all of the directories and base files I typically create when making a new project. I have a JSON file which stores the directories, the files in each, and the contents of those files.
Right now I have a placeholder value of "<app_name>" in the JSON object that needs to be replaced with the app name provider via user input, but I feel like this is not the right approach for JSON. Is there a standard way to have a placeholder value in JSON objects, or is there a more appropriate way of storing this information?