- Start your journey
- Dummy JSON
Search posts
GET
/posts/search
Last modified:2025-05-23 09:40:46
Maintainer:ekovegeance
Request
Query Params
q
string
optional
Example:
love
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dummyjson.com/posts/search?q=love'
Responses
🟢200OK
application/json
Body
posts
array [object {7}]
required
id
integer
required
title
string
required
body
string
required
tags
array[string]
required
reactions
object
required
views
integer
required
userId
integer
required
total
integer
required
skip
integer
required
limit
integer
required
Example
{
"posts": [
{
"id": 0,
"title": "string",
"body": "string",
"tags": [
"string"
],
"reactions": {
"likes": 0,
"dislikes": 0
},
"views": 0,
"userId": 0
}
],
"total": 0,
"skip": 0,
"limit": 0
}
Modified at 2025-05-23 09:40:46