---
title: "List Swiggy's curated collections for a location"
method: GET
path: "/swiggy/collections"
tags: ["Swiggy"]
---

# List Swiggy's curated collections for a location

`GET /swiggy/collections`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/swiggy/collections`
- Auth: API key in header `x-api-key`

Returns the curated dish/cuisine collections Swiggy's own homepage surfaces for a latitude/longitude (e.g. "Idli", "Biryani", "Dosa"). Each collection's id is the value /swiggy/search's collection_id param takes to browse restaurants within it. The response also carries is_serviceable, which says whether Swiggy delivers to the requested coordinates at all: false means the coordinates are outside Swiggy's delivery coverage, so the empty collections list is a coverage answer rather than a location that simply has no curated collections.

## Query parameters

- `latitude` number, required
- `longitude` number, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SwiggyCollectionsResponseDoc
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` SwiggyCollectionsResponse
    - `collections` SwiggyCollection[]
      - `id` string
      - `image_url` string
      - `title` string
    - `is_serviceable` boolean: IsServiceable reports whether Swiggy delivers to the requested coordinates at all. False means the coordinates are outside Swiggy's delivery coverage, so an empty collections list is a coverage answer rather than a served location that simply has no curated collections. The same field is returned by /swiggy/search's plain nearby browse.
  - `msg` unknown

## Other responses

- `400`: Bad Request
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/d994c4159e35?raw)
