Skip to main content
POST
/
api
/
swiggy
/
restaurants
/swiggy/restaurants
curl --request POST \
  --url https://api.anysite.io/api/swiggy/restaurants \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "restaurant": "<string>",
  "lat": 0,
  "lng": 0,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "url": "<string>",
    "name": "<string>",
    "@type": "SwiggyRestaurant",
    "alias": "<string>",
    "image": "<string>",
    "cuisines": [],
    "rating": 123,
    "rating_count": 123,
    "cost_for_two": 123,
    "cost_for_two_text": "<string>",
    "currency": "INR",
    "address": "<string>",
    "locality": "<string>",
    "area": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postal_code": "<string>",
    "latitude": 123,
    "longitude": 123,
    "phone": "<string>",
    "delivery_time": 123,
    "min_delivery_time": 123,
    "max_delivery_time": 123,
    "delivery_time_text": "<string>",
    "distance_km": 123,
    "serviceability": "<string>",
    "is_open": false,
    "next_close_time": "<string>",
    "parent_id": "<string>",
    "restaurant_category": "<string>",
    "is_multi_outlet": false,
    "has_bestseller_items": false,
    "license_no": "<string>",
    "timing_status": "<string>",
    "timing_message": "<string>",
    "opening_hours": [],
    "offers": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
restaurant
string
required

Restaurant numeric id or a full restaurant URL

Minimum string length: 1
Examples:

"966182"

"https://www.swiggy.com/city/bangalore/blue-tokai-coffee-roasters-rest966182"

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

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
url
string
required
name
string
required
@type
string
default:SwiggyRestaurant
alias
string | null
image
string | null
cuisines
string[]
rating
number | null
rating_count
integer | null
cost_for_two
number | null
cost_for_two_text
string | null
currency
string
default:INR
address
string | null
locality
string | null
area
string | null
city
string | null
state
string | null
postal_code
string | null
latitude
number | null
longitude
number | null
phone
string | null
delivery_time
integer | null
min_delivery_time
integer | null
max_delivery_time
integer | null
delivery_time_text
string | null
distance_km
number | null
serviceability
string | null
is_open
boolean
default:false
next_close_time
string | null
parent_id
string | null
restaurant_category
string | null
is_multi_outlet
boolean
default:false
has_bestseller_items
boolean
default:false
license_no
string | null
timing_status
string | null
timing_message
string | null
opening_hours
object[]
offers
string[]