# Sheinindia — 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.

> Browse SHEIN India's fashion catalog by searching products, filtering by category (women, men, sneakers), and viewing detailed product information. Access homepage content, explore curated collections, and discover items across multiple shopping categories all in one place.

**Category:** E-commerce | **Website:** [sheinindia.in/](https://sheinindia.in/) | **Docs:** [parse.bot/marketplace/d496c768-dc2e-42f2-8127-f2006d7f00e3/sheinindia-in-api](https://parse.bot/marketplace/d496c768-dc2e-42f2-8127-f2006d7f00e3/sheinindia-in-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/sheinindia/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get homepage

Fetch the SHEIN India homepage data including navigation tree, promotional banners, and page metadata extracted from the server-side rendered state. Navigation contains the full category hierarchy (Women, Men, Trending) with child links. Banners include current promotional images and campaign slots.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sheinindia/get-homepage \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get men products

Fetch paginated products from the Men's shop category (ID 8302). Returns men's fashion products with pricing, images, and facets. Same response shape as get_products but scoped to men's items.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of products per page. |
| `page` | integer | No | Page number (zero-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sheinindia/get-men-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>"}'
```

### Get product details

Fetch full details of a single product by its code. Returns comprehensive product information including color variants (baseOptions), size options (variantOptions), pricing, stock status, images, features, and promotions. The product_code can be a numeric code from listing results (e.g. '443403264014') or a variant code with color suffix (e.g. '443403264_lightblue').

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_code` | string | Yes | Product code from listing results (e.g. '443403264014') or variant code with color suffix (e.g. '443403264_lightblue'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sheinindia/get-product-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"product_code":"<string>"}'
```

### Get products

Fetch a paginated list of all products from the store root category (ID 83). Returns products with pricing, images, and facets for filtering. Pagination is zero-based. Each product includes code, name, price object (INR), image URLs, and a relative product URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of products per page. |
| `page` | integer | No | Page number (zero-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sheinindia/get-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>"}'
```

### Get sneakers

Fetch sneaker and footwear products via a search for 'shoe'. Returns paginated results with products, facets, and pagination info. The catalog currently has a small footwear selection.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum results per page. |
| `page` | integer | No | Page number (zero-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sheinindia/get-sneakers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>"}'
```

### Get women products

Fetch paginated products from the Women's shop category (ID 8303). Returns women's fashion products with pricing, images, and facets. Same response shape as get_products but scoped to women's items.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of products per page. |
| `page` | integer | No | Page number (zero-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sheinindia/get-women-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>"}'
```

### Search products

Search for products by keyword. Returns paginated search results with products, facets for filtering, and pagination info. Some well-known terms (e.g. 'dress') may trigger a curated redirect with zero inline products but a redirect URL; multi-word queries (e.g. 'blue shirt') return direct results reliably.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum results per page. |
| `page` | integer | No | Page number (zero-based). |
| `query` | string | Yes | Search keyword (e.g. 'blue shirt', 'jeans', 'tshirt'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/sheinindia/search-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.