# Njuskalo — 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 retrieve structured listings for cars, real estate, and electronics from Njuskalo.hr in real-time. Access detailed product information across these categories to find exactly what you're looking for.

**Category:** Marketplaces | **Website:** [njuskalo.hr/](https://njuskalo.hr/) | **Docs:** [parse.bot/marketplace/a8a29311-c967-4c03-b008-e59f7c37c00c/njuskalo-hr-api](https://parse.bot/marketplace/a8a29311-c967-4c03-b008-e59f7c37c00c/njuskalo-hr-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-njuskalo-hr-api-a8a29311/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_cars

Search for used car listings on Njuskalo.hr by keyword query with optional price filtering. Returns paginated results including title, price, location, and description. Uses the site's general search filtered by minimum price.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `min_price` | integer | No | Minimum price filter in EUR. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keywords for car listings. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-njuskalo-hr-api-a8a29311/search_cars \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"min_price":"<integer>","page":"<integer>","query":"<string>"}'
```

### search_electronics

Search for electronics listings on Njuskalo.hr by model name or keyword. Returns paginated results with price and listing details from the general search.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `model` | string | No | Electronics model or keyword to search for (e.g. iPhone 15, Samsung Galaxy S24). |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-njuskalo-hr-api-a8a29311/search_electronics \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"<string>","page":"<integer>"}'
```

### search_real_estate

Search for real estate (apartment) listings for sale in major Croatian cities. Returns paginated results including size in square meters and computed price per square meter when both price and size are available.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city` | string | No | City name. Accepted values: zagreb, split, rijeka, osijek, zadar. |
| `page` | integer | No | Page number for pagination. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-njuskalo-hr-api-a8a29311/search_real_estate \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"city":"<string>","page":"<integer>"}'
```
