# Category listings

List Meesho catalogs for a supplied category route.

- Platform: [Meesho Catalog](https://docs.upscrape.com/docs/platforms/meesho)
- Capability ID: `catalog.category`
- Cost: 1 credit per request
- Maximum runtime: 45 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "limit": 20,
    "page_id": "3j0",
    "slug": "women-kurtis"
  },
  "capability": "catalog.category"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `cursor` | `string` | No |  |
| `limit` | `integer` | No |  |
| `offset` | `integer` | No |  |
| `page_id` | `string` | Yes |  |
| `slug` | `string` | Yes |  |

### Example input

```json
{
  "limit": 20,
  "page_id": "3j0",
  "slug": "women-kurtis"
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This redacted fixture is an example, not a fixed response schema.

```json
{
  "count": 20,
  "listings": [
    {
      "catalog_id": 114612648,
      "images": [
        "https://images.meesho.com/images/products/392458573/97zwk_512.jpg",
        "https://images.meesho.com/images/products/392458576/zzhgz_512.jpg",
        "https://images.meesho.com/images/products/392458572/gpft2_512.jpg"
      ],
      "min_price": 235,
      "name": "Women Rayon Myra Petite Kurtis",
      "product_id": "6hnqz1",
      "product_url": "https://www.meesho.com/s/p/6hnqz1",
      "slug": ""
    },
    {
      "catalog_id": 96851982,
      "images": [
        "https://images.meesho.com/images/products/333377247/ryeix_512.jpg",
        "https://images.meesho.com/images/products/333377246/mtwg1_512.jpg",
        "https://images.meesho.com/images/products/333377244/fbo7p_512.jpg"
      ],
      "min_price": 309,
      "name": "Women Georgette Trendy Drishya Kurtis",
      "product_id": "5ihfj3",
      "product_url": "https://www.meesho.com/s/p/5ihfj3",
      "slug": ""
    },
    {
      "catalog_id": 119140034,
      "images": [
        "https://images.meesho.com/images/products/405668514/tv2jm_512.jpg"
      ],
      "min_price": 341,
      "name": "Trendy New Dupatta Sets",
      "product_id": "6pivtu",
      "product_url": "https://www.meesho.com/s/p/6pivtu",
      "slug": ""
    }
  ],
  "next_cursor": "[redacted:token]=="
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `count` | `integer` | 20 |
| `listings` | `array` | 3 items |
| `listings` | `array` | 3 items |
| `next_cursor` | `string` | [redacted:token]== |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
