# Makro — 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 Makro South Africa by name and instantly get details like pricing, product names, and images to compare items and find the best deals. Perfect for quickly checking availability and prices across Makro's product catalog.

**Category:** E-commerce | **Website:** [www.makro.co.za/](https://www.makro.co.za/) | **Docs:** [parse.bot/marketplace/f480d67f-bb16-4fba-a894-b136449dbdf3/makro-co-za-api](https://parse.bot/marketplace/f480d67f-bb16-4fba-a894-b136449dbdf3/makro-co-za-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-makro-co-za-api-f480d67f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_products

Search for products by name on Makro South Africa. Returns paginated results with product name, price, image URL, brand, rating, and other details. Each page returns up to 24 products.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. Must be a positive integer. |
| `query` | string | Yes | Search query text for finding products (e.g. 'laptop', 'tv', 'headphones'). |

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