Panda Saudi Arabia Products
panda.products.list
The products in a Panda category, page by page: name, brand, pack sizes, prices, discount labels and the total count.
At a glance
- Endpoint ID
panda.products.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.products.list", "input": { "category_id": "568", "language": "en", "page": 1 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "panda.products.list", "input": { "category_id": "568", "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.products.list", "input": { "category_id": "568", "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 |
|---|---|---|---|---|
category_id |
string | yes | The category's ID, from the categories endpoint. | 568 |
category_name |
string | no | The category's name, kept with the results so your rows say where they came from. | |
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": 63, "products": [ { "name": "Lux Hand Wash, Magical Orchid, 500 ml", "brand_id": 825, "category_id": 408, "filter": "Hand Wash", "id": 16317, "rank": 900005, "selected": 0, "brand": { "name": "Lux", "id": 825, "imageURL": null }, "category": { "name": "Shower Bath & Soap", "color": "#914291", "id": 408, "imageURL": "https://todoorstep.s3.amazonaws.com/app-assets/categoryicons/Drinks", "parent": 209, "type": "category" }, "custom_category_ids": [ 568 ], "filter_category_ids": [ 698 ], "varieties": [ { "price": "14.99", "availability": 1, "availability_desc": "Mostly unavailable", "barcode": "6281006478650", "bundles_included": false, "cashback_enabled": false, "cashback_max_qty": null, "cashback_message": null, "cashback_min_qty": null, "cashback_mode": null, "cashback_price": "1", "cashback_type": null, "description": "Lux hand wash with enchanting orchid fragrance, 500 ml.", "discount_label": "40% Off", "discount_label_color": "#FF3B3B", "express": true, "id": 25816, "imageAr": false, "imageEn": false, "imageURL": "https://images.todoorstep.com/product/3302395/Ar_small.jpg?t=1744675200", "image_updated_at": "1744675200", "is_favorite": false, "item_parent": null, "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": 1, "size": "500", "sku": 3302395, "undiscounted_price": "24.99", "unit": "ML", "use_sku_image_path": false, "variety_options": null, "weighted_interval": "0.50", "wighted": false, "discount_labels": [ "40% Off" ], "images": [ [ "https://images.todoorstep.com/product/3302395/Ar.jpg?t=1744675200", "https://images.todoorstep.com/product/3302395/Ar_large.jpg?t=1744675200" ], [ "https://images.todoorstep.com/product/3302395/side1.jpg?t=1744675200", "https://images.todoorstep.com/product/3302395/side1_large.jpg?t=1744675200" ] ], "weighted_options": [] } ] }, { "name": "Lifebuoy Total Body Wash 500ml", "brand_id": 991, "category_id": 408, "filter": null, "id": 43589, "rank": 900007, "selected": null, "brand": { "name": "Lifebuoy", "id": 991, "imageURL": null }, "category": { "name": "Shower Bath & Soap", "color": "#914291", "id": 408, "imageURL": "https://todoorstep.s3.amazonaws.com/app-assets/categoryicons/Drinks", "parent": 209, "type": "category" }, "custom_category_ids": [ 568 ], "filter_category_ids": [ 699 ], "varieties": [ { "price": "46.99", "availability": 1, "availability_desc": "Mostly unavailable", "barcode": "8999999511750", "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": "Lifebuoy Total Body Wash 500ml, offers complete skin protection with effective cleansing.", "discount_label": "", "discount_label_color": "#FF3B3B", "express": true, "id": 33344, "imageAr": false, "imageEn": false, "imageURL": "https://images.todoorstep.com/product/2505885/Ar_small.jpg?t=1746363644", "image_updated_at": "1746363644", "is_favorite": false, "item_parent": null, "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": false, "sides_images": 5, "size": "500", "sku": 2505885, "undiscounted_price": null, "unit": "ml", "use_sku_image_path": false, "variety_options": null, "weighted_interval": "0.50", "wighted": false, "discount_labels": [], "images": [ [ "https://images.todoorstep.com/product/2505885/Ar.jpg?t=1746363644", "https://images.todoorstep.com/product/2505885/Ar_large.jpg?t=1746363644" ], [ "https://images.todoorstep.com/product/2505885/side1.jpg?t=1746363644", "https://images.todoorstep.com/product/2505885/side1_large.jpg?t=1746363644" ] ], "weighted_options": [] } ] } ], "quick_filters": [] } }}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
raw |
object | The product 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. | empty in this sample |
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. | 63 |
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.