Tokopedia API endpoint
Returns which public review media, rating, and topic filters are available for a numeric product ID. It does not return review text, review media, or a review archive.
/tokopedia/product/review-filtersQuery parameters:
product_id (required): numeric Tokopedia product ID.Returns filter availability metadata for the product's public reviews: media,
ratings, and topics. It does not return review text, review media, or a paginated
review archive. browser_rendered is always false.
| Field | Filled in, of 6 checked | Values in the sample |
|---|---|---|
| key | 6 | |
| available | 6 | true in 6 of 6 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| product_id | string | Yes | Numeric Tokopedia product ID | 102491859263 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/tokopedia/product/review-filters?product_id=102491859263" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"product_id": "102491859263",
"browser_rendered": false,
"media": [
{
"key": "image",
"available": true
}
],
"ratings": [
{
"key": "5",
"available": true
}
],
"topics": []
}
}Request schema
No body schema
Response schema
#/definitions/tokopedia.reviewFiltersResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | tokopedia.ReviewFiltersResponse | No | ||||
| data.browser_rendered | boolean | No | ||||
| data.fetched_at | string | No | ||||
| data.media | array | No | ||||
| data.media[].available | boolean | No | ||||
| data.media[].key | string | No | ||||
| data.product_id | string | No | ||||
| data.ratings | array | No | ||||
| data.ratings[].available | boolean | No | ||||
| data.ratings[].key | string | No | ||||
| data.topics | array | No | ||||
| data.topics[].available | boolean | No | ||||
| data.topics[].key | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/tokopedia/product/review-filters?product_id=102491859263" \
-H "x-api-key: $CRAWLORA_API_KEY"