# Skroutz — 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 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. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-skroutz-gr-api-05f3b824/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## 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.paywithlocus.com/api/wrapped/parse-skroutz-gr-api-05f3b824/get_all_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-skroutz-gr-api-05f3b824/get_category_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-skroutz-gr-api-05f3b824/get_price_history \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-skroutz-gr-api-05f3b824/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-skroutz-gr-api-05f3b824/get_product_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-skroutz-gr-api-05f3b824/get_product_stores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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.paywithlocus.com/api/wrapped/parse-skroutz-gr-api-05f3b824/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
