Trendyol product reviews
Customer reviews of one trendyol.com product, 20 per page: rating, text, likes, date, verified purchase, the seller it was bought from, size and review photos (reviewer names are masked by the site). Also returns the average rating, rating and review counts, the 1-5 star breakdown, review topics with their positive and negative counts, and the site's AI review summary. Filter by star rating, words, topic, seller and reviews with photos. Pass next_page back as page; it is null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
product_id | string | Product id (the number after -p- in a product link, or id from /trendyol/v1/search). Either product_id or url is required. Example: 985256830 |
url | string | A trendyol.com product link (/<brand>/<name>-p-<id>). |
sort | recommended | newest | oldest | rating_desc | rating_asc | recommended (default), newest, oldest, rating_desc, rating_asc. |
rating | string | Only these star ratings, comma-separated (e.g. 1,2). |
q | string | Only reviews containing these words. |
tag | string | Only reviews about this topic (a topics[].name value from a previous response, e.g. Paketleme). |
seller_id | string | Only reviews of purchases from this seller (reviews[].seller_id). |
with_media | boolean | true for reviews with photos or videos only. |
page | integer | Page number. Pass next_page from the previous response. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/trendyol/v1/reviews?product_id=985256830" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/trendyol/v1/reviews",
params={"product_id": "985256830"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/trendyol/v1/reviews");
url.searchParams.set("product_id", "985256830");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).