# Meesho — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access data from meesho.com.

**Category:** E-commerce | **Website:** [meesho.com/](https://meesho.com/) | **Docs:** [parse.bot/marketplace/b10220d2-9f27-48b8-a212-86c1cb48739c/meesho-com-api](https://parse.bot/marketplace/b10220d2-9f27-48b8-a212-86c1cb48739c/meesho-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-meesho-com-api-b10220d2/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_category_products

Browse products in a specific category by page_id (obtained from get_navigation_tree). Returns a paginated list of products with names, prices, ratings, and product IDs that can be used with get_product_details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of products to return per page. |
| `page` | integer | No | Page number for pagination. |
| `page_id` | string | Yes | Category page ID from navigation tree (e.g. '9tx' for Jewellery, '3iy' for Sarees, '3j0' for Kurtis). Obtain from get_navigation_tree results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-meesho-com-api-b10220d2/get_category_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","page_id":"<string>"}'
```

### get_navigation_tree

Retrieve the full category hierarchy of Meesho including category names, IDs, icons, page slugs, and page_ids. Use the page_id values from this tree to browse category products via get_category_products.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-meesho-com-api-b10220d2/get_navigation_tree \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_details

Retrieve full details of a single product by its alphanumeric product ID (e.g. '93stn', '1tbof'). Product IDs can be obtained from get_category_products results. Returns product name, price, description, images, shipping info, and attributes.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Alphanumeric Meesho product ID (e.g. '93stn', '1tbof', '6kkoo6'). Obtained from get_category_products results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-meesho-com-api-b10220d2/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>"}'
```

### get_product_reviews

Fetch customer reviews for a specific product. May be intermittently blocked by Akamai protection.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number |
| `product_id` | string | Yes | Meesho product ID |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-meesho-com-api-b10220d2/get_product_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","product_id":"<string>"}'
```

### search_products

Search for products by keyword query. Returns a paginated list of products matching the query. May be intermittently blocked by Akamai protection.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Results per page |
| `page` | integer | No | Page number |
| `query` | string | Yes | Search keyword |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-meesho-com-api-b10220d2/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>"}'
```
