---
updatedAt: 2026-10-29T08:09:44.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Search and filter reviews

```shell Shell
# 1. Search reviews: free text + score + photos filter
curl -X POST "https://api-cdn.yotpo.com/v3/storefront/store/YOUR_STORE_ID/product/YOUR_PRODUCT_ID/reviews?page=1&perPage=10" \
  -H "Content-Type: application/json" \
  -d '{
    "freeTextSearch": "comfortable",
    "scores": [4, 5],
    "pictured": true
  }'

# 2. Same body, next page: pagination lives in the query string
curl -X POST "https://api-cdn.yotpo.com/v3/storefront/store/YOUR_STORE_ID/product/YOUR_PRODUCT_ID/reviews?page=2&perPage=10" \
  -H "Content-Type: application/json" \
  -d '{
    "freeTextSearch": "comfortable",
    "scores": [4, 5],
    "pictured": true
  }'
```

```json Response Example
{
  "foundFilteredReviews": true,
  "pagination": { "page": 1, "perPage": 10, "total": 17 },
  "reviews": [ "..." ]
}
```

# Search with filters

<!-- shell@1-8 -->

POST to the same reviews path to search. It's still public, with no token. `freeTextSearch` matches review text, `scores` filters by star rating, `pictured: true` returns only reviews with photos. The reference documents more filters: topics, metadata, variants, and country.

# Paginate the results

<!-- shell@9-17 -->

Pagination and sorting stay in the query string while the filter body stays the same. Keep the body identical across pages or the result set shifts under the user.