# Arogga — 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 medicines and healthcare products across Arogga to instantly compare prices, view available discounts, and check real-time stock availability. Find the best deals on your needed medications and health items in one convenient search.

**Category:** Healthcare | **Website:** [www.arogga.com/](https://www.arogga.com/) | **Docs:** [parse.bot/marketplace/4d77c13d-23cc-473f-80ac-aac29f44d309/arogga-com-api](https://parse.bot/marketplace/4d77c13d-23cc-473f-80ac-aac29f44d309/arogga-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-arogga-com-api-4d77c13d/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_products

Search for medicines and healthcare products by name or keyword. Returns paginated results with pricing details including MRP, discounted price, discount percentage, and stock status. Results are ordered by availability and popularity.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of results per page (1-50). |
| `query` | string | No | Search term for product name, generic name, or keyword (e.g. 'Napa', 'Paracetamol'). |

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