# Njuskalo Scraper: Croatian Classified Ads Search (`happyendpoint/njuskalo-classifieds-search-scraper`) Actor

Search Njuskalo, the Croatian classifieds site, by keyword or category. Each ad has title, price, date, link and main photo. Also the newest ads, ad counts, search suggestions, category trees, filter lists, popular brands and place lookups.

- **URL**: https://apify.com/happyendpoint/njuskalo-classifieds-search-scraper.md
- **Developed by:** [Happy Endpoint](https://apify.com/happyendpoint) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

### What this Actor does

This Actor reads the public classified ads on Njuskalo, the Croatian classifieds site for cars, homes, phones, household goods and much more. Search by words or browse a category, and narrow the results by price, photos, payment protection and sort order. Each ad row gives its title, price, publication date, page link and main photo, and its condition and category when the site sends them. Further operations return the newest ads, the number of ads that a search matches, search suggestions, the category tree with its filters, popular brands, and places by name or by map point.

The data is what Njuskalo shows to any visitor on its public pages: the ads with their prices, dates and photos, and the site category, brand and place lists.

### Use cases

- Watch the asking prices of used phones, cars or appliances in Croatia and notice a falling market early.
- Count the ads that match a keyword every day to follow demand for a product.
- Collect the newest ads of one main category for a resale or sourcing business.
- Map the category tree and its filters before you plan a larger crawl.
- See which brands and categories the site currently pushes as popular or trending.

### How to use

1. Open the Actor's input form in Apify Console, or prepare a JSON input for the API.
2. Pick an `operation`: each one is a different kind of request to Njuskalo.
3. Set `maxItems` to the number of results you need. It is the only quantity setting; paging is handled for you.
4. Start the run. The results land in the run's dataset, where you can download them as JSON, CSV, Excel and
   other formats, or read them through the Apify API.

This is the example input, the one the input form starts with:

```json
{
  "operation": "search",
  "maxItems": 10,
  "query": "iphone"
}
```

### Input

| Field | Type | Description | Used by |
| --- | --- | --- | --- |
| `operation` | string | Which data to fetch. Each option is one kind of request. | all operations |
| `maxItems` | integer | The most results to return. The run stops once it has this many. | all operations |
| `query` | string | Words to look for in the ads. For Search suggestions they are the start of a term. Search ads and Count matching ads cannot run without them. | Search suggestions, Search ads, Count matching ads |
| `mainCategory` | integer | The number of a top-level category, the ID of a Trending categories or Recommended categories row. Ads in a category, Category navigation and Filter options cannot run without it. Latest ads can use it to narrow the list. | Ads in a category, Latest ads, Category navigation, Filter options |
| `category` | integer | Narrows Ads in a category to one subcategory of the main category. It must be a category with no further subcategories, marked as a leaf in Category navigation. | Ads in a category |
| `categoryIds` | string | Category numbers to describe, separated by commas. | Category details |
| `location` | string | The start of a town, district or address, for Find a place. | Find a place |
| `locationId` | integer | Only ads from this county. Use a top-level number from the locality list of a Find a place row. | Ads in a category |
| `latitude` | number | Latitude of a map point in decimal degrees. Place at coordinates cannot run without it. | Place at coordinates |
| `longitude` | number | Longitude of a map point in decimal degrees. Pair it with Latitude. | Place at coordinates |
| `minPrice` | number | Only ads priced at or above this amount. | Search ads, Count matching ads, Ads in a category |
| `maxPrice` | number | Only ads priced at or below this amount. | Search ads, Count matching ads, Ads in a category |
| `hasPhotos` | boolean | Skip ads that have no photo. | Search ads, Count matching ads, Ads in a category |
| `titleOnly` | boolean | Look for the search words in ad titles alone; ad texts are skipped. | Search ads, Count matching ads |
| `payProtect` | boolean | Only ads marked with the site's payment protection option. | Search ads, Count matching ads, Ads in a category |
| `sort` | string | How to order the ads. Leave it empty for the site default. | Search ads, Ads in a category |

### Output

Every row holds the run's own fields first (`operation`, `scrapedAt` and `sourceUrl`),
then the core fields `id`, `url`, `title`, `price`, `currency`, `location`, which are empty when the source has no such value,
and then every field of the source item as Njuskalo returns it. The dataset has an overview view and one view per
operation.

A sample of Search ads rows from a test run. Personal data, contact data, outside links and anything
that looks like a credential are replaced with `(removed)`:

```json output-excerpt
[
  {
    "operation": "search",
    "scrapedAt": "2026-11-19T08:43:46.769Z",
    "sourceUrl": "(removed)",
    "id": "(removed)",
    "url": "(removed)",
    "title": "(removed)",
    "price": 230,
    "currency": null,
    "location": null,
    "formattedPrice": "230,00 €",
    "createdAt": "2026-11-17T10:16:27+00:00",
    "webUrl": "(removed)",
    "condition": "rabljeno",
    "mainImage": {
      "id": "(removed)",
      "type": "ad-image",
      "browseVariation": {
        "id": "(removed)",
        "type": "ad-image-variation",
        "url": "(removed)"
      }
    }
  }
]
```

### Pricing

This Actor uses pay-per-event pricing: a start fee of $0.002 for each run, plus
$0.002 for each result in the dataset. Every operation is priced the same way.

| Operation | Start fee per run | Price per result |
| --- | --- | --- |
| Search suggestions | $0.002 | $0.002 |
| Search ads | $0.002 | $0.002 |
| Count matching ads | $0.002 | $0.002 |
| Ads in a category | $0.002 | $0.002 |
| Latest ads | $0.002 | $0.002 |
| Find a place | $0.002 | $0.002 |
| Place at coordinates | $0.002 | $0.002 |
| Category navigation | $0.002 | $0.002 |
| Category details | $0.002 | $0.002 |
| Filter options | $0.002 | $0.002 |
| Recommended categories | $0.002 | $0.002 |
| Trending categories | $0.002 | $0.002 |
| Popular brands | $0.002 | $0.002 |

Worked examples for one run:

| Results | Total cost |
| --- | --- |
| 10 | $0.022 |
| 100 | $0.202 |
| 1,000 | $2.002 |

Invalid input, a not-found answer or an internal error adds no charge of its own: such a run pays the start
fee plus only the results it delivered before it stopped (none for invalid input). To cap what one run may
cost, set the maximum cost per run when you start it.

### Limits and tips

- One run returns at most 1,000 results; the input form allows no higher `maxItems`.
- Set `maxItems` to what you need: you pay per result, and a smaller run finishes sooner.
- A request that matches nothing ends with an empty dataset and costs only the start fee.
- Ads in a category, Category navigation and Filter options cannot run without a Main category number.
- Search ads and Count matching ads cannot run without Search words.
- Latest ads, the category operations and the popular and trending lists show what the site offers today and do not page.
- Place at coordinates needs both Latitude and Longitude.

### Resume a run that stopped at your cost limit

If you set a maximum cost per run and a run reaches it, the run stops early. To get the rest, resurrect the
run in Apify Console, or through the API, with a higher limit. The Actor resumes where it stopped: results
already in the dataset are not fetched or charged again, and the run still ends at `maxItems`.
Resurrecting can charge the start fee again.

### Running without input

The example input above is also this Actor's example run input. Apify's API documents that a run started with
no input at all uses the example run input: Search ads, at most 10 results,
which costs at most $0.022 (the start fee plus 10 results). For your own runs, always send an input with the fields you need.

### FAQ

#### Do I need an account on Njuskalo?

No. The Actor reads public data, so an Apify account is all you need.

#### How do I get the data into my own tools?

Download the dataset from the run's page, or read it through the Apify API and its integrations.

#### How do I find a category number?

Category navigation lists the subcategories of a main category together with their ad counts. Take a main category number from a Trending categories or Recommended categories row and use a number from a row marked as a leaf as Subcategory number in Ads in a category.

#### How do I count the ads of a search without reading them?

Run Count matching ads with the same Search words and price filters. It returns a single row with the number.

#### Can I match the title only?

Yes. Switch on Search titles only to leave the ad texts out of the match.

#### Which place number do I use?

Run Find a place with a town name, then copy the top-level number from the locality list of its row into Place number for Ads in a category.

### More Njuskalo Actors

This is the only Njuskalo Actor in this collection for now.

### Related Actors

- [milanuncios-search-scraper](https://apify.com/happyendpoint/milanuncios-search-scraper)
- [gumtree-uk-listings-scraper](https://apify.com/happyendpoint/gumtree-uk-listings-scraper)
- [haraj-listings-search-scraper](https://apify.com/happyendpoint/haraj-listings-search-scraper)

### Disclaimer

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by Njuskalo. All
trademarks belong to their owners.

### Is it legal to use this data?

This Actor collects data that Njuskalo shows publicly.
Some fields can hold personal data about private people: `ads[] › title`, `description`, `title`, `user`.
Personal data is protected by laws such as the GDPR in the EU. Collect and use it only when you have a lawful
reason, keep only what you need, and do not use it for unsolicited messages. If you are unsure, ask a lawyer.

# Changelog

This Actor's version history is a separate document: https://apify.com/happyendpoint/njuskalo-classifieds-search-scraper/changelog.md

# Actor input Schema

## `operation` (type: `string`):

Which data to fetch. Each option is one kind of request.

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

The most results to return. The run stops once it has this many.

## `query` (type: `string`):

Words to look for in the ads. For Search suggestions they are the start of a term. Search ads and Count matching ads cannot run without them. Used by: Search suggestions, Search ads, Count matching ads.

## `mainCategory` (type: `integer`):

The number of a top-level category, the ID of a Trending categories or Recommended categories row. Ads in a category, Category navigation and Filter options cannot run without it. Latest ads can use it to narrow the list. Used by: Ads in a category, Latest ads, Category navigation, Filter options.

## `category` (type: `integer`):

Narrows Ads in a category to one subcategory of the main category. It must be a category with no further subcategories, marked as a leaf in Category navigation. Used by: Ads in a category.

## `categoryIds` (type: `string`):

Category numbers to describe, separated by commas. Used by: Category details.

## `location` (type: `string`):

The start of a town, district or address, for Find a place. Used by: Find a place.

## `locationId` (type: `integer`):

Only ads from this county. Use a top-level number from the locality list of a Find a place row. Used by: Ads in a category.

## `latitude` (type: `number`):

Latitude of a map point in decimal degrees. Place at coordinates cannot run without it. Used by: Place at coordinates.

## `longitude` (type: `number`):

Longitude of a map point in decimal degrees. Pair it with Latitude. Used by: Place at coordinates.

## `minPrice` (type: `number`):

Only ads priced at or above this amount. Used by: Search ads, Count matching ads, Ads in a category.

## `maxPrice` (type: `number`):

Only ads priced at or below this amount. Used by: Search ads, Count matching ads, Ads in a category.

## `hasPhotos` (type: `boolean`):

Skip ads that have no photo. Used by: Search ads, Count matching ads, Ads in a category.

## `titleOnly` (type: `boolean`):

Look for the search words in ad titles alone; ad texts are skipped. Used by: Search ads, Count matching ads.

## `payProtect` (type: `boolean`):

Only ads marked with the site's payment protection option. Used by: Search ads, Count matching ads, Ads in a category.

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

How to order the ads. Leave it empty for the site default. Used by: Search ads, Ads in a category.

## Actor input object example

```json
{
  "operation": "search",
  "maxItems": 10,
  "query": "iphone"
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `searchSuggestions` (type: `string`):

No description

## `search` (type: `string`):

No description

## `searchCount` (type: `string`):

No description

## `searchByCategory` (type: `string`):

No description

## `latest` (type: `string`):

No description

## `geocode` (type: `string`):

No description

## `reverseGeocode` (type: `string`):

No description

## `categoryNavigation` (type: `string`):

No description

## `categoryDetail` (type: `string`):

No description

## `filterOptions` (type: `string`):

No description

## `recommendedCategories` (type: `string`):

No description

## `trendingCategories` (type: `string`):

No description

## `popularBrands` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "operation": "search",
    "maxItems": 10,
    "query": "iphone"
};

// Run the Actor and wait for it to finish
const run = await client.actor("happyendpoint/njuskalo-classifieds-search-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 = {
    "operation": "search",
    "maxItems": 10,
    "query": "iphone",
}

# Run the Actor and wait for it to finish
run = client.actor("happyendpoint/njuskalo-classifieds-search-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 '{
  "operation": "search",
  "maxItems": 10,
  "query": "iphone"
}' |
apify call happyendpoint/njuskalo-classifieds-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,happyendpoint/njuskalo-classifieds-search-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/2l5zx9zN6AWkKjW7x/builds/f4siiG9g86ooBTHUm/openapi.json
