Endpoint Playground
Test Crawlora's Swiggy Restaurant API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/swiggy/restaurant?restaurant_id=<restaurant_id>&latitude=<latitude>&longitude=<longitude>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| restaurant_id | string | Yes | Restaurant id, from /swiggy/search's id field | |
| latitude | number | Yes | Caller latitude (required by Swiggy's own menu API) | |
| longitude | number | Yes | Caller longitude (required by Swiggy's own menu API) |
{
"code": 200,
"msg": "OK",
"data": {
"restaurant": {
"id": "5938",
"name": "Burger King",
"city": "Bangalore",
"locality": "Tasker Town",
"area": "Shivaji Nagar",
"address": "Burger King, 942, SV Tower, 16th Main, BTM 2nd Stage, 560076",
"postal_code": "560076",
"latitude": 12.91473786,
"longitude": 77.61010738,
"phone": "9711019252",
"cuisines": [
"Burgers",
"American"
],
"cost_for_two": "₹350 for two",
"rating": 4.1,
"rating_count": "41K+ ratings",
"total_ratings": 41000,
"delivery_time_minutes": 33,
"is_open": true,
"hours_status": "Open now",
"hours_message": "Closes 12:00 am",
"opening_hours": [
{
"day": "Monday",
"hours": "11.00AM - Midnight"
}
],
"image_url": "https://media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto/RX_THUMBNAIL/IMAGES/VENDOR/2025/6/18/b88fe4d2-557a-42a5-a801-a43a40134004_5938.jpg"
},
"offers": [
{
"title": "FLAT ₹200 OFF",
"description": "ABOVE ₹1299",
"coupon_code": "USE CELEBRATIONS",
"tag": "FLAT DEAL"
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns one Swiggy restaurant's detail by id: name, city, area, address, postal code, coordinates, phone, cuisines, cost for two, rating and total rating count, delivery time, weekly opening hours with the current open/closed callout, plus the promotions Swiggy currently shows on that restaurant's page (headline discount, conditions, and coupon code when one is needed). Swiggy has no lighter restaurant-detail-only source -- this reads the same upstream as /swiggy/restaurant/menu, just without the menu items.
{
"code": 200,
"msg": "OK",
"data": {
"restaurant": {
"id": "5938",
"name": "Burger King",
"city": "Bangalore",
"locality": "Tasker Town",
"area": "Shivaji Nagar",
"address": "Burger King, 942, SV Tower, 16th Main, BTM 2nd Stage, 560076",
"postal_code": "560076",
"latitude": 12.91473786,
"longitude": 77.61010738,
"phone": "9711019252",
"cuisines": [
"Burgers",
"American"
],
"cost_for_two": "₹350 for two",
"rating": 4.1,
"rating_count": "41K+ ratings",
"total_ratings": 41000,
"delivery_time_minutes": 33,
"is_open": true,
"hours_status": "Open now",
"hours_message": "Closes 12:00 am",
"opening_hours": [
{
"day": "Monday",
"hours": "11.00AM - Midnight"
}
],
"image_url": "https://media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto/RX_THUMBNAIL/IMAGES/VENDOR/2025/6/18/b88fe4d2-557a-42a5-a801-a43a40134004_5938.jpg"
},
"offers": [
{
"title": "FLAT ₹200 OFF",
"description": "ABOVE ₹1299",
"coupon_code": "USE CELEBRATIONS",
"tag": "FLAT DEAL"
}
]
}
}curl "https://api.crawlora.net/api/v1/swiggy/restaurant?restaurant_id=<restaurant_id>&latitude=<latitude>&longitude=<longitude>" \
-H "x-api-key: $CRAWLORA_API_KEY"