# Bizi.si Slovenia Leads Scraper (`memo23/bizi-scraper`) Actor

Scrape bizi.si (Slovenian business directory) into structured business rows: name, phone, email when listed, website, address, tax ID. Keyword plus city, nationwide SI, or a search/profile URL. JSON or CSV out. $5 per 1,000 listings.

- **URL**: https://apify.com/memo23/bizi-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Lead generation
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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

## Bizi.si Slovenia Scraper

Scrape [bizi.si](https://www.bizi.si/) (TSmedia business directory) into one row per **business**: name, phone, email when listed, website, address, tax ID, registration number.

Works from a keyword plus optional city, a nationwide term, or a pasted `/iskanje?q=` or `/{SLUG}/` URL. Cards and profiles answer without Apify Proxy.

**Pricing:** $0.005 per listing (`pushData`). Extra `contact-phone` $0.002 and `contact-email` $0.05 when those fields are present.

### Why use this scraper?

- Public profiles list phone, email, and website when the company published them.
- City is `q={term}+{city}` — that query actually changes the first-page set. `?mesto=` / `?where=` / `?page=` do nothing.
- Later pages are the site ASP.NET pager (cookie + postback). The actor walks that sequence.
- Optional harvest of the business site when the directory has no inbox.

### Overview

Built for lead lists and local research on Slovenian companies. Each dataset item is one listing from bizi.si.

### Supported inputs

| Input | What it does |
|---|---|
| `startUrls` | `https://www.bizi.si/iskanje?q=restavracija` or a `/{SLUG}/` profile |
| `searchTerms` | What you type in Bizi, e.g. `restavracija`, `vodovodar` |
| `locations` | City name, appended as `q={term}+{city}`. Empty = nationwide |
| `maxItems` | Stop after N unique listings (free plan cap 50) |
| `harvestWebsiteEmail` | Fetch the business site if the profile has no inbox |
| `proxy` | Leave off |

The Play listing `com.bizi.bizi` exists. This actor reads the public HTML directory, not an app API. Hours are not on the public profile.

### Use cases

| Who | Why |
|---|---|
| Sales / agencies | Slovenian phones and emails from a category |
| Researchers | Tax ID, city, and postcode coverage |
| SEO / maps | Website + coordinates per listing |

### How it works

1. Build `/iskanje?q=` from terms × cities, or classify pasted URLs.
2. Parse `.b-link-company` cards (`rn` = matična).
3. Open each `/{SLUG}/` profile for contacts.
4. Optionally fetch the company website when Bizi has no inbox.

### Input configuration

Paste a URL, or a term plus optional city. Clear the other field.

### Output overview

One row per company. Search cards already have name, address, city, tax/reg IDs. Profile adds phone, email, website, coordinates.

### FAQ

**Does `?page=2` work?** No. Page 2 is a postback. The actor does that for you.

**Hours?** Not on the public HTML profile.

**najdi.si?** Dead portal stub. This actor is bizi.si only.

### Support

Open an issue on the Actor page.

### Additional services

Custom scrapers and data work on request.

### Explore more scrapers

[1188.lv](https://apify.com/memo23/1188-lv-scraper) · [Zlaté stránky SK](https://apify.com/memo23/zlatestranky-sk-scraper) · [Pagini Aurii](https://apify.com/memo23/paginiaurii-scraper)

### Disclaimer

Public directory data. Check local law before outreach.

### SEO Keywords

bizi.si scraper, Slovenia business directory, Slovenian yellow pages, TSmedia, AJPES leads, Ljubljana companies

# Actor input Schema

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

Paste bizi.si search or profile links. Examples: <code>https://www.bizi.si/iskanje?q=restavracija</code>, <code>https://www.bizi.si/iskanje?q=restavracija+ljubljana</code>, or <code>https://www.bizi.si/RESTAVRACIJA-JB-TOMAZ-BRATOVZ-S-P/</code>.

## `searchTerms` (type: `array`):

What you would type into Bizi, e.g. <b>restavracija</b>, <b>vodovodar</b>, <b>odvetnik</b>, <b>hotel</b>. Leave cities empty for a nationwide SI query. A bizi.si /iskanje or profile URL also works here.

## `locations` (type: `array`):

Slovenian city, e.g. <b>Ljubljana</b>, <b>Maribor</b>, <b>Celje</b>, <b>Koper</b>. Empty = nationwide. City is appended as <code>/iskanje?q={term}+{city}</code>.

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

Stop after this many unique businesses across the whole run. Free plan is capped at 50.

## `scrapeDetails` (type: `boolean`):

Loads the /{SLUG}/ page for phone, email, website, tax ID, and coordinates. Turn off to keep search-card fields only.

## `harvestWebsiteEmail` (type: `boolean`):

If the Bizi profile has no inbox, fetch the business website homepage/contact page.

## `maxPages` (type: `integer`):

Page 1 is GET <code>/iskanje?q=</code>. Later pages are the site ASP.NET pager (about 25 cards each).

## `maxConcurrency` (type: `integer`):

How many profiles to load at the same time. Search pages stay sequential (postback).

## `proxy` (type: `object`):

Leave off. Search and profile pages currently answer without Apify Proxy.

## Actor input object example

```json
{
  "searchTerms": [
    "restavracija"
  ],
  "locations": [
    "Ljubljana"
  ],
  "maxItems": 50,
  "scrapeDetails": true,
  "harvestWebsiteEmail": true,
  "maxPages": 20,
  "maxConcurrency": 5,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "searchTerms": [
        "restavracija"
    ],
    "locations": [
        "Ljubljana"
    ],
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/bizi-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 = {
    "searchTerms": ["restavracija"],
    "locations": ["Ljubljana"],
    "proxy": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/bizi-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 '{
  "searchTerms": [
    "restavracija"
  ],
  "locations": [
    "Ljubljana"
  ],
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call memo23/bizi-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/bizi-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/Zjplqzp4AuAg89gkY/builds/iLeg6XoFD1pjRH8QJ/openapi.json
