JSONPlaceholder API
Fake data for testing and prototyping
- Our call
- HTTP 200
- Latency
- 138 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://jsonplaceholder.typicode.com/todos/1Press Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://jsonplaceholder.typicode.com/todos/1");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://jsonplaceholder.typicode.com/todos/1'import requests
r = requests.get("https://jsonplaceholder.typicode.com/todos/1", timeout=10)
r.raise_for_status()
print(r.json())JSONPlaceholder docsMore Test Data APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://jsonplaceholder.typicode.com/todos/1- Result
- HTTP 200 in 138 ms (154 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: https://freetierapis.vercel.app
- HTTPS
- Yes
- Response
- application/json, 83 bytes, a JSON object
- Fields
userIdidtitlecompleted- Rate-limit headers
- limit 3600000, remaining 3599999
Access-Control-Allow-Origin: https://freetierapis.vercel.app to us, so browser code can call it.Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Test Data
- Auth
- No key
- CORS
- Not recorded Our call disagrees
- Docs link
- jsonplaceholder.typicode.com answered 200 in 1159 ms on 2026-11-06 Measured
JSONPlaceholder is listed in Test Data. JSONPlaceholder needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 21 Test Data APIs: 15 need no key and 6 need an API key, and 7 of them are marked as allowing browser calls. 7 others have the same setup, such as Bacon Ipsum, DummyJSON and Faker.
JSONPlaceholder and other Test Data APIs
| Fact | JSONPlaceholder (this page) | DummyJSON | FakeStoreAPI | RandomUser | RoboHash |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Not recorded | Not recorded | Not recorded | Not recorded |
| Our test call Measured by us | 138 ms | 1,203 ms | 10,971 ms | 309 ms | 706 ms |
| Browser call Measured by us | Allowed | Allowed | Allowed | Allowed | Allowed |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does JSONPlaceholder need an API key?
JSONPlaceholder needs no key: you can call it without signing up.
Can I call JSONPlaceholder from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: https://freetierapis.vercel.app, so a web page can call it directly.
Where are the JSONPlaceholder docs?
At https://jsonplaceholder.typicode.com/. When we checked, the link answered 200 in 1159 ms.
What are some alternatives to JSONPlaceholder?
Other Test Data APIs in the list include Bacon Ipsum, DummyJSON, Faker and FakeStoreAPI.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.