{"openapi":"3.0.0","info":{"title":"Foodpanda Asia Restaurants and Menus","version":"1.0.0","description":"Foodpanda restaurants, menus, shops and reviews across 10 Asia-Pacific markets including Singapore, Hong Kong, Malaysia and Taiwan, one row per entity."},"servers":[{"url":"https://ah-foodpanda-com.opendata.best/s/foodpanda-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Restaurants and shops by APAC market, city, cuisine or chain","description":"Restaurant, shop, city and cuisine discovery rows across 10 APAC markets.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["auto","cuisine","city","shops","chain","discoverCities","discoverCuisines"],"description":"Mode. Discover cities / Discover cuisines run only when chosen here.","default":"auto","example":"auto"},"market":{"type":"string","enum":["sg","hk","my","tw","ph","pk","bd","kh","mm","la"],"description":"Market. Foodpanda country market","default":"sg","example":"sg"},"citySlug":{"type":"string","description":"City slug. City slug as in the Foodpanda city page link, e.g. singapore, hong-kong, kuala-lumpur, taichung-city, manila. With a cuisine slug: that cuisine in the city; alone: all restaurants in the city.","example":"singapore"},"cuisineSlug":{"type":"string","description":"Cuisine slug. Cuisine slug, e.g. pizza, sushi, burger. Needs a city slug.","example":"pizza"},"chainName":{"type":"string","description":"Chain name filter. Chain name or part of a name, such as Pizza Hut. Uses the selected city and cuisine; omitted values use the market's sample city and pizza."},"lang":{"type":"string","description":"Language path prefix. Optional page-language path prefix. Leave empty unless needed; forcing /en/ can fail in Hong Kong.","default":"","example":""},"includeMenuItems":{"type":"boolean","description":"Include menu items. Deliver each menu item as a separate rowType=menuItem row. Restaurant and menu-item rows share maxResults and are billed at the same per-row price.","default":false,"example":false},"maxMenuItemsPerRestaurant":{"type":"integer","minimum":0,"maximum":200,"description":"Max menu items per restaurant. Maximum menu-item rows from each restaurant. Set 0 to omit menu items; these rows still share the maxResults limit.","default":20,"example":20},"includeToppings":{"type":"boolean","description":"Include topping identifiers. Retain available topping identifiers on menu variations when menu items are included.","default":true,"example":true},"enrichMenus":{"type":"boolean","description":"Include menus from listings. Request menus for listing restaurants when Include menu items is also enabled. Max restaurants to enrich limits how many listing restaurants can supply menu items.","default":false,"example":false},"maxEnrich":{"type":"integer","minimum":0,"maximum":50,"description":"Max restaurants to enrich. Maximum listing restaurants to enrich when menu collection is enabled.","default":5,"example":5},"loadMoreRounds":{"type":"integer","minimum":0,"maximum":20,"description":"Additional listing rounds. Additional listing expansion rounds for cuisine, chain or shop searches. More rounds can find additional rows but do not raise maxResults.","default":0,"example":0},"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":{"market":"sg","citySlug":"singapore","cuisineSlug":"pizza","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":"One restaurant's details and menu items","description":"Restaurant profile and menu-item rows from a Foodpanda restaurant URL, vendor code or startUrls.","tags":["restaurants"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["restaurant","startUrls"],"description":"Mode. Discover cities / Discover cuisines run only when chosen here.","default":"restaurant","example":"auto"},"market":{"type":"string","enum":["sg","hk","my","tw","ph","pk","bd","kh","mm","la"],"description":"Market. Foodpanda country market","default":"sg","example":"sg"},"restaurantUrl":{"type":"string","description":"Restaurant URL. Full Foodpanda restaurant or shop page link. Select Restaurant reviews for reviews, or enable Include menu items for separate menu-item rows in restaurant mode."},"vendorCode":{"type":"string","description":"Vendor code. Restaurant code: the short id after /restaurant/ in a Foodpanda link, e.g. fqow. Use instead of a restaurant URL."},"vendorSlug":{"type":"string","description":"Vendor slug. Optional restaurant name part of the link (after the code). Only used with a vendor code."},"startUrls":{"type":"array","items":{"type":"string"},"description":"Start URLs. Foodpanda page links (restaurant, city or cuisine pages). Each link is its own input with its own row limit. Used only in Start URLs mode (Auto picks it when you fill this)."},"includeMenuItems":{"type":"boolean","description":"Include menu items. Deliver each menu item as a separate rowType=menuItem row. Restaurant and menu-item rows share maxResults and are billed at the same per-row price.","default":false,"example":false},"maxMenuItemsPerRestaurant":{"type":"integer","minimum":0,"maximum":200,"description":"Max menu items per restaurant. Maximum menu-item rows from each restaurant. Set 0 to omit menu items; these rows still share the maxResults limit.","default":20,"example":20},"includeToppings":{"type":"boolean","description":"Include topping identifiers. Retain available topping identifiers on menu variations when menu items are included.","default":true,"example":true},"lang":{"type":"string","description":"Language path prefix. Optional page-language path prefix. Leave empty unless needed; forcing /en/ can fail in Hong Kong.","default":"","example":""},"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":{"market":"sg","vendorCode":"fqow","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/reviews":{"post":{"operationId":"reviews","summary":"Restaurant reviews","description":"Customer review rows for one Foodpanda restaurant URL or vendor code. Fixed for this endpoint: mode=\"reviews\".","tags":["reviews"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"market":{"type":"string","enum":["sg","hk","my","tw","ph","pk","bd","kh","mm","la"],"description":"Market. Foodpanda country market","default":"sg","example":"sg"},"restaurantUrl":{"type":"string","description":"Restaurant URL. Full Foodpanda restaurant or shop page link. Select Restaurant reviews for reviews, or enable Include menu items for separate menu-item rows in restaurant mode."},"vendorCode":{"type":"string","description":"Vendor code. Restaurant code: the short id after /restaurant/ in a Foodpanda link, e.g. fqow. Use instead of a restaurant URL."},"vendorSlug":{"type":"string","description":"Vendor slug. Optional restaurant name part of the link (after the code). Only used with a vendor code."},"lang":{"type":"string","description":"Language path prefix. Optional page-language path prefix. Leave empty unless needed; forcing /en/ can fail in Hong Kong.","default":"","example":""},"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":{"market":"sg","vendorCode":"fqow","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"},"itemType":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"market":{"nullable":true,"type":"string"},"vendorCode":{"nullable":true,"type":"string"},"code":{"nullable":true,"type":"string"},"id":{"nullable":true},"title":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"slug":{"nullable":true,"type":"string"},"rating":{"nullable":true},"categoryName":{"nullable":true,"type":"string"},"productId":{"nullable":true},"price":{"nullable":true},"restaurantId":{"nullable":true},"restaurantName":{"nullable":true,"type":"string"},"restaurantUrl":{"nullable":true,"type":"string"},"restaurantCity":{"nullable":true,"type":"string"},"restaurantAddress":{"nullable":true,"additionalProperties":true},"streetAddress":{"nullable":true,"type":"string"},"addressLocality":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"chain":{"nullable":true,"additionalProperties":true},"chainName":{"nullable":true,"type":"string"},"chainCode":{"nullable":true,"type":"string"},"chainUrlKey":{"nullable":true,"type":"string"},"chainMainVendorCode":{"nullable":true,"type":"string"},"customerPhone":{"nullable":true,"type":"string"},"phone":{"nullable":true,"type":"string"},"vendorLegalInformation":{"nullable":true,"type":"object","additionalProperties":true},"legalName":{"nullable":true,"type":"string"},"tradeRegisterNumber":{"nullable":true,"type":"string"},"ncrToken":{"nullable":true,"type":"string"},"distance":{"nullable":true,"type":"number"},"budget":{"nullable":true},"sponsored":{"nullable":true},"tags":{"nullable":true,"type":"array","items":{}},"ratingFlags":{"nullable":true,"additionalProperties":true},"deliveryFeeType":{"nullable":true,"type":"string"},"serviceFeeType":{"nullable":true,"type":"string"},"vendorVertical":{"nullable":true,"type":"string"},"verticalSegment":{"nullable":true,"type":"string"},"verticalParent":{"nullable":true,"type":"string"},"verticalKind":{"nullable":true,"type":"string"},"shopVertical":{"nullable":true,"type":"string"},"webPath":{"nullable":true,"type":"string"},"timeZone":{"nullable":true,"type":"string"},"isSuperVendor":{"nullable":true},"productVariations":{"nullable":true,"type":"array","items":{}},"priceAttributes":{"nullable":true,"type":"object","additionalProperties":true},"discountedPrice":{"nullable":true},"variationId":{"nullable":true},"isDefault":{"nullable":true,"type":"boolean"},"isLowest":{"nullable":true,"type":"boolean"},"hasToppings":{"nullable":true,"type":"boolean"},"hasChoiceGroups":{"nullable":true,"type":"boolean"},"toppingIds":{"nullable":true,"type":"array","items":{}},"toppings":{"nullable":true,"type":"array","items":{}},"choiceGroups":{"nullable":true,"type":"array","items":{}},"graphqlWarnings":{"nullable":true,"type":"array","items":{}},"cuisineMatch":{"nullable":true,"type":"string"},"scrapedAt":{"nullable":true,"type":"string"},"ratingCount":{"nullable":true,"type":"number"},"minimumOrderAmount":{"nullable":true},"minimumDeliveryFee":{"nullable":true},"cuisines":{"nullable":true,"type":"array","items":{}},"latitude":{"nullable":true,"type":"number"},"longitude":{"nullable":true,"type":"number"},"heroImage":{"nullable":true,"type":"string"},"logo":{"nullable":true,"type":"string"},"imageUrl":{"nullable":true,"type":"string"},"citySlug":{"nullable":true,"type":"string"},"cuisineSlug":{"nullable":true,"type":"string"},"reviewId":{"nullable":true},"text":{"nullable":true,"type":"string"},"createdAt":{"nullable":true,"type":"string"},"ratingsDistribution":{"nullable":true,"additionalProperties":true},"writtenReviewCount":{"nullable":true,"type":"number"},"uuid":{"nullable":true,"type":"string"},"dynamicPricing":{"nullable":true,"type":"object","additionalProperties":true},"characteristics":{"nullable":true,"additionalProperties":true},"timeEstimations":{"nullable":true,"type":"object","additionalProperties":true},"address":{"nullable":true,"additionalProperties":true},"discountsInfo":{"nullable":true,"additionalProperties":true},"deals":{"nullable":true,"additionalProperties":true},"hasDiscounts":{"nullable":true,"type":"boolean"},"openingHours":{"nullable":true,"additionalProperties":true},"currency":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"addressLine2":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"foodCharacteristics":{"nullable":true,"additionalProperties":true},"reviewWithCommentCount":{"nullable":true,"type":"number"},"priceRange":{"nullable":true},"menuItemCount":{"nullable":true,"type":"number"},"menuPriceMin":{"nullable":true},"menuPriceMax":{"nullable":true},"minimumDeliveryTime":{"nullable":true},"minimumPickupTime":{"nullable":true},"isPromoted":{"nullable":true,"type":"boolean"},"isNew":{"nullable":true,"type":"boolean"},"isPremium":{"nullable":true,"type":"boolean"},"isPreorderEnabled":{"nullable":true,"type":"boolean"},"paymentTypes":{"nullable":true,"type":"array","items":{}},"website":{"nullable":true,"type":"string"},"sku":{"nullable":true,"type":"string"},"globalCatalogID":{"nullable":true,"type":"string"},"originalPrice":{"nullable":true},"isAvailable":{"nullable":true,"type":"boolean"},"containerPrice":{"nullable":true},"attributes":{"nullable":true,"additionalProperties":true},"stockAmount":{"nullable":true},"city":{"nullable":true,"additionalProperties":true},"cuisineKeys":{"nullable":true,"type":"array","items":{}},"deliveryDurationRange":{"nullable":true,"additionalProperties":true},"deliveryFee":{"nullable":true},"enrichedFrom":{"nullable":true,"type":"string"},"etaMinutes":{"nullable":true},"isDeliveryEnabled":{"nullable":true,"type":"boolean"},"isPickupEnabled":{"nullable":true,"type":"boolean"},"matchedChain":{"nullable":true,"additionalProperties":true},"position":{"nullable":true,"type":"number"},"reviewNumber":{"nullable":true,"type":"number"},"review_number":{"nullable":true,"type":"number"},"serviceFee":{"nullable":true},"dietaryAttributes":{"nullable":true,"additionalProperties":true},"filePath":{"nullable":true,"type":"string"},"isBundle":{"nullable":true,"type":"boolean"},"isCustomizable":{"nullable":true,"type":"boolean"},"isSoldOut":{"nullable":true,"type":"boolean"},"productCode":{"nullable":true},"vendorId":{"nullable":true},"vendorName":{"nullable":true,"type":"string"},"vendorUrl":{"nullable":true,"type":"string"},"commentPrettyDate":{"nullable":true},"isAnonymous":{"nullable":true,"type":"boolean"},"likeCount":{"nullable":true,"type":"number"},"ratings":{"nullable":true,"additionalProperties":true},"ratingsUpdatedAt":{"nullable":true,"type":"string"},"replies":{"nullable":true,"type":"array","items":{}},"reviewerId":{"nullable":true},"reviewerName":{"nullable":true,"type":"string"},"topicRatings":{"nullable":true,"additionalProperties":true},"type":{"nullable":true,"type":"string"},"updatedAt":{"nullable":true,"type":"string"},"vendorSlug":{"nullable":true,"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): every row: id; rowType=restaurant: id, name, url; rowType=menuItem: id, name, restaurantId|vendorCode, productId|productCode|sku; rowType=review: id, reviewId, restaurantId|vendorCode, text|rating; rowType=reviewSummary: id, restaurantId|vendorCode, rating; rowType=city: id, citySlug, url; rowType=cuisine: id, cuisineSlug, url."},"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"}}}}}}