TalabatMart Products
talabatmart.products.list
Every product in a Talabat Mart category: name, size, price, original price, discount, stock and whether it is sponsored.
At a glance
- Endpoint ID
talabatmart.products.list- Price
- By request
- Runs for up to
- 30 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": "talabatmart.products.list", "input": { "category_id": "558a1d0e-bf08-4e9f-8097-7ca17a3230cd", "country": "ae", "global_id": "07205cb7-ca4e-4872-9414-fe9b865de22b" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "talabatmart.products.list", "input": { "category_id": "558a1d0e-bf08-4e9f-8097-7ca17a3230cd", "country": "ae", "global_id": "07205cb7-ca4e-4872-9414-fe9b865de22b" }}''')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": "talabatmart.products.list", "input": { "category_id": "558a1d0e-bf08-4e9f-8097-7ca17a3230cd", "country": "ae", "global_id": "07205cb7-ca4e-4872-9414-fe9b865de22b" }}),});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. | 558a1d0e-bf08-4e9f-8097-7ca17a3230cd |
global_id |
string | yes | The store's catalog ID, from the global ID endpoint. | 07205cb7-ca4e-4872-9414-fe9b865de22b |
category_name |
string | no | The category's name, kept with the results so your rows say where they came from. | |
country |
string | no | ae (UAE), om (Oman), qa (Qatar) or kw (Kuwait); UAE when left out. Use the same country for every step. | ae |
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:
{ "products": [ { "name": "Apple EarPods USB-C", "price": 79, "age_limit": 0, "category_id": "", "currency": "AED", "description": "Shaped according to ear geometry, these EarPods deliver a secure and comfortable fit across a wide range of ear types .\nBuilt-in microphone…", "discount": 0, "discount_percentage": 0, "global_catalog_id": "eaaeeef5-94cc-43f8-aa06-f90958d4a9dd", "global_catalog_vendor_id": "07205cb7-ca4e-4872-9414-fe9b865de22b", "id": "eaaeeef5-94cc-43f8-aa06-f90958d4a9dd", "image_url": "https://talabat.dhmedia.io/image/product-information-management/69baafdff1e0dd027dd2ac8d.jpg", "is_available": true, "is_sponsored": false, "net_contents_description": "1 Piece", "original_price": 79, "packaging_charge": 0, "sku": "931782", "stock_amount": 8, "vendor_id": "07205cb7-ca4e-4872-9414-fe9b865de22b", "characteristics": { "ageLimit": "0", "available": "true", "baseContentValue": "1", "baseUnit": "piece", "brand": "", "chainProductId": "11126492", "contentsUnit": "pieces", "contentsValue": "1.00", "dosage_information_health_warning": "", "freshnessGuaranteeInDays": "0", "heightInCm": "6.00", "isPackagedFood": "false", "legalInfo": "Returnable", "lengthInCm": "2.00", "manufacturer_safety_information": "", "masterCode": "674460ec23c18808610e7aa8", "maximumSalesQuantity": "0", "numberOfUnits": "1", "originalPrice": "79.000000", "pharmacyPrescription": "NONE", "pieceBarcodes": "00195949776274", "pricePerBaseUnit": "79.0000", "restricted_substance_warning": "", "salesBuffer": "0", "shelfLifeInDays": "0", "sku": "931782", "sold_by_weight": "false", "vatRate": "5.00", "vendor_pos_integrated": "false", "weightUnit": "g", "weightValue": "31.00", "widthInCm": "8.50" }, "pricing_details": { "price": 79, "highlight_style": "default", "original_price": 79, "packaging_charge": 0 }, "tracking": { "nmr_ad_id": "", "query_id": "3953373450" }, "attributes": [ { "name": "false", "id": "isPackagedFood", "type": "characteristic" }, { "name": "5.00", "id": "vatRate", "type": "characteristic" } ], "category_ids": [], "display_tags": [], "image_urls": [ { "url": "https://talabat.dhmedia.io/image/product-information-management/69baafdff1e0dd027dd2ac8d.jpg" }, { "url": "https://talabat.dhmedia.io/image/product-information-management/69baafe1f1e0dd027dd2acb5.jpg" } ], "tags": [], "urls": [ "https://talabat.dhmedia.io/image/product-information-management/69baafdff1e0dd027dd2ac8d.jpg", "https://talabat.dhmedia.io/image/product-information-management/69baafe1f1e0dd027dd2acb5.jpg" ] }, { "name": "Flex Series Cable Lightning 2.4 A 1 M - White", "price": 31.95, "age_limit": 0, "category_id": "", "currency": "AED", "description": "Function: Charging & Sync\nHigh Quality Cable Core", "discount": 0, "discount_percentage": 0, "global_catalog_id": "90ef7280-2080-43d9-8299-bc91419e6985", "global_catalog_vendor_id": "07205cb7-ca4e-4872-9414-fe9b865de22b", "id": "90ef7280-2080-43d9-8299-bc91419e6985", "image_url": "https://talabat.dhmedia.io/image/darkstores/groceries-catalog/products-uae/UAE_736542559132.jpg", "is_available": true, "is_sponsored": false, "net_contents_description": "1 Piece", "original_price": 31.95, "packaging_charge": 0, "sku": "907733", "stock_amount": 5, "vendor_id": "07205cb7-ca4e-4872-9414-fe9b865de22b", "characteristics": { "ageLimit": "0", "available": "true", "baseContentValue": "1", "baseUnit": "piece", "brand": "", "chainProductId": "589592", "contentsUnit": "pieces", "contentsValue": "1.00", "dosage_information_health_warning": "", "freshnessGuaranteeInDays": "0", "heightInCm": "18.60", "isPackagedFood": "false", "legalInfo": "Returnable", "lengthInCm": "8.20", "manufacturer_safety_information": "", "masterCode": "AEJC1900", "maximumSalesQuantity": "0", "numberOfUnits": "1", "originalPrice": "31.950000", "pharmacyPrescription": "NONE", "pieceBarcodes": "00736542559132", "pricePerBaseUnit": "31.9500", "restricted_substance_warning": "", "salesBuffer": "0", "shelfLifeInDays": "547", "sku": "907733", "sold_by_weight": "false", "vatRate": "5.00", "vendor_pos_integrated": "false", "weightUnit": "g", "weightValue": "20.00", "widthInCm": "2.20" }, "pricing_details": { "price": 31.95, "highlight_style": "default", "original_price": 31.95, "packaging_charge": 0 }, "tracking": { "nmr_ad_id": "", "query_id": "3953373450" }, "attributes": [ { "name": "false", "id": "isPackagedFood", "type": "characteristic" }, { "name": "5.00", "id": "vatRate", "type": "characteristic" } ], "category_ids": [], "display_tags": [], "image_urls": [ { "url": "https://talabat.dhmedia.io/image/darkstores/groceries-catalog/products-uae/UAE_736542559132.jpg" } ], "tags": [ "totu", "millennium" ], "urls": [ "https://talabat.dhmedia.io/image/darkstores/groceries-catalog/products-uae/UAE_736542559132.jpg" ] } ]}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
products[].attributes[].name |
string | false | |
products[].name |
string | The product's name. | Apple EarPods USB-C |
products[].price |
integer | The price. | 79 |
products[].pricing_details.price |
integer | The price. | 79 |
products[].age_limit |
integer | The minimum age to buy it, if any. | 0 |
products[].attributes |
array | The product's attributes. | 3 records |
products[].attributes[].id |
string | isPackagedFood | |
products[].attributes[].type |
string | characteristic | |
products[].category_id |
string | ||
products[].category_ids |
array | empty in this sample | |
products[].characteristics |
object | 32 fields | |
products[].characteristics.ageLimit |
string | The minimum age to buy it, if any. | 0 |
products[].characteristics.available |
string | Whether the product can be ordered. | true |
products[].characteristics.baseContentValue |
string | 1 | |
products[].characteristics.baseUnit |
string | The base unit for unit pricing. | piece |
products[].characteristics.brand |
string | The product's brand. | |
products[].characteristics.chainProductId |
string | 11126492 | |
products[].characteristics.contentsUnit |
string | The unit of the contents. | pieces |
products[].characteristics.contentsValue |
string | How much the pack contains. | 1.00 |
products[].characteristics.dosage_information_health_warning |
string | ||
products[].characteristics.freshnessGuaranteeInDays |
string | Days of freshness Talabat guarantees. | 0 |
products[].characteristics.heightInCm |
string | The pack's height in centimetres. | 6.00 |
products[].characteristics.isPackagedFood |
string | Whether it is packaged food. | false |
products[].characteristics.legalInfo |
string | Talabat's legal note, such as whether it can be returned. | Returnable |
products[].characteristics.lengthInCm |
string | The pack's length in centimetres. | 2.00 |
products[].characteristics.manufacturer_safety_information |
string | ||
products[].characteristics.masterCode |
string | 674460ec23c18808610e7aa8 | |
products[].characteristics.maximumSalesQuantity |
string | 0 | |
products[].characteristics.numberOfUnits |
string | How many units the pack has. | 1 |
products[].characteristics.originalPrice |
string | The price before the discount. | 79.000000 |
products[].characteristics.pharmacyPrescription |
string | Whether it needs a prescription. | NONE |
products[].characteristics.pieceBarcodes |
string | The product's barcode numbers. | 00195949776274 |
products[].characteristics.pricePerBaseUnit |
string | The price per base unit. | 79.0000 |
products[].characteristics.restricted_substance_warning |
string | ||
products[].characteristics.salesBuffer |
string | 0 | |
products[].characteristics.shelfLifeInDays |
string | The product's shelf life in days. | 0 |
products[].characteristics.sku |
string | The product's code. | 931782 |
products[].characteristics.sold_by_weight |
string | Whether it is sold by weight. | false |
products[].characteristics.vatRate |
string | The VAT rate in percent. | 5.00 |
products[].characteristics.vendor_pos_integrated |
string | false | |
products[].characteristics.weightUnit |
string | The unit of that weight. | g |
products[].characteristics.weightValue |
string | The product's weight. | 31.00 |
products[].characteristics.widthInCm |
string | The pack's width in centimetres. | 8.50 |
products[].currency |
string | The currency. | AED |
products[].description |
string | The product's description. | Shaped according to ear geometry, these EarPods deliver a secur… |
products[].discount |
integer | The discount amount. | 0 |
products[].discount_percentage |
integer | The discount in percent. | 0 |
products[].display_tags |
array | Labels shown on the product. | empty in this sample |
products[].global_catalog_id |
string | eaaeeef5-94cc-43f8-aa06-f90958d4a9dd | |
products[].global_catalog_vendor_id |
string | 07205cb7-ca4e-4872-9414-fe9b865de22b | |
products[].id |
string | Talabat's ID for it. | eaaeeef5-94cc-43f8-aa06-f90958d4a9dd |
products[].image_url |
string | Link to the product's image. | https://talabat.dhmedia.io/image/product-information-management… |
products[].image_urls |
array | Links to the product's images. | 2 records |
products[].image_urls[].url |
string | https://talabat.dhmedia.io/image/product-information-management… | |
products[].is_available |
boolean | Whether the product can be ordered. | true |
products[].is_sponsored |
boolean | Whether the product is a paid placement. | false |
products[].net_contents_description |
string | What the pack contains, as Talabat describes it. | 1 Piece |
products[].original_price |
integer | The price before the discount. | 79 |
products[].packaging_charge |
integer | Any packaging charge. | 0 |
products[].pricing_details |
object | The product's price details. | 4 fields |
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 TalabatMart endpoints
Something missing or unclear? Ask the team that builds the TalabatMart endpoints.