# In19067452907ubjs Trustpass Alibaba — 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 Alibaba supplier store categories and product listings with pricing, images, and detailed specifications to find and compare items that meet your needs. Access comprehensive product information including customer reviews to make informed purchasing decisions.

**Category:** Marketplaces | **Website:** [in19067452907ubjs.trustpass.alibaba.com/productgrouplist-911832919/COLOR_DIAMOND.html?spm=a2700.shop_index.85.1.a5e22c786FFOKP](https://in19067452907ubjs.trustpass.alibaba.com/productgrouplist-911832919/COLOR_DIAMOND.html?spm=a2700.shop_index.85.1.a5e22c786FFOKP) | **Docs:** [parse.bot/marketplace/cbec446e-7a1a-44f8-b607-fc5d9623bdf1/in19067452907ubjs-trustpass-alibaba-com-api](https://parse.bot/marketplace/cbec446e-7a1a-44f8-b607-fc5d9623bdf1/in19067452907ubjs-trustpass-alibaba-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-in19067452907ubjs-trustpass-alibaba-com-api-cbec446e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_details

Returns detailed product information including specifications, SKU attributes, images, pricing, seller info, and review summary. Requires a product_id from list_products.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Alibaba product ID (numeric string, e.g. '10000029781519'). Obtained from list_products results. |

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

### list_categories

Returns the full product category tree for the store. Each category has an ID, name, and optional children subcategories. Category IDs can be used with list_products to filter by category.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-in19067452907ubjs-trustpass-alibaba-com-api-cbec446e/list_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_products

Lists products from the store with pricing and images. Can be filtered by category_id (from list_categories). Returns up to 16 products per page. When no category_id is provided, returns all products sorted by last modified date.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | No | Category ID to filter products (from list_categories endpoint, e.g. '911832919'). Omitting returns all products. |
| `page` | integer | No | Page number for pagination. Each page returns up to 16 products. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-in19067452907ubjs-trustpass-alibaba-com-api-cbec446e/list_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","page":"<integer>"}'
```
