# Amazon (Singapore) — 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.

> Search for heavily discounted products on Amazon.sg and instantly access detailed product information including customer reviews to find the best deals. Get real-time pricing, product specifications, and user feedback all in one place to make smarter shopping decisions.

**Category:** E-commerce | **Website:** [amazon.sg/](https://amazon.sg/) | **Docs:** [parse.bot/marketplace/b3e8a03b-7e79-46a0-a8d6-d0baee7b97e6/amazon-sg-api](https://parse.bot/marketplace/b3e8a03b-7e79-46a0-a8d6-d0baee7b97e6/amazon-sg-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-amazon-sg-api-b3e8a03b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_details

Retrieve full product details and customer reviews for a specific ASIN on Amazon.sg. Returns the product title, pricing, and all available customer reviews. Critical reviews (rating <= 3) are returned separately for convenience. Review titles and bodies may be null if Amazon does not render them on the page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `asin` | string | Yes | Amazon Standard Identification Number for the product (e.g. B0DCGFKHRF). |

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

### search_discounted_products

Search for products on Amazon.sg filtered by minimum discount percentage. Returns a paginated list of products with ASIN, title, price, original price, discount information, rating, and review count. Pagination is page-based; results per page are determined by Amazon (typically ~20 items). Not all products will have discount data populated — some may show null for price/discount fields depending on how Amazon renders the listing.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `min_discount` | integer | No | Minimum discount percentage to filter by. Accepts values from 10 to 90. |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-amazon-sg-api-b3e8a03b/search_discounted_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"min_discount":"<integer>","page":"<integer>"}'
```
