Skip to documentation
Browse documentation

Category products

Fetch a bounded first-page product preview from a public Tata 1mg category.

Capability ID tata-1mg.category.products
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

category_url string required

Public URL of the category.

Example https://www.1mg.com/categories/hair-care-20
limit integer optional

Maximum number of results to return. From 1 to 50. 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
pincode string optional

Postal code (PIN) that sets the delivery location.

Example 560001

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
category_url string https://www.1mg.com/categories/hair-care-20
end_page integer 1
has_more boolean false
limit integer 20
pages_fetched integer 1
pincode string 560001
products array 3 items
products array 3 items
start_page integer 1

Execution behavior

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