Skip to documentation
Browse documentation

Category

Fetch category listing pages from category URLs and return normalized listing rows.

Capability ID pepperfry.catalog.category
Cost 1 credit per request
Maximum runtime 45 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

category_path string required

Category path supplied for this request.

Example /category/sofas.html
max_pages integer optional

Max pages supplied for this request.

Example 1
page integer optional

One-based result page to fetch.

Example 1

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 full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

PathObserved typeExample
category_path string /category/sofas.html
end_page integer 1
has_more boolean true
listings array 3 items
listings array 3 items
pages_fetched integer 1
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.