# Skroutz — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 and compare products across Greek retailers with real-time pricing, store availability, and historical price trends from Skroutz.gr. Browse categories, view detailed product information, and read customer reviews to find the best deals on any item.

**Category:** E-commerce | **Website:** [skroutz.gr/](https://skroutz.gr/) | **Docs:** [parse.bot/marketplace/05f3b824-2977-4058-98b1-2860fc3f1807/skroutz-gr-api](https://parse.bot/marketplace/05f3b824-2977-4058-98b1-2860fc3f1807/skroutz-gr-api)

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

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/skroutz/`
**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

### Get all categories

Get all top-level product categories from the navigation menu. Returns a flat list of category objects each carrying an ID, Greek display name, slug, and canonical URL. Use category IDs and slugs to feed get_category_products.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/skroutz/get-all-categories \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get category products

List products within a specific category with pagination support. Returns product SKU IDs, names, slugs, and URLs. Accepts a page number for pagination; each page contains up to ~50 products. Use category_id and slug from get_all_categories results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | Yes | Category ID from get_all_categories results (e.g. '1428'). |
| `page` | integer | No | Page number for pagination. |
| `slug` | string | Yes | Category URL slug from get_all_categories results (e.g. 'school_supplies'). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/skroutz/get-category-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","page":"<integer>","slug":"<string>"}'
```

### Get price history

Get historical price graph data for a product including min_price, popularity, and shop_count over time periods (1 month, 3 months, 6 months, all). Each metric contains graphData with timestamped values.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sku_id` | string | Yes | Product SKU ID. |
| `slug` | string | Yes | Product URL slug. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/skroutz/get-price-history \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"sku_id":"<string>","slug":"<string>"}'
```

### Get product details

Get full product details including name and technical specifications. Use sku_id and slug from search_products or get_category_products results. Returns product name, slug, specifications key-value pairs, and the product URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sku_id` | string | Yes | Product SKU ID from search or category results. |
| `slug` | string | Yes | Product URL slug from search or category results. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/skroutz/get-product-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"sku_id":"<string>","slug":"<string>"}'
```

### Get product reviews

Get user reviews for a product including ratings, author names, dates, review text, and helpfulness indicators. Returns reviews sorted by most recent first.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sku_id` | string | Yes | Product SKU ID. |
| `slug` | string | Yes | Product URL slug. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/skroutz/get-product-reviews \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"sku_id":"<string>","slug":"<string>"}'
```

### Get product stores

Get all stores selling a specific product along with their prices, shipping costs, and availability information. Returns a list of stores sorted by price, the minimum price, and total shop count.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sku_id` | string | Yes | Product SKU ID. |
| `slug` | string | No | Product URL slug. Improves shop name resolution when provided. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/skroutz/get-product-stores \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"sku_id":"<string>","slug":"<string>"}'
```

### Search products

Search for products by keyword. Returns matching product SKU IDs, names, slugs, and URLs. Results are ordered by relevance. Use sku_id and slug from results to call get_product_details, get_product_stores, get_price_history, or get_product_reviews.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword (e.g. 'laptop', 'samsung galaxy'). |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/skroutz/search-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

## Next steps

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