{"openapi":"3.0.0","info":{"title":"Rappi Latin America Restaurants and Stores","version":"1.0.0","description":"Rappi restaurants, menu items, grocery stores, products and brand locations across nine Latin American markets, one row per entity."},"servers":[{"url":"https://ah-rappi-com.opendata.best/s/rappi-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Rappi restaurants, stores, brands and categories","description":"Restaurant, grocery store, brand and category rows across nine Latin American markets.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["auto","search","restaurants","nearMe","category","stores","home","brand","discoverCountries","discoverCities","discoverCategories","discoverVerticals"],"description":"Mode. Leave on Auto to select a mode from the target you fill. Select nearby restaurants, the home feed, stores or a discovery mode explicitly when you have no target. Note: search is disallowed by robots.txt on UY, EC and CR; Brazil (br) web pages are blocked so API-backed modes (restaurants, nearMe, restaurant, discoverCategories, discoverCities, discoverCountries) apply.","default":"auto","example":"auto"},"country":{"type":"string","enum":["mx","co","ar","br","cl","pe","ec","uy","cr"],"description":"Country. Choose Mexico, Colombia, Argentina, Brazil, Chile, Peru, Ecuador, Uruguay or Costa Rica. Availability varies by market and delivery location.","default":"mx"},"query":{"type":"string","description":"Search query. Enter one search phrase, such as pizza or sushi. Filling this field selects search mode when no higher-priority target is supplied. Note: search is disallowed by robots.txt on UY/EC/CR and web search is unavailable on BR.","example":"pizza"},"citySlug":{"type":"string","description":"City slug. Enter a supported city slug, such as guadalajara, medellin or sao-paulo. Use discoverCities to see the supported values; unknown cities can fall back to the market default."},"categorySlug":{"type":"string","description":"Category slug. Enter a cuisine or category slug, such as pizza or sushi. Use discoverCategories to find available categories."},"brandUrl":{"type":"string","description":"Brand URL. Paste a Rappi brand delivery URL to list chain locations. For an individual restaurant menu, use storeUrl instead."},"brandId":{"type":"string","description":"Brand ID. Enter the numeric chain ID from its Rappi brand delivery URL. This selects brand locations, not one restaurant menu."},"brandSlug":{"type":"string","description":"Brand slug. Optional brand-name part of the Rappi URL. Leave empty if you only know brandId."},"vertical":{"type":"string","description":"Store type. Choose a store-type slug, such as market, farmatodo or express. Use discoverVerticals for reference values.","default":"market"},"lat":{"type":"number","description":"Latitude. Latitude of the delivery location."},"lng":{"type":"number","description":"Longitude. Longitude of the delivery location. Provide it together with lat to use your own coordinates."},"freeDelivery":{"type":"boolean","description":"Free delivery filter. Keep listings with evidence of free delivery when this filter is supported. Missing free-delivery information does not count as free delivery."},"minRating":{"type":"number","description":"Minimum rating. Exclude known ratings below this value. Restaurants without a rating can remain in the results."},"openNow":{"type":"boolean","description":"Open now. Exclude restaurants marked closed when an opening status is available. Listings with no status can remain."},"turbo":{"type":"boolean","description":"Fast-delivery preference. Accepted for compatibility, but it does not enforce fast-delivery filtering. Leave unset unless reusing an existing input."},"filters":{"type":"array","items":{"type":"string"},"description":"Filter keys. Optional listing filter keys, such as free_delivery, discounts or new. Not every filter is supported on every page."},"enrichDetails":{"type":"boolean","description":"Enrich restaurant details. Look up available merchant address, coordinates and organization details for retained restaurant listings. This can take longer and does not guarantee contact fields.","default":true,"example":true},"enrichMenus":{"type":"boolean","description":"Enrich menus on list. Add menu rows to restaurant listings, including search and home results, for up to maxEnrich stores. These rows share maxResults and are billed at the same rate.","default":false,"example":false},"maxEnrich":{"type":"integer","minimum":0,"maximum":50,"description":"Maximum stores to enrich. Limit how many stores receive detail or menu enrichment across continued collection. Product collection uses at most three stores.","default":5},"includeMenuItems":{"type":"boolean","description":"Include menu items. Add menu items as separate menuItem rows for a restaurant input. They share maxResults with the restaurant row, with at most 25 child rows per store.","default":false,"example":false},"includeToppings":{"type":"boolean","description":"Include toppings. Add topping options as separate topping rows in restaurant mode; requires includeMenuItems. Toppings share the row limit and the 25-child-row cap with menu items.","default":false,"example":false},"includeProducts":{"type":"boolean","description":"Include tiendas products. Add separate product rows for up to three stores, subject to maxEnrich and the remaining row allowance. Each product row is billed like a store row.","default":false,"example":false},"cleanMenu":{"type":"boolean","description":"Remove promotional menu entries. Remove promotional and fee-only entries from menus and product lists.","default":true},"maxPages":{"type":"integer","minimum":1,"maximum":50,"description":"Page limit. Legacy page-count setting, from 1 to 50. Current row-based collection follows maxResults and can continue beyond this value.","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":"mx","query":"pizza","enrichDetails":false,"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/stores":{"post":{"operationId":"stores","summary":"One Rappi store's menu items or retail catalog","description":"Store profile, menu items, toppings or retail products for a store ID, URL or startUrls.","tags":["stores"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["restaurant","startUrls"],"description":"Mode. Leave on Auto to select a mode from the target you fill. Select nearby restaurants, the home feed, stores or a discovery mode explicitly when you have no target. Note: search is disallowed by robots.txt on UY, EC and CR; Brazil (br) web pages are blocked so API-backed modes (restaurants, nearMe, restaurant, discoverCategories, discoverCities, discoverCountries) apply.","default":"restaurant","example":"auto"},"country":{"type":"string","enum":["mx","co","ar","br","cl","pe","ec","uy","cr"],"description":"Country. Choose Mexico, Colombia, Argentina, Brazil, Chile, Peru, Ecuador, Uruguay or Costa Rica. Availability varies by market and delivery location.","default":"mx"},"storeUrl":{"type":"string","description":"Store URL. Paste the full Rappi restaurant page URL to collect that restaurant. Enable includeMenuItems if you also need menu rows."},"storeId":{"type":"string","description":"Store ID. Enter the numeric restaurant ID from its Rappi URL, such as 1923804381. You can use storeUrl instead."},"storeSlug":{"type":"string","description":"Store slug. Optional restaurant-name part of the Rappi URL. Leave empty if you only know storeId."},"startUrls":{"type":"array","items":{"type":"string"},"description":"Start URLs. Paste Rappi restaurant, category, search, brand or store-list URLs. Each URL is an input with its own maxResults allowance."},"includeMenuItems":{"type":"boolean","description":"Include menu items. Add menu items as separate menuItem rows for a restaurant input. They share maxResults with the restaurant row, with at most 25 child rows per store.","default":false,"example":false},"includeToppings":{"type":"boolean","description":"Include toppings. Add topping options as separate topping rows in restaurant mode; requires includeMenuItems. Toppings share the row limit and the 25-child-row cap with menu items.","default":false,"example":false},"includeProducts":{"type":"boolean","description":"Include tiendas products. Add separate product rows for up to three stores, subject to maxEnrich and the remaining row allowance. Each product row is billed like a store row.","default":false,"example":false},"cleanMenu":{"type":"boolean","description":"Remove promotional menu entries. Remove promotional and fee-only entries from menus and product lists.","default":true},"enrichDetails":{"type":"boolean","description":"Enrich restaurant details. Look up available merchant address, coordinates and organization details for retained restaurant listings. This can take longer and does not guarantee contact fields.","default":true,"example":true},"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":"mx","storeId":"1923804381","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":{"type":"string","title":"Row type","description":"Billable entity type: restaurant, store, menuItem, product, topping, category, country, city, or vertical"},"type":{"type":"string","title":"Entity type","description":"Raw entity type before layout mapping (restaurant, store, brandStore, menuItem, product, topping, category, country, city, vertical)"},"recordType":{"type":"string","title":"Record type","description":"restaurant | store | brandStore | category | country | city | vertical | search | home"},"id":{"type":"string","title":"Entity ID","description":"Stable entity id used for continuation and deduplication"},"storeId":{"type":"string","title":"Store ID","description":"Rappi numeric store id"},"name":{"type":"string","title":"Name","description":"Restaurant, store, product, or reference item name"},"title":{"nullable":true,"type":"string","title":"Title","description":"Display title alias populated on preview rows"},"slug":{"nullable":true,"type":"string","title":"Slug","description":"URL slug for the restaurant, category, city, or vertical"},"storeName":{"type":"string","title":"Parent store name","description":"Copied onto menu-item, topping, and product rows"},"storeUrl":{"type":"string","title":"Parent store URL","format":"url"},"storeCountry":{"type":"string","title":"Parent store country"},"storeCity":{"nullable":true,"type":"string","title":"Parent store city","description":"City or locality extracted from SSR detail, address locality, or verified citySlug"},"city":{"nullable":true,"type":"string","title":"City","description":"City or district name when exposed by the page or verified city seed"},"cityId":{"nullable":true,"title":"City ID","description":"Rappi numeric city / city_address_id when exposed"},"citySlug":{"nullable":true,"type":"string","title":"City slug","description":"Normalized city slug in discoverCities or city-targeted runs"},"cityLabel":{"nullable":true,"type":"string","title":"City label","description":"Capital or city label in discoverCountries rows"},"storeType":{"nullable":true,"type":"string","title":"Store type","description":"Rappi store_type / storeType value such as restaurant or market"},"vertical":{"nullable":true,"type":"string","title":"Vertical","description":"Store vertical slug (e.g. market, farmatodo, express)"},"storeAddress":{"nullable":true,"title":"Parent store address"},"storeGeo":{"nullable":true,"type":"object","title":"Parent store coordinates"},"productId":{"type":"string","title":"Product ID","description":"Present on menuItem, product, and topping rows when menu/product extraction is enabled"},"price":{"nullable":true,"type":"number","title":"Price","description":"Present on menuItem, product, and topping rows; null when source omits a numeric price"},"realPrice":{"nullable":true,"type":"number","title":"Original price","description":"Undiscounted list price on menuItem/product rows when present"},"priceText":{"nullable":true,"type":"string","title":"Price text","description":"Formatted display price on DOM/SSG product rows when present"},"discountPercentage":{"nullable":true,"type":"number","title":"Discount percentage"},"isAvailable":{"nullable":true,"type":"boolean","title":"Product availability","description":"Menu product is_available flag; can be null across AR/CL/PE/UY/CR markets"},"inSchedule":{"nullable":true,"type":"boolean","title":"In schedule"},"hasToppings":{"nullable":true,"type":"boolean","title":"Has toppings"},"needTopping":{"nullable":true,"type":"boolean","title":"Requires topping selection"},"toppingList":{"nullable":true,"type":"array","title":"Inline topping summary","items":{}},"section":{"nullable":true,"type":"string","title":"Menu section","description":"Corridor/category name on menuItem rows"},"menuSource":{"nullable":true,"type":"string","title":"Menu source","description":"api | ssr-html | ssg-json | none"},"lastUpdated":{"nullable":true,"title":"Menu item last updated"},"optionId":{"nullable":true,"type":"string","title":"Topping option ID","description":"Present on topping rows when includeToppings is enabled"},"maxLimit":{"nullable":true,"type":"integer","title":"Topping max limit"},"groupId":{"nullable":true,"type":"string","title":"Topping group ID"},"groupName":{"nullable":true,"type":"string","title":"Topping group name"},"groupMin":{"nullable":true,"type":"integer","title":"Topping group minimum"},"groupMax":{"nullable":true,"type":"integer","title":"Topping group maximum"},"groupType":{"nullable":true,"type":"string","title":"Topping group type"},"country":{"type":"string","title":"Country","description":"ISO2 country code (mx, co, ar, br, cl, pe, ec, uy, cr)"},"proxyCountry":{"nullable":true,"type":"string","title":"Proxy country"},"host":{"nullable":true,"type":"string","title":"Host","description":"Market web hostname in discoverCountries rows"},"url":{"type":"string","title":"URL","format":"url","description":"Rappi page URL"},"rating":{"nullable":true,"type":"number","title":"Rating"},"reviewAmount":{"nullable":true,"type":"integer","title":"Review count"},"brandRating":{"nullable":true,"type":"number","title":"Brand average rating"},"eta":{"nullable":true,"type":"string","title":"ETA"},"deliveryCost":{"nullable":true,"title":"Delivery cost"},"hasFreeShipping":{"nullable":true,"type":"boolean","title":"Free shipping flag"},"promotionText":{"nullable":true,"type":"string","title":"Promotion text"},"status":{"nullable":true,"type":"string","title":"Store status","description":"Store status such as OPEN or CLOSED"},"isNew":{"nullable":true,"type":"boolean","title":"New listing flag"},"isPrimeExclusive":{"nullable":true,"type":"boolean","title":"Prime exclusive flag"},"categories":{"nullable":true,"type":"array","title":"Categories","items":{}},"categorySlug":{"nullable":true,"type":"string","title":"Category slug"},"categoryId":{"nullable":true,"title":"Category ID"},"servesCuisine":{"nullable":true,"title":"Cuisine types"},"openingHoursSpecification":{"nullable":true,"title":"Opening hours"},"logo":{"nullable":true,"type":"string","title":"Logo URL"},"image":{"nullable":true,"type":"string","title":"Cover image URL"},"icon":{"nullable":true,"type":"string","title":"Category icon"},"brandId":{"nullable":true,"type":"string","title":"Brand ID","description":"Rappi chain brand id when present"},"brandName":{"nullable":true,"type":"string","title":"Brand name"},"query":{"nullable":true,"type":"string","title":"Search query","description":"Present on search-derived rows in mode=search"},"productHits":{"nullable":true,"type":"array","title":"Search product ID hits","items":{"type":"string"}},"menuItemCount":{"nullable":true,"type":"integer","title":"Menu item count"},"enriched":{"nullable":true,"type":"boolean","title":"Detail enriched flag"},"childTruncated":{"nullable":true,"type":"boolean","title":"Child rows capped flag"},"childTotal":{"nullable":true,"type":"integer","title":"Total child rows before cap"},"ratingUnknown":{"nullable":true,"type":"boolean","title":"Rating unknown flag"},"source":{"nullable":true,"type":"string","title":"Extraction source","description":"Surface or endpoint identifier (e.g. catalog-paged, restaurants-bus.store, next_data.catalog, rappi)"},"scrapedAt":{"nullable":true,"type":"string","title":"Scraped at","format":"date-time"},"lat":{"nullable":true,"type":"number","title":"Latitude"},"lng":{"nullable":true,"type":"number","title":"Longitude"},"defaultLat":{"nullable":true,"type":"number","title":"Default market latitude"},"defaultLng":{"nullable":true,"type":"number","title":"Default market longitude"},"verticalGroup":{"nullable":true,"type":"string","title":"Home category vertical group"},"groupTitle":{"nullable":true,"type":"string","title":"Store shelf group title"},"phones":{"nullable":true,"type":"array","title":"Merchant phones (optional, typically empty on public surfaces)","description":"Rappi public browsing surfaces do not publish merchant phone numbers; usually [] with reason in leadAbsences","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"type":"string"},"e164":{"nullable":true,"type":"string"}}}},"emails":{"nullable":true,"type":"array","title":"Merchant emails (optional, typically empty on public surfaces)","description":"Rappi public browsing surfaces do not publish merchant email addresses; usually [] with reason in leadAbsences","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"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"}}},"addressCheck":{"nullable":true,"type":"object","title":"Structured address quality check"},"geo":{"nullable":true,"type":"object","title":"Merchant coordinates","properties":{"lat":{"nullable":true,"type":"number"},"lng":{"nullable":true,"type":"number"}}},"person":{"nullable":true,"type":"object","title":"Named merchant contact (nullable)","description":"Optional named merchant contact; null/omitted on public Rappi pages (see leadAbsences.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,"type":"string"}}},"web":{"nullable":true,"type":"object","title":"Merchant website and socials","properties":{"website":{"nullable":true,"type":"string"},"socials":{"nullable":true,"type":"array","items":{"type":"string"}}}},"leadSource":{"nullable":true,"type":"string","title":"Lead source surface"},"leadReveal":{"nullable":true,"type":"string","title":"Lead reveal mechanism"},"leadAbsences":{"nullable":true,"type":"object","title":"Evidence-based missing lead reasons","additionalProperties":{"type":"string"}},"jsonLd":{"nullable":true,"type":"object","title":"Raw JSON-LD block","description":"Raw Schema.org JSON-LD Restaurant object extracted from SSR detail HTML when available"},"raw":{"nullable":true,"type":"object","title":"Raw source metadata","description":"Raw auxiliary fields preserved from the source payload"},"error":{"nullable":true,"title":"Row error","description":"Diagnostic error payload when a row or target reports an upstream error"}},"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: storeId|id, name, url; rowType=store: storeId|id, name, url; rowType=menuItem: productId, name; rowType=product: productId, name; rowType=topping: optionId|id, name; rowType=country: country, url, cityLabel; rowType=city: citySlug|slug|city|id, name|city; rowType=category: categoryId|slug|id, name; rowType=vertical: slug|url|id, name."},"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"}}}}}}