Pepperfry Product API
Get one product from its page: price, brand, rating, availability, SKU and description, for a PIN code if you give one.
{ "title": "Cresco Fabric 3 Seater Sofa In Camel Brown Colour", "price": 15990, "rating": 4, "availability": "https://schema.org/OutOfStock", "brand": "Interio By Godrej", "currency": "INR", "description": "Shop Cresco Fabric 3 Seater Sofa In Camel Brown Colour at 59% OFF by Interio By Godrej Online. Get great deals & offers on various Sofa Set…", "product_id": "2195300", "rating_count": 5, "sku": "FN2195300-S-PM5458", "url": "https://www.pepperfry.com/product/cresco-fabric-3-seater-sofa-in-camel-brown-colour-2195300.html?country=IN&requestPlatform=web", "image_urls": [ "https://ii1.pepperfry.com/media/catalog/product/c/r/1250x625/cresco-fabric-3-seater-sofa-in-camel-brown-colour-cresco-fabric-3-seater-sofa-…", "https://ii1.pepperfry.com/media/catalog/product/c/r/1250x625/cresco-fabric-3-seater-sofa-in-camel-brown-colour-cresco-fabric-3-seater-sofa-…" ]}
What you send, what comes back
The input object it accepts, and every field of a record, with the values from the response above.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| product_url | string | yes | The product's page on pepperfry.com. | https://www.pepperfry.com/product/cresco-fabric… |
| pincode | string | no | A six-digit Indian PIN code, for delivery there. | 400001 |
| Field | Type | What it is | Example |
|---|---|---|---|
| title | string | The product name as Pepperfry shows it. | Cresco Fabric 3 Seater Sofa In Camel Brown Colour |
| brand | string | The product's brand. | Interio By Godrej |
| price | integer | The selling price, in the currency given. | 15,990 |
| currency | string | The currency code of the prices. | INR |
| rating | integer | The average star rating. | 4 |
| rating_count | integer | How many ratings the product has. | 5 |
| availability | string | Whether the product is in stock, as a standard web value. | https://schema.org/OutOfStock |
| sku | string | The seller's stock code for the product. | FN2195300-S-PM5458 |
| description | string | The product description as Pepperfry shows it. | Shop Cresco Fabric 3 Seater Sofa In Camel Brown Colour at 59% O… |
| image_urls | array | The product's pictures. | https://ii1.pepperfry.com/media/catalog/product/c/r/1250x625/cr… |
| product_id | string | Pepperfry's ID for the product; the product endpoint takes it. | 2195300 |
| url | string | The product's page on Pepperfry. | https://www.pepperfry.com/product/cresco-fabric-3-seater-sofa-i… |
Call it from your code
Set UPSCRAPE_API_KEY to your key and copy a working request. No SDK needed.
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.product.get", "input": { "pincode": "400001", "product_url": "https://www.pepperfry.com/product/cresco-fabric-3-seater-sofa-in-camel-brown-colour-2195300.html" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "pepperfry.product.get", "input": { "pincode": "400001", "product_url": "https://www.pepperfry.com/product/cresco-fabric-3-seater-sofa-in-camel-brown-colour-2195300.html" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "pepperfry.product.get", "input": { "pincode": "400001", "product_url": "https://www.pepperfry.com/product/cresco-fabric-3-seater-sofa-in-camel-brown-colour-2195300.html" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "title": "Cresco Fabric 3 Seater Sofa In Camel Brown Colour", "price": 15990, "rating": 4, "availability": "https://schema.org/OutOfStock", "brand": "Interio By Godrej", "currency": "INR", "description": "Shop Cresco Fabric 3 Seater Sofa In Camel Brown Colour at 59% OFF by Interio By Godrej Online. Get great deals & offers on various Sofa Set…", "product_id": "2195300", "rating_count": 5, "sku": "FN2195300-S-PM5458", "url": "https://www.pepperfry.com/product/cresco-fabric-3-seater-sofa-in-camel-brown-colour-2195300.html?country=IN&requestPlatform=web", "image_urls": [ "https://ii1.pepperfry.com/media/catalog/product/c/r/1250x625/cresco-fabric-3-seater-sofa-in-camel-brown-colour-cresco-fabric-3-seater-sofa-…", "https://ii1.pepperfry.com/media/catalog/product/c/r/1250x625/cresco-fabric-3-seater-sofa-in-camel-brown-colour-cresco-fabric-3-seater-sofa-…" ]}
More Pepperfry endpoints
The same API key runs every one of them.
The same data from other platforms
-
Aldi UK Refresh a Aldi UK product by its ID or official URL with published shelf prices, unit prices and offers. Product detail1 credit per call
-
Amazon Get Amazon US product details for a single ASIN: title, price, availability, images, rating and attributes. Product5 credits per call
-
Apollo Pharmacy Read one Apollo Pharmacy product with price, MRP, pack, manufacturer, composition, images and pack variants. Product1 credit per call
-
Asda Fetch one Asda product by product ID (numeric or SKU-prefixed) or CIN, with country, dietary flags, per-nation prices, and maximum order quantity. Product detail1 credit per call
-
Blinkit Get Blinkit product details by ID or URL, including price, stock, images and published product information for your delivery location. Product1 credit per call
-
Carrefour Get a Carrefour product by ID or URL, with its current price, availability, images, seller details and source link. Product detailContact for pricing per call
Pepperfry Product API FAQ
The short answers. The docs have the long ones.
How much does the Pepperfry Product API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send product_url. The input fields below list every option with its type and limits.
Do I need a Pepperfry login?
No. It reads public Pepperfry data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds pepperfry.product.get, checks its price and runs it with the same credits as the REST API.