Skip to main content
POST
/
api
/
swiggy
/
dishes
/
search
/swiggy/dishes/search
curl --request POST \
  --url https://api.anysite.io/api/swiggy/dishes/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "lat": 0,
  "lng": 0,
  "keyword": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "relevance",
  "rating_4_plus": false
}
'
[
  {
    "dish": {
      "id": "<string>",
      "name": "<string>",
      "@type": "SwiggyDish",
      "category": "<string>",
      "description": "<string>",
      "image": "<string>",
      "in_stock": true,
      "is_veg": true,
      "price": 123,
      "final_price": 123,
      "currency": "INR",
      "rating": 123,
      "rating_count": 123,
      "is_bestseller": false,
      "badge": "<string>",
      "variants": [],
      "addons": [],
      "parent_id": "<string>"
    },
    "@type": "SwiggyDishResult",
    "restaurant": {
      "id": 123,
      "name": "<string>",
      "@type": "SwiggyDishRestaurant",
      "url": "<string>",
      "image": "<string>",
      "rating": 123,
      "rating_count": 123,
      "google_rating": 123,
      "cuisines": [],
      "area": "<string>",
      "locality": "<string>",
      "address": "<string>",
      "cost_for_two": 123,
      "cost_for_two_text": "<string>",
      "delivery_time": 123,
      "parent_id": "<string>",
      "offer": "<string>",
      "is_promoted": false
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
lat
number
required

Latitude (India)

Required range: -90 <= x <= 90
Example:

12.9351929

lng
number
required

Longitude (India)

Required range: -180 <= x <= 180
Example:

77.6244807

keyword
string
required

Dish search keyword

Minimum string length: 1
Examples:

"pizza"

"biryani"

count
integer
required

Max number of dishes to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:relevance

Sort order

Available options:
relevance,
rating,
price_low_to_high,
price_high_to_low
veg
enum<string> | null

Filter by veg / non-veg

Available options:
veg,
non_veg
rating_4_plus
boolean
default:false

Only dishes rated 4.0+

price
enum<string> | null

Filter by dish price range

Available options:
under_100,
rs_100_to_250,
rs_251_to_500,
rs_500_plus

Response

Successful Response

dish
object
required
@type
string
default:SwiggyDishResult
restaurant
object