Search
publicly-accessible
Search restaurants
Changed onGet restaurants available in a given lat-long which match a search term. Matches can be found against the name, a cuisine or a product.
get/search/restaurants/{tenant}
Request
- Base URLhttps://uk.api.just-eat.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenantstring required
A valid country code, e.g. "uk".
Query parameters
searchTermstring required
User's search term.
latlongnumber[] required
The latitude and longitude coordinates of the location in which to search. Specify the coordinates as latitude,longitude.
limitnumber
Limit the number of restaurants returned by the API. Valid values are numbers between 1 and 500. If not provided, the limit defaults to 300.
Response
Success
Example response
{
"restaurants": [
{
"restaurantId": "110230",
"isSponsored": true,
"products": [
{
"productId": "289347",
"fullName": "Chicken Korma",
"price": 799
},
{
"productId": "563454",
"fullName": "Chicken Madras",
"price": 699
}
]
},
{
"restaurantId": "229390",
"isSponsored": false,
"products": [
{
"productId": "67832",
"fullName": "BBQ Chicken Pizza",
"price": 1099
},
{
"productId": "23567",
"fullName": "Chicken Burger",
"price": 899
}
]
}
]
}Changes
- warning
the optional response header
Retry-Afterremoved for the status500
- warning