↑ ↓ to move ↵ to open
Swiggy API · Endpoint

Swiggy Categories API

The cuisines and food categories Swiggy suggests at a location, in the order it shows them.

  • 1 credit per call
  • Failed calls are free
  • Updated
  • swiggy.categories
Response completed
{  "summary": {    "latitude": 12.9121181,    "longitude": 77.6445548,    "total_items": 12  },  "items": [    {      "entity_id": "swiggy://explore?query=Rolls",      "id": "600995",      "latitude": 12.9121181,      "link": "swiggy://explore?query=Rolls",      "longitude": 77.6445548,      "query": "Rolls",      "rank": 1,      "section": "Popular Cuisines"    },    {      "entity_id": "swiggy://explore?query=Pizza",      "id": "600813",      "latitude": 12.9121181,      "link": "swiggy://explore?query=Pizza",      "longitude": 77.6445548,      "query": "Pizza",      "rank": 2,      "section": "Popular Cuisines"    }  ]}
Try it live, free
Input

What you send

The input object of the request, with every field the endpoint accepts.

FieldTypeRequiredWhat it doesExample
latitude number no Latitude of the location. 12.9121181
limit integer no Maximum number of categories. 20
longitude number no Longitude of the location. 77.6445548
Response

Fields it returns

What each record in the response holds, with the values from the sample above.

FieldTypeWhat it isExample
items[].rank integer The restaurant's place in the list. 1
items[].query string The search term. Rolls
items[].section string The section of Swiggy's search page. Popular Cuisines
items[].entity_id string swiggy://explore?query=Rolls
items[].id string 600995
items[].latitude number Latitude. 12.91
items[].link string Swiggy's link for the search. swiggy://explore?query=Rolls
items[].longitude number Longitude. 77.64
items array The results. 12 records
summary object Totals for this response. 3 fields
summary.latitude number Latitude. 12.91
summary.longitude number Longitude. 77.64
summary.total_items integer How many results this response holds. 12
REST API · MCP server

Call it from your code, or ask your agent

Set UPSCRAPE_API_KEY to your key and copy a working request.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "swiggy.categories",  "input": {    "latitude": 12.9121181,    "limit": 20,    "longitude": 77.6445548  }}'
In your AI agent Claude · Cursor · any MCP client
1Add the Upscrape MCP server
https://data.upscrape.com/mcp
2Ask for the data in plain words

Using Upscrape, list the food categories Swiggy suggests in HSR Layout, Bengaluru, in the order it shows them.

The agent finds the endpoint, shows you the price, and runs it with your credits.
Swiggy

More from the Swiggy API

Same data, other platforms

The same data from other platforms

Questions

Swiggy Categories API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How much does the Swiggy Categories API cost?

1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.

What do I send?

Every input is optional; the input fields below list what each one does.

Do I need a Swiggy login?

No. It reads public Swiggy data; nothing runs on your account.

Can my AI agent call it?

Yes, over MCP: the agent finds swiggy.categories, checks its price and runs it with the same credits as the REST API.

Get started

Your first Swiggy call is free.

Up to 100 free credits to start, no card needed.