Posts
Search posts
get/posts/search
Request
- Base URLhttps://dummyjson.com
- URLhttps://dummyjson.com/posts/search
- Authnone required
Query parameters
limitinteger
Items per page. Use 0 to return all items.
skipinteger
Number of items to skip.
selectstring
Comma-separated fields to include (id is always included).
sortBystring
Field to sort by.
order'asc' | 'desc'
Sort order.
delayinteger
Artificial response delay in milliseconds (0–5000).
qstring
Search query.
Response
Matching posts
Example response
{
"posts": [
{
"id": 1,
"title": "His mother had always taught him",
"body": "His mother had always taught him not to ever think of himself as better than others. He'd tried to live by this motto. He never looked down on those who were less fortunate or who had less money than him. But the stupidity of the group of people he was talking to made him change his mind.",
"tags": [
"history"
],
"reactions": {
"likes": 192,
"dislikes": 25
},
"views": 305,
"userId": 121
}
],
"limit": 30
}Changes
No recorded changes to this operation across all 1 revision of this API.