# Njuškalo Scraper — Croatia Classifieds & Prices (`crawloop/njuskalo-scraper`) Actor

Njuškalo scraper for Croatian classifieds. Each row has the EUR price, location, seller, description, and photos for apartments, cars, phones, and jobs. Export JSON or monitor new ads.

- **URL**: https://apify.com/crawloop/njuskalo-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** E-commerce, Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 94.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.69 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Njuškalo Scraper

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by Njuškalo d.o.o. or its affiliates. Data is read from publicly accessible search, category, and listing pages only. No login. You are responsible for complying with applicable law (including GDPR where personal data appears) and the site’s terms. No warranty on accuracy or availability. Provided for informational and research use.

**Njuškalo scraper** for Croatian classifieds. Each row is one listing: asking price in EUR, location, seller, description, and photos. Search by keyword or category, or paste a results URL. Use it as a **Njuskalo scraper** and **Njuskalo.hr API alternative** from **Python**, **Node.js**, **cURL**, or **Apify MCP**, and export the dataset as JSON.

**Best for:** apartment and house comps, used cars, phones, job leads, and a scheduled run that saves only new ads and price changes.

| Actor | Role |
| :--- | :--- |
| Njuškalo Scraper ◄── you are here | Croatia classifieds: EUR price, location, seller, new-ad monitor |
| [Kleinanzeigen Scraper](https://apify.com/crawloop/kleinanzeigen-scraper) | Germany classifieds |
| [Tutti.ch Scraper](https://apify.com/crawloop/tutti-ch-scraper) | Switzerland classifieds |
| [Gumtree Scraper](https://apify.com/crawloop/gumtree-scraper) | UK classifieds |
| [Leboncoin Scraper](https://apify.com/crawloop/leboncoin-scraper) | France classifieds |
| [Marktplaats Scraper](https://apify.com/crawloop/marktplaats-scraper) | Netherlands classifieds |
| [eBay Sold Listings Scraper](https://apify.com/crawloop/ebay-sold-listings-scraper) | Sold comps for the same goods |

### When to use this Actor

- **A keyword** — Set Keyword to iphone and leave Search URLs empty. Category is ignored while a keyword is set.
- **Apartments, cars, phones, or jobs** — Pick the category and leave Keyword empty.
- **A results page you already opened** — Paste the category or search URL. Keyword and category are ignored when Search URLs is set.
- **One listing** — Paste the listing URL. The run saves that page.
- **New ads and price cuts** — Turn on monitor mode and schedule the same search. The first run stores a baseline and saves nothing. Later runs save new listing ids and price changes.

### When not to use this Actor

- **Hidden phone numbers** — The reveal button is not called. A number the seller typed into the description stays inside `description`.
- **A national dump in one run** — Cap `maxItems` (200). Split by category or keyword.
- **Logged-in seller tools** — This Actor reads public pages only.

### Key features

- **Search and listing pages** — Title, EUR price, location, seller, description, and photos. Default **256 MB**. Datacenter proxy. No browser.
- **Keyword or category** — Apartments for sale, apartments for rent, houses, cars, motorbikes, phones, and jobs.
- **Pasted URL** — Category paths, search URLs, and single listing pages.
- **Private versus business** — `sellerType` is `private` or `business` when the page says so.
- **Monitor** — Named key-value store of listing id and last price for that search. The seed run does not open listing pages.

### Input

| Field | Required | Default | What it does |
| :--- | :--- | :--- | :--- |
| Search or listing URLs | No | iPhone search | Wins over the filters below. |
| Keyword | No | — | Site search when URLs are empty. Overrides Category. |
| Category | No | Apartments for sale | Section used when URLs and Keyword are empty. |
| Sort | No | Newest | Applied when the Actor builds the URL. |
| Open listing pages | No | on | Description, photos, attributes, and public seller fields. Same saved row. |
| Maximum listings | No | 40 | Rows to save, up to 200. |
| Monitor mode | No | off | Baseline first, then new ids and price changes. |
| Monitor state store | No | njuskalo-monitor | Named store for the baseline. |
| Proxy | No | Datacenter | Listing pages need it. Switch to residential if a run is blocked. |

```json
{
  "keyword": "iphone",
  "sort": "new",
  "includeListingDetails": true,
  "maxItems": 40,
  "monitorMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### Output

| Field | Meaning |
| :--- | :--- |
| `id` | Listing id |
| `url` | Public listing page |
| `title` | Listing title |
| `price` | Asking price in EUR |
| `location` | Place on the card or listing page |
| `postedAt` | Publish time |
| `livingAreaM2` | Square meters when the listing shows them |
| `rooms` | Room count on property listings |
| `sellerType` | `private` or `business` |
| `sellerName` | Display name on the listing page |
| `sellerAddress`, `sellerEmail` | Printed on the listing page when present |
| `description` | Listing description |
| `image`, `images` | First photo, then the photo list |
| `attributes` | Attribute pairs from the listing page |
| `changeType` | `new` or `price_change` on monitor runs |
| `previousPrice` | Prior asking price when `changeType` is `price_change` |
| `scrapedAt` | UTC timestamp |

```json
{
  "id": "51355151",
  "url": "https://www.njuskalo.hr/nekretnine/stan-oglas-51355151",
  "title": "Stan Grižanska",
  "price": 148000,
  "currency": "EUR",
  "location": "Grad Zagreb, Gornja Dubrava",
  "livingAreaM2": 34.83,
  "rooms": "1-sobni",
  "sellerType": "business",
  "sellerName": "Moj dom nekretnine",
  "description": "Sunčan stan s balkonom."
}
```

### Use cases

- Compare asking prices for apartments in one district and keep `livingAreaM2` and `sellerType` so agencies are separate from private sellers.
- Pull used cars or phones with the public price, location, and description.
- Schedule monitor mode each morning and export only listings whose price moved.
- For sold comps on the same goods, run [eBay Sold Listings Scraper](https://apify.com/crawloop/ebay-sold-listings-scraper). For Switzerland, run [Tutti.ch Scraper](https://apify.com/crawloop/tutti-ch-scraper).

### Integration examples

Replace `APIFY_TOKEN`. The slug below is the Store name.

#### Node.js

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("crawloop/njuskalo-scraper").call({
  keyword: "iphone",
  maxItems: 40,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("crawloop/njuskalo-scraper").call(run_input={
    "category": "apartments",
    "maxItems": 40,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(len(items))
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/crawloop~njuskalo-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"category":"apartments","maxItems":40}'
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp).
Connect your Apify account, then call this Actor by its Store name `crawloop/njuskalo-scraper`.

Example prompts:

- "Run Njuškalo Scraper for apartments and return price, location, and living area as JSON"
- "Scrape Njuškalo cars and summarize asking price and location"
- "Run Njuškalo Scraper in monitor mode for iphone, then use eBay Sold Listings Scraper for sold comps"

### Suite next step

This Actor covers Croatian classifieds. For sold prices on the same goods, run [eBay Sold Listings Scraper](https://apify.com/crawloop/ebay-sold-listings-scraper). For another country’s classifieds, run [Tutti.ch Scraper](https://apify.com/crawloop/tutti-ch-scraper) or [Gumtree Scraper](https://apify.com/crawloop/gumtree-scraper).

### FAQ

**Does this open every listing page?**
Yes, when Open listing pages is on. Monitor seed runs skip those pages and save nothing. Turn the option off to keep the search card only.

**Which categories are included?**
Apartments for sale, apartments for rent, houses for sale, cars, motorbikes, phones, and jobs. A pasted category URL can target any public section.

**What if the run is blocked?**
Leave the datacenter proxy on and retry. If the run still fails, switch the proxy to residential.

**What does monitor mode skip?**
Listing ids already stored for that same search, unless the asking price changed. A quiet tick writes zero rows. The first run only fills the baseline.

**Are phone numbers included?**
The reveal button is not called. Public email, address, and website are saved when the listing page prints them. A number written in the description stays in `description`.

**How do I export the rows?**
The run writes one listing per dataset row. Download JSON, CSV, or Excel from that dataset, or read it with the Node.js, Python, and cURL examples.

# Actor input Schema

## `startUrls` (type: `array`):

Njuškalo category, search, or listing URLs. When this list is set, keyword and category are ignored.

## `keyword` (type: `string`):

Site search used when Search URLs is empty. A keyword overrides Category.

## `category` (type: `string`):

Browse section used when Search URLs and Keyword are empty.

## `sort` (type: `string`):

Sort used when the Actor builds the search. Pasted URLs keep their own query.

## `includeListingDetails` (type: `boolean`):

Fetch each saved listing for the description, photos, attributes, and public seller fields. The same listing event covers the card and the page. Monitor seed runs do not open listing pages.

## `maxItems` (type: `integer`):

How many listings to save. Monitor mode examines this many cards and saves only new ids and price changes.

## `monitorMode` (type: `boolean`):

The first run for a search stores a baseline and saves nothing. Later runs save new listings and price changes only.

## `monitorStateStore` (type: `string`):

Named key-value store that keeps the baseline between scheduled runs.

## `proxyConfiguration` (type: `object`):

Datacenter proxy is on by default. Listing pages need it from the Apify cloud. Switch to residential if a run is blocked.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.njuskalo.hr/search/?keywords=iphone&sort=new"
    }
  ],
  "category": "apartments",
  "sort": "new",
  "includeListingDetails": true,
  "maxItems": 40,
  "monitorMode": false,
  "monitorStateStore": "njuskalo-monitor",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset items — one listing per row.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.njuskalo.hr/search/?keywords=iphone&sort=new"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/njuskalo-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://www.njuskalo.hr/search/?keywords=iphone&sort=new" }] }

# Run the Actor and wait for it to finish
run = client.actor("crawloop/njuskalo-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.njuskalo.hr/search/?keywords=iphone&sort=new"
    }
  ]
}' |
apify call crawloop/njuskalo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawloop/njuskalo-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/cdkOz17kPx0KoMAYV/builds/cSSV3J6NMW5hG2s3G/openapi.json
