Skip to documentation
Browse documentation

Product reviews

Read a bounded public review preview and aggregate ratings while omitting reviewer identity.

Capability ID tata-1mg.product.reviews
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

limit integer optional

Maximum number of results to return. From 1 to 100. Default: `20`.

Example 20
max_pages integer optional

Only the initial public preview is proven; later pages repeat records. From 1 to 1. Default: `1`.

Example 1
page integer optional

Only the initial public preview is proven; later pages repeat records. From 1 to 1. Default: `1`.

Example 1
url string required

Public URL of the page to fetch.

Example https://www.1mg.com/otc/biotin-advanced-tablet-for-healthy-hair-otc842970

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
end_page integer 1
has_more boolean false
pages_fetched integer 1
product_id string 842970
product_url string https://www.1mg.com/otc/[redacted:token]
rating number 4.2
review_count integer 396
reviews array 3 items
reviews array 3 items
start_page integer 1
total integer 3

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.