Panda Saudi Arabia Promotions
panda.promotions.list
Panda's discounted products, page by page, with their prices, discount labels and pack sizes.
At a glance
- Endpoint ID
panda.promotions.list- Price
- By request
- Runs for up to
- 60 seconds
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": "panda.promotions.list", "input": { "language": "en", "page": 1 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "panda.promotions.list", "input": { "language": "en", "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": "panda.promotions.list", "input": { "language": "en", "page": 1 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
language |
string | no | en for English (the default) or ar for Arabic. | en |
page |
integer | no | Which page, 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:
{ "raw": { "status": true, "data": { "deals_available": true, "filter_available": true, "next_page": true, "page": 1, "sort_available": false, "total_records": 4777, "products": [ { "name": "Volvic Water 500ml", "brand_id": 1324, "category_id": 972, "custom_category_ids": null, "filter": "water,ten-banner-promo", "id": 25097, "rank": 520027, "selected": null, "brand": { "name": "Volvic", "id": 1324, "imageURL": null }, "category": { "name": "Premium Water", "color": "#FFFFFF", "id": 972, "imageURL": null, "parent": 815, "type": "category" }, "filter_category_ids": [], "varieties": [ { "price": "6", "availability": 1, "availability_desc": "Mostly unavailable", "barcode": "3057640100670", "bundles_included": true, "cashback_enabled": false, "cashback_max_qty": null, "cashback_message": null, "cashback_min_qty": null, "cashback_mode": null, "cashback_price": "0", "cashback_type": null, "description": "Natural mineral water pure and refreshing.", "discount_label": "2 for 11.99 SR", "discount_label_color": "#FF3B3B", "express": true, "id": 35191, "imageAr": false, "imageEn": false, "imageURL": "https://images.todoorstep.com/product/405545/Ar_small.jpg?t=1744675200", "image_updated_at": "1744675200", "is_favorite": false, "item_parent": 405545, "life_style": null, "max_quantity": 25, "member_price": false, "min_quantity": 1, "mix_match_promo": null, "note": "maximum 25", "note_color": "#AA0000", "nutrition": "", "show_discount": true, "sides_images": 0, "size": "500", "sku": 405545, "undiscounted_price": "9.50", "unit": "mL", "use_sku_image_path": false, "variety_options": null, "weighted_interval": "0.50", "wighted": false, "gift_note": { "enabled": false, "label": null }, "discount_labels": [ "2 for 11.99 SR" ], "images": [ [ "https://images.todoorstep.com/product/405545/Ar.jpg?t=1744675200", "https://images.todoorstep.com/product/405545/Ar_large.jpg?t=1744675200" ] ], "weighted_options": [] } ] }, { "name": "Acqua Panna Natural Still Water Glass 6x250ml", "brand_id": 2368, "category_id": 972, "filter": "", "id": 127340, "rank": 520024, "selected": null, "brand": { "name": "Acqua Panna", "id": 2368, "imageURL": null }, "category": { "name": "Premium Water", "color": "#FFFFFF", "id": 972, "imageURL": null, "parent": 815, "type": "category" }, "custom_category_ids": [ 1135 ], "filter_category_ids": [], "varieties": [ { "price": "20", "availability": 1, "availability_desc": "Mostly unavailable", "barcode": "8002270028280", "bundles_included": false, "cashback_enabled": false, "cashback_max_qty": null, "cashback_message": null, "cashback_min_qty": null, "cashback_mode": null, "cashback_price": "0", "cashback_type": null, "description": "Natural still water in glass bottles.", "discount_label": "64% Off", "discount_label_color": "#FF3B3B", "express": true, "id": 133202, "imageAr": false, "imageEn": false, "imageURL": "https://images.todoorstep.com/product/100252602/Ar_small.jpg?t=1780484892", "image_updated_at": "1780484892", "is_favorite": false, "item_parent": 100252601, "life_style": null, "max_quantity": 10, "member_price": false, "min_quantity": 1, "mix_match_promo": null, "note": "maximum 10", "note_color": "#AA0000", "nutrition": "", "show_discount": true, "sides_images": 0, "size": "250", "sku": 100252602, "undiscounted_price": "55.99", "unit": "mL", "use_sku_image_path": false, "variety_options": null, "weighted_interval": "0.50", "wighted": false, "gift_note": { "enabled": false, "label": null }, "discount_labels": [ "64% Off" ], "images": [ [ "https://images.todoorstep.com/product/100252602/Ar.jpg?t=1780484892", "https://images.todoorstep.com/product/100252602/Ar_large.jpg?t=1780484892" ] ], "weighted_options": [] } ] } ], "quick_filters": [ { "title": "Offers", "background_color": "#E1E7E3", "cta_action": "todoorstep://plp?collection=discounted&promo_type=1", "icon_path": "", "id": 1, "selected_color": "#2C5535", "title_color": "#FFFFFF", "type": "promo_type_1" }, { "title": "Mix And Match", "background_color": "#E1E7E3", "cta_action": "todoorstep://plp?collection=discounted&promo_type=5", "icon_path": "", "id": 2, "selected_color": "#2C5535", "title_color": "#FFFFFF", "type": "promo_type_5" } ] } }}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
raw |
object | The offers list as Panda provides it. | 2 fields |
raw.data |
object | The products, page details and filter options. | 8 fields |
raw.data.deals_available |
boolean | Whether the list has deals. | true |
raw.data.filter_available |
boolean | Whether the list can be filtered. | true |
raw.data.next_page |
boolean | Whether another page follows. | true |
raw.data.page |
integer | The page this response holds. | 1 |
raw.data.products |
array | The products. | 3 records |
raw.data.quick_filters |
array | Shortcut filters shown above the list, such as Offers. | 3 records |
raw.data.sort_available |
boolean | Whether the list can be sorted. | false |
raw.data.total_records |
integer | How many products the list has in all. | 4777 |
raw.status |
boolean | Whether the lookup worked. | true |
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 Panda Saudi Arabia endpoints
Something missing or unclear? Ask the team that builds the Panda Saudi Arabia endpoints.