# Tw Coupang — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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.

> Search for products on Coupang Taiwan and browse by category, brand, or Rocket Delivery availability to find exactly what you're looking for. Get detailed product information, view homepage featured items, and discover deals across thousands of listings.

**Category:** E-commerce | **Website:** [tw.coupang.com/](https://tw.coupang.com/) | **Docs:** [parse.bot/marketplace/1d0c7630-0b00-4d78-abe3-97d09f035281/tw-coupang-com-api](https://parse.bot/marketplace/1d0c7630-0b00-4d78-abe3-97d09f035281/tw-coupang-com-api)

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

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/tw-coupang/`
**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 brand products

Search for products from a specific brand by using the brand name as the search query. Returns paginated results in the same format as search_products.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `brand_name` | string | Yes | The name of the brand to search for (e.g. 'NONGSHIM', 'AGF MAXIM'). |
| `page` | integer | No | Page number for pagination. |
| `sorter` | string | No | Sorting option. |

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

### Get category products

Browse products within a specific category.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | Yes | The category identifier (e.g. 食品飲料-541149) |
| `page` | integer | No | Page number |
| `sorter` | string | No | Sorting option |

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

### Get homepage featured

Fetch the homepage navigation categories and their links from Coupang Taiwan. Returns the main category navigation bar items with names and URLs.

**Estimated cost:** Metered

_No parameters required._

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

### Get product detail

Retrieve full details of a specific product by its product ID, including name, brand, pricing, rating, images, and description. Uses JSON-LD structured data from the product page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | The unique product identifier (e.g. '265257129820171'). Obtainable from search_products results. |

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

### Get rocket delivery products

Search for products that offer Rocket Delivery. Filters results to only show items available for fast delivery via the availableDeliveryFilter parameter.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword to filter Rocket Delivery products. Omitting returns all Rocket Delivery products. |
| `sorter` | string | No | Sorting option. |

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

### Search products

Search for products by keyword on Coupang Taiwan. Returns up to 36 products per page with product names, prices, delivery badges, and unit pricing information. Paginates via integer page number.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | Yes | Search keyword (e.g. 'ramen', 'laptop', 'coffee'). |
| `sorter` | string | No | Sorting option. |

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

## Next steps

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