# Amazon (Egypt) — 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 products on Amazon Egypt (amazon.eg) by keyword and retrieve autocomplete suggestions for partial search terms. Returns product listings including titles, prices, ratings, review counts, images, and ASINs, with support for pagination and sorting.

**Category:** E-commerce | **Website:** [amazon.eg/](https://amazon.eg/) | **Docs:** [parse.bot/marketplace/95a51d32-1512-4dcd-81c4-aafed25ad389/amazon-eg-api](https://parse.bot/marketplace/95a51d32-1512-4dcd-81c4-aafed25ad389/amazon-eg-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-eg-api-95a51d32/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_search_autocomplete

Returns up to 10 typeahead suggestions for a partial search keyword on Amazon Egypt. Useful for building search-as-you-type interfaces or discovering popular search terms from a prefix.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `prefix` | string | Yes | Partial search keyword to get suggestions for |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-amazon-eg-api-95a51d32/get_search_autocomplete \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prefix":"<string>"}'
```

### search_products

Full-text search over Amazon Egypt product listings by keyword. Returns products with ASIN, title, price, rating, review count, image, and URL. Supports pagination via page number and server-side sorting. Each page returns up to ~48 results depending on availability.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination |
| `query` | string | Yes | Search keyword |
| `sort` | string | No | Sort order for results |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-amazon-eg-api-95a51d32/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>","sort":"<string>"}'
```
