JSONPlaceholder
by jsonplaceholder.typicode.com
Testing and mock data
Added on October 31st, 2026
Checked and working on November 15th, 2026
Visit jsonplaceholder.typicode.com →
What it does
JSONPlaceholder is a free fake REST API for testing and prototyping. It offers posts, comments, albums, photos, todos and users, and supports all HTTP methods: GET returns data, while POST, PUT, PATCH and DELETE are simulated, so nothing is really changed. Ideal for tutorials, front-end development and testing HTTP clients. Free, no key needed.
At a glance
- API key
- Not needed · More APIs with no key
- Pricing
- Free, no key needed.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- jsonplaceholder.typicode.com
- Last checked
- Working on November 15th, 2026
More information: https://jsonplaceholder.typicode.com/
Compare: JSONPlaceholder vs DummyJSON
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://jsonplaceholder.typicode.com/posts/1'
JavaScript
const response = await fetch("https://jsonplaceholder.typicode.com/posts/1");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://jsonplaceholder.typicode.com/posts/1",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.