{"uid":"cap_A68vJDEyzDSGb8pn897Nh","slug":"swiggy-restaurant-scraper-x402-64f65304","name":"Swiggy Restaurant Scraper (x402)","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://x402.186-241-26-229.sslip.io/v1/swiggy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cities":{"type":"array","items":{"enum":["mumbai","delhi","gurgaon","noida","bangalore","hyderabad","chennai","kolkata","pune","ahmedabad","jaipur","lucknow","chandigarh","kochi","indore","surat","nagpur","bhopal","coimbatore","vadodara"],"type":"string","enumTitles":["Mumbai","Delhi","Gurgaon","Noida","Bengaluru","Hyderabad","Chennai","Kolkata","Pune","Ahmedabad","Jaipur","Lucknow","Chandigarh","Kochi","Indore","Surat","Nagpur","Bhopal","Coimbatore","Vadodara"]},"default":["mumbai"],"description":"Choose one or more Indian cities. Leave empty when using only custom coordinates."},"queries":{"type":"array","description":"Search each location for these terms, such as biryani or pizza. Leave empty for the first public restaurant listing at each location."},"maxItems":{"type":"integer","default":100,"maximum":10000,"minimum":1,"description":"Stop after this many unique restaurant rows across all locations and search terms."},"coordinates":{"type":"array","description":"One location per line as latitude, longitude, optional label; a map URL containing coordinates also works. Locations must be within India."},"includeMenu":{"type":"boolean","default":false,"description":"Fetch public dish details and prices for each restaurant. This adds one catalog request per restaurant and may be slower."},"maxMenuItems":{"type":"integer","default":50,"maximum":500,"minimum":1,"description":"Keep at most this many dishes on each restaurant row when menus are enabled."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"url":null,"name":null,"rating":null,"cuisines":null,"ratingCount":null,"googleRating":null,"restaurantId":null,"googleRatingCount":null}],"product":"swiggy"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kcPjxHHFUizo0GoLhFIml","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes structured restaurant listings and menu data from Swiggy for specified Indian cities or GPS coordinates, returning names, ratings, cuisines, and optional dish details.","exampleAgentPrompt":"Pull me up to 50 Swiggy restaurant listings for biryani in Bangalore and Hyderabad, and include the menu with dish prices for each one.","exampleUseCases":[{"title":"Competitive restaurant landscape research","prompt":"I'm doing market research on the pizza restaurant scene in Delhi and Mumbai — can you scrape Swiggy for up to 200 pizza places across both cities and give me their names, ratings, and cuisines?"},{"title":"Hyperlocal food discovery by GPS","prompt":"Find me Swiggy restaurants within delivery range of latitude 19.0760, longitude 72.8777 in Mumbai — search for 'seafood' and return up to 30 results."},{"title":"Menu pricing audit for a food-tech startup","prompt":"Get me all the Swiggy listings for 'burger' in Bangalore and Pune, up to 100 restaurants total, and fetch the full menu with dish prices for each one so I can analyze pricing trends."}],"resultDescription":"A JSON object with a count of returned restaurants and an items array, each item containing restaurant name, URL, rating, rating count, cuisines, Google rating, Google rating count, and restaurant ID. When menus are requested, each item also includes an array of dish names and prices, capped at the specified maxMenuItems.","failureModes":["No restaurants found for query/city combination — returns empty items array, no charge","Invalid city enum value — request rejected with validation error","Coordinates outside India — rejected with location constraint error","Swiggy site unavailable or blocking — failed run, no charge","maxItems exceeds 10000 — validation error","Search term yields no Swiggy results — empty response, no charge"],"whenToPreferThis":"Use this endpoint when you need structured restaurant data specifically from Swiggy across Indian cities or GPS coordinates, especially when you want ratings, cuisine tags, and optional menu-level pricing in a single pay-per-call request. Prefer it over generic web scrapers when you need clean, schema-normalized Swiggy output without building your own parser, and when you only want to pay for successful, non-empty results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:46:41.388Z","isFirstParty":false,"canonicalSlug":"swiggy-restaurant-scraper-x402-64f65304"}