↑ ↓ to move ↵ to open

Swiggy Categories API

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

Categories
{  "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

What you send, what comes back

The input object it accepts, and every field of a record, with the values from the response above.

Input3 fields
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
Fields it returns13 fields
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

Call it from your code

Set UPSCRAPE_API_KEY to your key and copy a working request. No SDK needed.

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  }}'
Response
{  "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"    }  ]}

Use it from your AI agent instead

More Swiggy endpoints

The same API key runs every one of them.

The same data from other platforms

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.