Blazing Fast
Built with Bun and Elysia.js for maximum performance. Optimized for speed with in-memory storage.
Powered by Bun + Elysia.js for maximum performance

🌐 Ready to Use
Try it now! JSONPlaceholder is publicly available at https://api.jsonplaceholder.dev - no setup required!
Try it out with a simple fetch request:
// Get all posts
fetch("https://api.jsonplaceholder.dev/posts")
.then((response) => response.json())
.then((posts) => console.log(posts));
// Create a new post
fetch("https://api.jsonplaceholder.dev/posts", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "My New Post",
body: "This is the content of my new post",
userId: 1,
}),
})
.then((response) => response.json())
.then((newPost) => console.log(newPost));| Resource | Count | Description |
|---|---|---|
| 👥 Users | 10 | User accounts with profile information |
| 📝 Posts | 100 | Blog posts (10 per user) |
| 💬 Comments | 500 | Post comments (5 per post) |
| 📷 Albums | 100 | Photo albums (10 per user) |
| 🖼️ Photos | 5000 | Photos (50 per album) |
| ✅ Todos | 200 | Todo items (20 per user) |
https://api.jsonplaceholder.devhttp://localhost:3000JSONPlaceholder is split across two GitHub repositories: