Pepperfry Deals API
List the products in a Pepperfry sale, with price, MRP and discount.
{ "end_page": 1, "has_more": true, "start_page": 1, "deals": [ { "title": "Luxury Crystal Lotus LED Wall Light Gold Finish", "price": 3209, "mrp": 7425, "deal_id": "2333051", "discount_percent": 57, "url": "https://www.pepperfry.com/product/luxury-crystal-lotus-led-wall-light-gold-finish-2333051.html" }, { "title": "Modern Minimalist LED Wall Light Gold Finish", "price": 1899, "mrp": 4000, "deal_id": "2333052", "discount_percent": 53, "url": "https://www.pepperfry.com/product/modern-minimalist-led-wall-light-gold-finish-2333052.html" } ]}
| # | Title | Price | Mrp | Discount percent | Deal id | Url |
|---|---|---|---|---|---|---|
| 1 | Luxury Crystal Lotus LED Wall Light Gold Finish | 3209 | 7425 | 57 | 2333051 | https://www.pepperfry.com/product/luxury-crystal-lotus-led-wall… |
| 2 | Modern Minimalist LED Wall Light Gold Finish | 1899 | 4000 | 53 | 2333052 | https://www.pepperfry.com/product/modern-minimalist-led-wall-li… |
| 3 | Round Crystal Chandelier Lighting Fixture, Office Reception Cei… | 9999 | 22,299 | 55 | 2325371 | https://www.pepperfry.com/product/500-mm-dia-chrome-body-chande… |
| 4 | Chandelier Lighting Fixture, Ceiling Hanging Light for Dining R… | 9999 | 22,299 | 55 | 2325373 | https://www.pepperfry.com/product/500-mm-dia-chocolate-brown-ch… |
| 5 | Chandelier Lighting Fixture, Ceiling Hanging Light for Dining R… | 9999 | 22,299 | 55 | 2325370 | https://www.pepperfry.com/product/500-mm-dia-golden-clear-cryst… |
| 6 | Chandelier Lighting Fixture, Ceiling Hanging Light for Dining R… | 9999 | 22,299 | 55 | 2325372 | https://www.pepperfry.com/product/500-mm-dia-golden-tubes-chand… |
| 7 | Jellyfish LED USB Rechargeable Touch Sensor & Voice Control wit… | 1349 | 2699 | 50 | 2329092 | https://www.pepperfry.com/product/jellyfish-led-usb-rechargeabl… |
| 8 | Verona Natural Wood Iron Hanging Light | E27 holder | without B… | 2739 | 6099 | 55 | 2328267 | https://www.pepperfry.com/product/verona-natural-wood-iron-hang… |
| 9 | Novelty Wall Light Honeycomb Design | 1000 | 2000 | 50 | 2323584 | https://www.pepperfry.com/product/novelty-wall-light-honeycomb-… |
| 10 | Novelty Wall Light Line Rumal Design | 1000 | 2000 | 50 | 2323582 | https://www.pepperfry.com/product/novelty-wall-light-line-rumal… |
| 11 | Copper Finish Novelty Wall Light Square Design | 1000 | 2000 | 50 | 2323594 | https://www.pepperfry.com/product/copper-finish-novelty-wall-li… |
| 12 | Copper Finish Novelty Wall Light Round Design | 1000 | 2000 | 50 | 2323596 | https://www.pepperfry.com/product/copper-finish-novelty-wall-li… |
| 13 | Gold Finish Novelty Wall Light Square Design | 1000 | 2000 | 50 | 2323588 | https://www.pepperfry.com/product/gold-finish-novelty-wall-ligh… |
| 14 | Gold Finish Novelty Wall Light Triangle Design | 1000 | 2000 | 50 | 2323590 | https://www.pepperfry.com/product/gold-finish-novelty-wall-ligh… |
| 15 | Gold Finish Novelty Wall Light Oval Design | 1000 | 2000 | 50 | 2323586 | https://www.pepperfry.com/product/gold-finish-novelty-wall-ligh… |
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 |
|---|---|---|---|---|
| deal_filter | string | no | Narrow the sale to one of its filters. | |
| deal_url | string | no | A Pepperfry sale page. | https://www.pepperfry.com/discover/home-kitchen… |
| 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 |
| Field | Type | What it is | Example |
|---|---|---|---|
| deals[].title | string | The product name as Pepperfry shows it. | Luxury Crystal Lotus LED Wall Light Gold Finish |
| deals[].price | integer | The selling price, in the currency given. | 3209 |
| deals[].mrp | integer | The maximum retail price printed for the product. | 7425 |
| deals[].discount_percent | integer | The discount off the MRP, in percent. | 57 |
| deals[].deal_id | string | Pepperfry's ID for the deal. | 2333051 |
| deals[].url | string | The product's page on Pepperfry. | https://www.pepperfry.com/product/luxury-crystal-lotus-led-wall… |
| deals | array | The deals. | 40 records |
| end_page | integer | The last results page read in this call. | 1 |
| has_more | boolean | Whether more results follow. | true |
| start_page | integer | The first results page read in this call. | 1 |
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.deals.get", "input": { "deal_url": "https://www.pepperfry.com/discover/home-kitchen-products-sale-deals.html", "max_pages": 1, "page": 1 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "pepperfry.deals.get", "input": { "deal_url": "https://www.pepperfry.com/discover/home-kitchen-products-sale-deals.html", "max_pages": 1, "page": 1 }}''')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.deals.get", "input": { "deal_url": "https://www.pepperfry.com/discover/home-kitchen-products-sale-deals.html", "max_pages": 1, "page": 1 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "end_page": 1, "has_more": true, "start_page": 1, "deals": [ { "title": "Luxury Crystal Lotus LED Wall Light Gold Finish", "price": 3209, "mrp": 7425, "deal_id": "2333051", "discount_percent": 57, "url": "https://www.pepperfry.com/product/luxury-crystal-lotus-led-wall-light-gold-finish-2333051.html" }, { "title": "Modern Minimalist LED Wall Light Gold Finish", "price": 1899, "mrp": 4000, "deal_id": "2333052", "discount_percent": 53, "url": "https://www.pepperfry.com/product/modern-minimalist-led-wall-light-gold-finish-2333052.html" } ]}
More Pepperfry endpoints
The same API key runs every one of them.
Pepperfry Deals API FAQ
The short answers. The docs have the long ones.
How much does the Pepperfry Deals API cost?
1 credit per 40 results per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Every input is optional; the input fields below list what each one does.
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.deals.get, checks its price and runs it with the same credits as the REST API.