↑ ↓ to move ↵ to open

Pepperfry Category

pepperfry.catalog.category

List a Pepperfry category, such as sofas, page by page: each product's title, price, MRP, discount and link.

At a glance

Endpoint ID
pepperfry.catalog.category
Price
1 credit per 24 results per call; failed calls are free
Runs for up to
45 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
pepperfry__catalog__category
Pin tools
OpenAPI
openapi.json
Download

Request

Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "pepperfry.catalog.category",  "input": {    "category_path": "/category/sofas.html",    "max_pages": 1,    "page": 1  }}'

Input

FieldTypeRequiredWhat it doesExample
category_path string yes The category's path on pepperfry.com, such as /category/sofas.html. /category/sofas.html
max_pages integer no How many pages to read in this call. 1
page integer no Which page to start from, starting at 1. 1

Response

A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.

This is results[0].data from a real run:

results[0].data
{  "end_page": 1,  "has_more": true,  "start_page": 1,  "listings": [    {      "title": "Montez Velvet 3 Seater Sofa In Grey & Beige Colour",      "price": 58999,      "mrp": 79999,      "currency": "INR",      "discount_percent": 26,      "page": 1,      "position": 1,      "product_id": "2134709",      "url": "https://www.pepperfry.com/product/montez-velvet-3-seater-sofa-in-grey-beige-colour-2134709.html"    },    {      "title": "Petra Sheesham Wood 3 Seater Sofa In Blue Colour",      "price": 50999,      "mrp": 85999,      "currency": "INR",      "discount_percent": 40,      "page": 1,      "position": 2,      "product_id": "2183553",      "url": "https://www.pepperfry.com/product/finnmark-sheesham-wood-3-seater-sofa-in-provincial-teak-finish-2183553.html"    }  ]}

Fields

FieldTypeWhat it isExample
listings[].title string The product name as Pepperfry shows it. Montez Velvet 3 Seater Sofa In Grey & Beige Colour
listings[].price integer The selling price, in the currency given. 58,999
listings[].mrp integer The maximum retail price printed for the product. 79,999
listings[].discount_percent integer The discount off the MRP, in percent. 26
listings[].product_id string Pepperfry's ID for the product; the product endpoint takes it. 2134709
listings[].currency string The currency code of the prices. INR
listings[].page integer The results page the product appeared on. 1
listings[].position integer The product's place on the page, starting at 1. 1
listings[].url string The product's page on Pepperfry. https://www.pepperfry.com/product/montez-velvet-3-seater-sofa-i…
end_page integer The last results page read in this call. 1
has_more boolean Whether more results follow. true
listings array The products. 20 records
start_page integer The first results page read in this call. 1

If a call fails

A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.

Other Pepperfry endpoints

Something missing or unclear? Ask the team that builds the Pepperfry endpoints.