# Salla (Saudi Arabia) — 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.

> Discover newly launched e-commerce stores on Salla's marketplace by browsing listings filtered by their creation date and business category. Find fresh storefronts tailored to your interests and explore emerging sellers across various industries.

**Category:** Marketplaces | **Website:** [salla.sa/](https://salla.sa/) | **Docs:** [parse.bot/marketplace/f3a71927-718b-4b8a-b9a5-111008603877/salla-sa-api](https://parse.bot/marketplace/f3a71927-718b-4b8a-b9a5-111008603877/salla-sa-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/salla-saudi-arabia/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### List new stores

Retrieve stores recently added to the Salla marketplace. By default returns stores from the last 4 weeks; override with date_from/date_to for a custom window. Results are paginated (12 per page). Supports category filtering by slug.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category` | string | No | Category slug to filter stores (e.g. electronics, fashion, jewelry, cosmetics-care, drop-shipping). |
| `date_from` | string | No | Start date for the date range filter in ISO format YYYY-MM-DD. Defaults to 4 weeks before today. |
| `date_to` | string | No | End date for the date range filter in ISO format YYYY-MM-DD. Defaults to today. |
| `language` | string | No | Language for localized fields. |
| `page` | integer | No | Page number for paginated results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/salla-saudi-arabia/list-new-stores \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category":"<string>","date_from":"<string>","date_to":"<string>","language":"<string>","page":"<integer>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.