Skip to main content
Free fake REST API for testing and prototyping, providing six resources (posts, comments, users, albums, photos, todos) with full CRUD operations. Best for frontend developers prototyping against a realistic REST backend without setup. Writes are faked but return proper response structures — ideal for testing HTTP clients and demo workflows. 2 example endpoints available through Lava’s AI Gateway. See the JSONPlaceholder API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://jsonplaceholder.typicode.com is supported. Fake REST API for testing. Construct URL as https://jsonplaceholder.typicode.com/{resource}. Resources: /posts, /comments, /users, /albums, /photos, /todos. Supports GET, POST, PUT, PATCH, DELETE. The endpoints below are curated examples.

Endpoints

List all posts

GET https://jsonplaceholder.typicode.com/posts — Free
const data = await lava.gateway('https://jsonplaceholder.typicode.com/posts', { method: 'GET' });

Create a post (faked)

POST https://jsonplaceholder.typicode.com/posts — Free
const data = await lava.gateway('https://jsonplaceholder.typicode.com/posts', { body: {"title":"foo","body":"bar","userId":1} });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests