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

> Retrieve current product listings from Lotus Malaysia's promotional pages with details like pricing, discounts, product names, categories, and images. Browse through paginated results to discover the latest deals and promotional items available.

**Category:** E-commerce | **Website:** [www.lotuss.com.my/en/shop/june-super-weekend-treats](https://www.lotuss.com.my/en/shop/june-super-weekend-treats) | **Docs:** [parse.bot/marketplace/44a0803a-b13d-4971-878e-c32f165bb815/lotuss-com-my-api](https://parse.bot/marketplace/44a0803a-b13d-4971-878e-c32f165bb815/lotuss-com-my-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-lotuss-com-my-api-44a0803a/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_promotional_products

Get products from a Lotus's Malaysia promotional or category page. Returns product names, promotional prices, regular prices, discount percentages, categories, brands, and product images. Results are paginated.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | No | Category ID for the promotional page. Default is 60725 (June Super Weekend Treats). Other category IDs can be found by browsing the site. |
| `limit` | integer | No | Number of products per page, between 1 and 100. |
| `page` | integer | No | Page number for pagination (starts at 1). |
| `sort` | string | No | Sort order for results. Accepts exactly one of: best_match, price_low, price_high, newest. Omitted = default server ordering. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-lotuss-com-my-api-44a0803a/get_promotional_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","limit":"<integer>","page":"<integer>","sort":"<string>"}'
```
