# JSONPlaceholder

Category: [Testing and mock data](https://free-web-services.com/web-services/web-development/testing/)  
Page: https://free-web-services.com/web-services/web-development/testing/jsonplaceholder.html  
Documentation: https://jsonplaceholder.typicode.com/

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.

- API key: Not needed
- 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

Example request:

```sh
curl 'https://jsonplaceholder.typicode.com/posts/1'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

