{"openapi":"3.0.0","info":{"title":"Talabat Middle East Restaurants and Menus","version":"1.0.0","description":"Talabat restaurants, merchant profiles, menu items, promotions and delivery areas across nine Middle East markets, one row per entity."},"servers":[{"url":"https://ah-talabat-com.opendata.best/s/talabat-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Restaurants, cuisines and areas across Middle East markets","description":"Restaurant listings, cuisines, delivery areas and verticals across nine Middle East countries.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["auto","area","search","cuisine","city","chain","catalog","vertical","home","cuisinesHub","discoverAreas","discoverCities","discoverCuisines"],"description":"Mode. Leave on Auto and fill a target field to select its mode, or choose a mode explicitly. Empty input runs a billed example of up to 3 rows; use Merchant mode for public brand URLs and Restaurant mode for branch menus.","default":"auto","example":"auto"},"country":{"type":"string","enum":["uae","kuwait","ksa","qatar","bahrain","egypt","oman","jordan","iraq"],"description":"Country. Choose the Talabat country path. Use a country that matches all URLs in the request.","default":"uae","example":"uae"},"areaId":{"type":"string","description":"Area ID. Delivery area identifier, such as 1174 for Al Barsha 1 in Dubai. Supply the matching areaSlug for local listings.","example":"1174"},"areaSlug":{"type":"string","description":"Area slug. Area slug that goes with the area id (for example al-barsha-1).","example":"al-barsha-1"},"searchQuery":{"type":"string","description":"Search query. Search term for restaurants in a delivery area. Use areaId and areaSlug to choose the location."},"cuisineSlug":{"type":"string","description":"Cuisine slug. Cuisine path segment, such as pizza. Include areaId and areaSlug to request restaurants in that area."},"citySlug":{"type":"string","description":"City slug. City path segment for city mode, such as dubai. City pages may return discovery links rather than restaurant rows."},"chainName":{"type":"string","description":"Chain name filter. Restaurant name filter for chain mode. Matches names containing this text within the selected area."},"restaurantId":{"type":"string","description":"Restaurant ID. Brand restaurant identifier for chain mode. This is different from a delivery branch ID."},"vertical":{"type":"string","enum":["restaurants","groceries","pharmacies","talabat-mart","flowers","donations"],"description":"Vertical hub. Category for vertical mode. Availability and row types vary by category and country.","default":"restaurants","example":"restaurants"},"lang":{"type":"string","description":"Language path. Use en or ar for the requested language where available. This does not translate search terms."},"filters":{"type":"array","items":{"type":"string"},"description":"Listing filters. Listing filters such as free_delivery, top_rated or Offers. Availability depends on the selected area."},"sort":{"type":"string","description":"Sort slug. Listing sort value, such as rating, fastest_delivery, min_order, deliverycharges or a_z."},"groceryOnly":{"type":"boolean","description":"Grocery vendors only. Keep grocery vendors in listing results when the source identifies them as grocery businesses.","default":false,"example":false},"enrichDetails":{"type":"boolean","description":"Enrich public merchant details. For catalog/sitemap/public startUrls: replace up to maxEnrich rows with brand profiles, not menus.","default":false,"example":false},"enrichMenus":{"type":"boolean","description":"Enrich listing with menus. Request enabled menu or other detail rows for up to maxEnrich restaurants in supported listing modes.","default":false,"example":false},"maxEnrich":{"type":"integer","minimum":0,"maximum":50,"description":"Max restaurants to enrich. Maximum restaurants eligible for detail, menu or review enrichment. Each enabled row type still shares maxResults.","default":5,"example":5},"includeMenuItems":{"type":"boolean","description":"Include menu items. Add menu products as separate menuItem rows when available. These rows share maxResults with restaurants and all other row types.","default":false,"example":false},"maxMenuItemsPerRestaurant":{"type":"integer","minimum":0,"maximum":200,"description":"Max menu items per restaurant. Per-parent cap for menuItem rows. Menu items share the current input's maxResults allowance.","default":20,"example":20},"includeChoices":{"type":"boolean","description":"Include choices/modifiers. Include available menu choices when maxChoicesPerRestaurant is greater than zero. Choices are disabled by the default zero cap.","default":true,"example":true},"maxChoicesPerRestaurant":{"type":"integer","minimum":0,"maximum":50,"description":"Max choices fetches per restaurant. Maximum menu products per restaurant for which choices are requested. Zero disables choice collection.","default":0,"example":0},"includePromotions":{"type":"boolean","description":"Include promotions. Add available promotions as separate billed rows. Off by default; these rows share maxResults.","default":false,"example":false},"includePaymentMethods":{"type":"boolean","description":"Include payment methods. Add available payment options as separate billed rows. Off by default; these rows share maxResults.","default":false,"example":false},"includeReviews":{"type":"boolean","description":"Include reviews. Add available restaurant reviews as separate billed rows. Off by default; these rows share maxResults.","default":false,"example":false},"maxReviewsPerRestaurant":{"type":"integer","minimum":0,"maximum":200,"description":"Max reviews per restaurant. Maximum review rows per restaurant, within the shared maxResults allowance.","default":20,"example":20},"fetchAllPages":{"type":"boolean","description":"Fetch all listing pages. Expand listing pagination where supported. maxPages and maxResults still apply.","default":false,"example":false},"maxPages":{"type":"integer","minimum":1,"maximum":100,"description":"Max listing pages. Maximum listing pages to read; for sitemap mode, this counts XML documents including the index. Detail enrichment has a separate maxEnrich cap.","default":3,"example":3},"page":{"type":"integer","minimum":1,"maximum":100,"description":"Listing page. First listing page to request, starting at 1. Pagination support depends on the selected mode.","default":1,"example":1},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"country":"uae","areaId":"1174","areaSlug":"al-barsha-1","maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/restaurants":{"post":{"operationId":"restaurants","summary":"Merchant profile, menus, choices and reviews","description":"Restaurant details, menu items, choices, promotions and reviews from a Talabat URL, branch/merchant slug or startUrls.","tags":["restaurants"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["restaurant","merchant","startUrls"],"description":"Mode. Leave on Auto and fill a target field to select its mode, or choose a mode explicitly. Empty input runs a billed example of up to 3 rows; use Merchant mode for public brand URLs and Restaurant mode for branch menus.","default":"restaurant","example":"auto"},"country":{"type":"string","enum":["uae","kuwait","ksa","qatar","bahrain","egypt","oman","jordan","iraq"],"description":"Country. Choose the Talabat country path. Use a country that matches all URLs in the request.","default":"uae","example":"uae"},"restaurantUrl":{"type":"string","description":"Restaurant URL. Full menu URL for restaurant mode, or /country/slug brand URL for merchant mode"},"branchId":{"type":"string","description":"Branch ID. Delivery branch identifier for restaurant mode. Alternatively, provide its full restaurantUrl."},"branchSlug":{"type":"string","description":"Branch slug. Branch path segment used with branchId to form a restaurant URL."},"merchantSlug":{"type":"string","description":"Merchant slug. Public merchant path segment for merchant mode, such as v-garden. Alternatively, supply a public brand restaurantUrl."},"areaId":{"type":"string","description":"Area ID. Delivery area identifier, such as 1174 for Al Barsha 1 in Dubai. Supply the matching areaSlug for local listings.","example":"1174"},"startUrls":{"type":"array","items":{"type":"string"},"description":"Start URLs. Talabat links: area listings (/uae/restaurants/1174/al-barsha-1), restaurant menus, cuisine, city or brand pages. One country per run. Each URL gets its own maxResults row allowance. Leave empty to use the verified App API area example."},"lang":{"type":"string","description":"Language path. Use en or ar for the requested language where available. This does not translate search terms."},"includeMenuItems":{"type":"boolean","description":"Include menu items. Add menu products as separate menuItem rows when available. These rows share maxResults with restaurants and all other row types.","default":false,"example":false},"maxMenuItemsPerRestaurant":{"type":"integer","minimum":0,"maximum":200,"description":"Max menu items per restaurant. Per-parent cap for menuItem rows. Menu items share the current input's maxResults allowance.","default":20,"example":20},"includeChoices":{"type":"boolean","description":"Include choices/modifiers. Include available menu choices when maxChoicesPerRestaurant is greater than zero. Choices are disabled by the default zero cap.","default":true,"example":true},"maxChoicesPerRestaurant":{"type":"integer","minimum":0,"maximum":50,"description":"Max choices fetches per restaurant. Maximum menu products per restaurant for which choices are requested. Zero disables choice collection.","default":0,"example":0},"includePromotions":{"type":"boolean","description":"Include promotions. Add available promotions as separate billed rows. Off by default; these rows share maxResults.","default":false,"example":false},"includePaymentMethods":{"type":"boolean","description":"Include payment methods. Add available payment options as separate billed rows. Off by default; these rows share maxResults.","default":false,"example":false},"includeReviews":{"type":"boolean","description":"Include reviews. Add available restaurant reviews as separate billed rows. Off by default; these rows share maxResults.","default":false,"example":false},"maxReviewsPerRestaurant":{"type":"integer","minimum":0,"maximum":200,"description":"Max reviews per restaurant. Maximum review rows per restaurant, within the shared maxResults allowance.","default":20,"example":20},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"country":"uae","restaurantUrl":"https://www.talabat.com/uae/restaurant/754009/daily-restaurant-al-barsha-1?aid=1174","includeMenuItems":true,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"rowType":{"nullable":true,"type":"string","title":"Billed entity type","description":"Entity represented by this billed row: restaurant, menuItem, promotion, paymentMethod, review, restaurantUrl, area, city, cuisine, filter, link or page."},"id":{"nullable":true,"title":"Stable entity ID"},"itemType":{"nullable":true,"type":"string","title":"Item type","description":"restaurant | restaurant_detail | restaurant_url | menu_item | cuisine | area | link | page"},"source":{"nullable":true,"type":"string","title":"Source host"},"country":{"nullable":true,"type":"string","title":"Country slug"},"market":{"nullable":true,"type":"string","title":"Market alias"},"branchId":{"nullable":true,"title":"Branch ID"},"vendorCode":{"nullable":true,"type":"string","title":"Vendor / branch code"},"restaurantId":{"nullable":true,"title":"Restaurant ID"},"restaurantBranchId":{"nullable":true,"title":"Talabat branch ID"},"brandRestaurantId":{"nullable":true,"title":"Talabat brand restaurant ID"},"restaurantName":{"nullable":true,"type":"string","title":"Parent restaurant name"},"restaurantUrl":{"nullable":true,"type":"string","title":"Parent restaurant URL"},"restaurantCity":{"nullable":true,"type":"string","title":"Parent restaurant city"},"restaurantAddress":{"nullable":true,"title":"Parent restaurant address"},"identityType":{"nullable":true,"type":"string","title":"Identity type (brand for public merchants)"},"restaurantSlug":{"nullable":true,"type":"string","title":"Merchant slug"},"dataSurface":{"nullable":true,"type":"string","title":"Public source surface"},"menuAvailability":{"nullable":true,"type":"string","title":"Menu collection status"},"availablePaymentMethods":{"nullable":true,"type":"array","title":"Public payment methods","items":{"type":"object"}},"title":{"nullable":true,"type":"string","title":"Title"},"name":{"nullable":true,"type":"string","title":"Name"},"url":{"nullable":true,"type":"string","title":"URL"},"sourceUrl":{"nullable":true,"type":"string","title":"Source listing URL","description":"Listing page where this row was discovered; not the restaurant's own URL."},"areaId":{"nullable":true,"title":"Area ID"},"areaSlug":{"nullable":true,"type":"string","title":"Area slug"},"cuisineSlug":{"nullable":true,"type":"string","title":"Cuisine slug"},"cuisineString":{"nullable":true,"type":"string","title":"Cuisine string"},"rate":{"nullable":true,"title":"Rating"},"deliveryFee":{"nullable":true,"title":"Delivery fee"},"minimumOrderAmount":{"nullable":true,"title":"Minimum order"},"productId":{"nullable":true,"title":"Menu product id"},"price":{"nullable":true,"title":"Price"},"sectionName":{"nullable":true,"type":"string","title":"Menu section"},"promotionId":{"nullable":true,"title":"Promotion ID"},"promotion":{"nullable":true,"type":"object","title":"Promotion details"},"paymentMethodId":{"nullable":true,"title":"Payment method ID"},"paymentMethod":{"nullable":true,"title":"One payment method"},"scrapedAt":{"nullable":true,"type":"string","title":"Scraped at"},"phones":{"nullable":true,"type":"array","title":"Merchant phones","items":{"type":"object","properties":{"value":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"},"e164":{"nullable":true,"type":"string"}}}},"emails":{"nullable":true,"type":"array","title":"Merchant emails","items":{"type":"object","properties":{"value":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}}}},"address":{"nullable":true,"type":"object","title":"Merchant address","properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}}},"geo":{"nullable":true,"type":"object","title":"Merchant coordinates","properties":{"lat":{"nullable":true},"lng":{"nullable":true}}},"person":{"nullable":true,"type":"object","title":"Merchant contact person","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}}},"org":{"nullable":true,"type":"object","title":"Merchant organization","properties":{"name":{"nullable":true,"type":"string"},"id":{"nullable":true}}},"web":{"nullable":true,"type":"object","title":"Merchant web presence","properties":{"website":{"nullable":true,"type":"string"},"socials":{"nullable":true,"type":"array","items":{"type":"string"}}}},"leadSource":{"nullable":true,"type":"string","title":"Lead source","enum":["search","detail","entity","contact","reveal-xhr"]},"leadReveal":{"nullable":true,"type":"string","title":"Lead reveal","enum":["visible","click","xhr","gated","image","absent"]},"leadAbsences":{"nullable":true,"type":"object","title":"Reasons contact fields are missing","additionalProperties":{"type":"string"}}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): rowType=restaurant: id, name|restaurantName, url|restaurantUrl; rowType=menuItem: id, name|title, restaurantId; rowType=promotion: id, restaurantId; rowType=paymentMethod: id, restaurantId; every row: id."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}