Search Restaurants
agent-data call e79d7149-781a-482c-b101-0d1e15d29c9c search-restaurants --platform <platform> [--text <text>] [--name <name>] --city <city> [--state <state>] [--neighborhood <neighborhood>] [--cuisine <cuisine>] [--price_tier <price_tier>] [--min_price_tier <min_price_tier>] [--max_price_tier <max_price_tier>] [--page_token <page_token>] [--max_page_size <max_page_size>] [--strict_location <strict_location>] [--strict_cuisine <strict_cuisine>]curl "https://e2lceefo2d.execute-api.us-east-2.amazonaws.com/prod/v1/restaurants/search" -H "Authorization: Bearer <YOUR_API_KEY>"Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Choose exactly one platform. Do not omit this field. Use resy or opentable explicitly.
Choose exactly one platform. Do not omit this field. Use resy or opentable explicitly.
Provide the city or platform location name you want to search in. This field is required. If you provide a close synonym or spelling variant, the API may normalize it and echo the resolved value.
Provide the city or platform location name you want to search in. This field is required. If you provide a close synonym or spelling variant, the API may normalize it and echo the resolved value.
Provide one or more cuisine labels you want enforced. The API may normalize close variants and will echo the resolved values it applied.
Keep this as true when location fields must match returned restaurant metadata exactly after normalization.
Keep this as true when location fields must match returned restaurant metadata exactly after normalization.
Keep this as true when cuisine fields must match returned restaurant metadata after normalization.
Keep this as true when cuisine fields must match returned restaurant metadata after normalization.
Responses
Section titled “ Responses ”Successful Response
object
object
object
object
object
object
object
object
object
Example
{ "results": [ { "currency": "USD", "platform": "opentable", "is_global_dining_access": false } ], "normalizations": { "confidence": { "additionalProperty": "high" } }, "applied_filters": { "platform": "opentable", "strict_cuisine": true, "strict_location": true }}Validation Error
object
object
object
Example generated
{ "detail": [ { "ctx": {}, "loc": [ "example" ], "msg": "example", "type": "example", "input": "example" } ]}