Products

Search products

Search the catalog by a free-text query.

GET/products/search
Search products
curl --request GET \
--url https://dummyjson.com/products/search
{
"products": [
{
"id": 0,
"title": "<string>",
"description": "<string>",
"category": "<string>",
"price": 0,
"discountPercentage": 0,
"rating": 0,
"stock": 0,
"brand": "<string>",
"thumbnail": "<string>"
}
],
"total": 0,
"skip": 0,
"limit": 0
}

Query Parameters

qstringrequired
The search query (try `phone`).

Response

200 · application/json

Matching products.

productsobject[]
The products on this page.
totalinteger
Total number of matching products.
skipinteger
How many were skipped.
limitinteger
How many were returned.