# Dns Shop — 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 browse products from DNS Shop, a major Russian electronics retailer. Retrieve product listings, detailed specifications, customer reviews, category hierarchies, and physical store locations including addresses, coordinates, phone numbers, and working hours. Note: product catalog endpoints may experience intermittent availability due to bot-protection measures.

**Category:** E-commerce | **Website:** [dns-shop.ru/](https://dns-shop.ru/) | **Docs:** [parse.bot/marketplace/6b447aff-8eaa-4cc0-a766-5716160060a6/dns-shop-ru-api](https://parse.bot/marketplace/6b447aff-8eaa-4cc0-a766-5716160060a6/dns-shop-ru-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-dns-shop-ru-api-6b447aff/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_catalog_categories

Returns all top-level and subcategories from the catalog. Note: Behind Qrator antibot, may be intermittently blocked.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dns-shop-ru-api-6b447aff/get_catalog_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_details

Get full details for a product by ID or URL. Note: Behind Qrator antibot, may be intermittently blocked.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Product ID or full product URL |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dns-shop-ru-api-6b447aff/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>"}'
```

### get_product_reviews

Get paginated reviews for a product. Note: Behind Qrator antibot, may be intermittently blocked.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of reviews to return |
| `offset` | integer | No | Offset for pagination |
| `product_id` | string | Yes | Product UUID |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dns-shop-ru-api-6b447aff/get_product_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","offset":"<integer>","product_id":"<string>"}'
```

### get_product_specs

Get full technical specifications for a product. Note: Behind Qrator antibot, may be intermittently blocked.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Product ID or full product URL |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dns-shop-ru-api-6b447aff/get_product_specs \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>"}'
```

### get_products_by_category

Get products in a specific category. Note: Behind Qrator antibot, may be intermittently blocked.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | Yes | Category ID or full URL |
| `page` | integer | No | Page number |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dns-shop-ru-api-6b447aff/get_products_by_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","page":"<integer>"}'
```

### get_stores

Returns all DNS physical stores across Russia with addresses, geographic coordinates, phone numbers, and working hours. Data sourced from the PWA static file on the unprotected a.dns-shop.ru subdomain.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-dns-shop-ru-api-6b447aff/get_stores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_products

Search for products by keyword. Note: Behind Qrator antibot, may be intermittently blocked.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number |
| `query` | string | Yes | Search keyword |

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