Skip to content
For LLMsView as Markdown·

JSONPlaceholder ​

Free fake REST API for testing and prototyping. Returns realistic JSON data.

DetailValue
CategoryTesting
Base URLhttps://jsonplaceholder.typicode.com
AuthenticationNone
Endpoints7
Connector keyjsonplaceholder

Using JSONPlaceholder in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick JSONPlaceholder from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET /postsGet all posts
GET /posts/{id}Get a post by ID
POST /postsCreate a post
PUT /posts/{id}Update a post
DELETE /posts/{id}Delete a post
GET /usersGet all users
GET /commentsGet all comments

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /posts ​

Get all posts

DetailValue
Operation IDtest.listPosts
MethodGET
Path/posts

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your JSONPlaceholder connection from the Connection dropdown.
  3. In the Operation dropdown, select test.listPosts.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream JSONPlaceholder API reference.

GET /posts/{id} ​

Get a post by ID

DetailValue
Operation IDtest.getPost
MethodGET
Path/posts/{id}

Parameters ​

NameLocationTypeRequired
idpathintegerYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your JSONPlaceholder connection from the Connection dropdown.
  3. In the Operation dropdown, select test.getPost.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream JSONPlaceholder API reference.

POST /posts ​

Create a post

DetailValue
Operation IDtest.createPost
MethodPOST
Path/posts

Parameters ​

No parameters.

Request Body ​

FieldType
titlestring
bodystring
userIdinteger

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your JSONPlaceholder connection from the Connection dropdown.
  3. In the Operation dropdown, select test.createPost.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream JSONPlaceholder API reference.

PUT /posts/{id} ​

Update a post

DetailValue
Operation IDtest.updatePost
MethodPUT
Path/posts/{id}

Parameters ​

NameLocationTypeRequired
idpathintegerYes

Request Body ​

FieldType
titlestring
bodystring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your JSONPlaceholder connection from the Connection dropdown.
  3. In the Operation dropdown, select test.updatePost.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream JSONPlaceholder API reference.

DELETE /posts/{id} ​

Delete a post

DetailValue
Operation IDtest.deletePost
MethodDELETE
Path/posts/{id}

Parameters ​

NameLocationTypeRequired
idpathintegerYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your JSONPlaceholder connection from the Connection dropdown.
  3. In the Operation dropdown, select test.deletePost.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream JSONPlaceholder API reference.

GET /users ​

Get all users

DetailValue
Operation IDtest.listUsers
MethodGET
Path/users

Parameters ​

No parameters.

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your JSONPlaceholder connection from the Connection dropdown.
  3. In the Operation dropdown, select test.listUsers.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream JSONPlaceholder API reference.

GET /comments ​

Get all comments

DetailValue
Operation IDtest.listComments
MethodGET
Path/comments

Parameters ​

NameLocationTypeRequired
postIdqueryintegerNo

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your JSONPlaceholder connection from the Connection dropdown.
  3. In the Operation dropdown, select test.listComments.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream JSONPlaceholder API reference.