# Eniro.se Scraper (`memo23/eniro-scraper`) Actor

Scrape eniro.se (Sweden Yellow Pages) into structured business rows: name, phone, email when listed, website, address, hours, rating, org number. Keyword plus city, nationwide Sweden, or an Eniro search or /firma profile URL. HTTP only, no Unblocker. JSON or CSV out. $5 per 1,000 listings.

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

## Pricing

from $5.00 / 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.

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

## Eniro.se Scraper

Turn an Eniro search into structured Swedish business rows: name, phone, email when listed, website, address, hours, rating, org number, and profile link.

Keyword + city, nationwide Sweden, or an eniro.se URL. JSON or CSV out.

This is **eniro.se** (Sweden). It is not [Hitta.se](https://www.hitta.se), [Gule Sider](https://www.gulesider.no), or [Krak](https://www.krak.dk).

### Why Use This Scraper?

- Phone and address on the search card
- Profile pass for email, hours, coordinates, rating, and org number
- `{what}+{where}/företag` searches and `/firma` profiles
- HTTP via Apify Unblocker. Cloudflare on www.eniro.se blocks bare residential

### Overview

Built for sales teams, agencies, and researchers who need Swedish **business** leads from Eniro.

Every start type becomes **one dataset row per listing**. A keyword search and a `/{slug}/{id}/firma` profile emit the same flat shape. Rows are de-duplicated by listing id.

### Supported Inputs

#### Search terms and locations

| Field | Example |
| --- | --- |
| `searchTerms` | `["restaurang"]`, `["elektriker", "frisör"]` |
| `locations` | `["Stockholm"]`, `["Göteborg"]`, `["Malmö"]` |

Every term is searched in every location. Leave `locations` empty for a nationwide category search. Use Swedish spelling (å/ä/ö) when Eniro expects it.

#### URL types

| URL type | Pattern | Example |
| --- | --- | --- |
| Search | `/{what}+{where}/företag` | `https://www.eniro.se/restaurant+stockholm/företag` |
| Search page | `/{what}+{where}/företag/N` | `https://www.eniro.se/restaurant+stockholm/företag/2` |
| Nationwide | `/{what}/företag` | `https://www.eniro.se/restaurang/företag` |
| Profile | `/{slug}/{id}/firma` | `https://www.eniro.se/ballbreaker+kungsholmen+ab+stockholm/49704257/firma` |

Search URLs paginate automatically.

**Unsupported:** Hitta.se, Gule Sider, Krak, Eniro person search, account pages.

### Use Cases

| Audience | What they take from a run |
| --- | --- |
| Sales and outreach | Phone + email (when listed) + website by trade and city |
| Agencies | Cross-joined term × city lists in one dataset |
| Local SEO | Category, rating, and the Eniro profile URL |
| Researchers | Hours, org number, and coordinates for a trade in a city |

### How It Works

1. Cross-join `searchTerms` × `locations` (or nationwide Sweden if no city), plus any eniro.se URLs.
2. Fetch the public search HTML (JSON-LD ItemList) with got-scraping over Apify Unblocker.
3. Page in ~25-row chunks, stopping at `maxItems` or `maxPages`.
4. Read name, phone, address, and website from each card.
5. Optionally open `/firma` for email, hours, geo, rating, and org number.
6. De-duplicate by listing id and push one row per business.

### Input Configuration

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `searchTerms` | array | one of the start types | What you would type into Eniro |
| `locations` | array | no | Swedish city. Empty = nationwide |
| `startUrls` | array | one of the start types | Search or `/firma` URL |
| `maxItems` | integer | no | Default 50. Free users capped at 50. |
| `scrapeDetails` | boolean | no | Default true. Email, hours, geo, org number. |
| `maxPages` | integer | no | Default 20. |
| `maxConcurrency` | integer | no | Default 3. Keep modest; Cloudflare sits on www. |
| `proxy` | object | no | Default is Apify Unblocker. Residential alone still 403s on cloud. |

#### Example input

```json
{
  "searchTerms": ["restaurang"],
  "locations": ["Stockholm"],
  "maxItems": 50
}
```

### Output Overview

One flat row per business. Contact and address fields sit at the top level. `searchTerm` tells you which input produced the row. Email is present when Eniro publishes one on the profile.

### Output Samples

Search: restaurang in Stockholm, with profile enrich.

```json
{
  "listingId": "49704257",
  "name": "Ballbreaker Kungsholmen AB",
  "phone": "086170000",
  "email": "info@ballbreaker.se",
  "website": "https://www.ballbreaker.se/",
  "orgNumber": "556728-5902",
  "street": "Lindhagensgatan 114",
  "postalCode": "11251",
  "city": "STOCKHOLM",
  "country": "SE",
  "eniroUrl": "https://www.eniro.se/ballbreaker+kungsholmen+ab+stockholm/49704257/firma"
}
```

### Key Output Fields

**Identity:** `listingId`, `slug`, `name`, `eniroUrl`, `orgNumber`

**Contact:** `phone`, `phones`, `email`, `website`, `social`

**Place:** `address`, `street`, `postalCode`, `city`, `country`, `latitude`, `longitude`

**Directory:** `category`, `categories`, `rating`, `reviewCount`, `hours`, `description`, `images`, `logo`

**Provenance:** `searchTerm`, `scrapedAt`

### Pricing

| Event | When | Rate |
| --- | --- | --- |
| Actor start | Once per run, per GB of memory | $0.005 |
| Listing | Each unique business in the dataset | $0.005 ($5 / 1k) |
| Contact phone | Row has a phone | $0.002 |
| Contact email | Row has an email | $0.05 |

Phone and email are billed only when Eniro publishes that field. A miss is free. Phone is common on search cards. Inbox is on the profile.

### FAQ

**Will every row have an email?** No. Phone is on the search card. Inbox is on a smaller share of `/firma` pages. Phone and email are billed as extra events only when the field is present.

**What does scrapeDetails add?** The `/firma` page: email, hours, coordinates, rating, org number, extra website.

**Do I need a proxy?** Yes — Apify Unblocker. Datacenter and bare residential both get a Cloudflare challenge.

**Is there an official Android app?** Yes — Eniro (`com.eniro`) is live on Play. The current app is a WebView of eniro.se, so this actor reads the same public HTML the site serves.

### Support

- Issues: [Actor Issues](https://console.apify.com/actors/KpqSpEU8nQ5lhOpl0/issues)
- Author site: <https://muhamed-didovic.github.io/>
- Email: <muhamed.didovic@gmail.com>

### Additional Services

Bulk city sweeps, scheduled refreshes, or a private API wrapper: <muhamed.didovic@gmail.com>

### Explore More Scrapers

Directory cousins: [Yell.com](https://apify.com/memo23/yell-scraper), [PanoramaFirm.pl](https://apify.com/memo23/panoramafirm-scraper), [PaginasAmarillas.es](https://apify.com/memo23/paginasamarillas-es-scraper), [Herold.at](https://apify.com/memo23/herold-at-scraper), [PagineGialle](https://apify.com/memo23/paginegialle-scraper), [local.ch](https://apify.com/memo23/local-ch-scraper), [Gelbe Seiten](https://apify.com/memo23/gelbeseiten-scraper), [Yellow Pages US](https://apify.com/memo23/yellow-pages-us-scraper), [Yellow Pages Canada](https://apify.com/memo23/yellowpages-ca-scraper), [Canada411](https://apify.com/memo23/canada411-scraper), and [PagesJaunes.fr](https://apify.com/memo23/pagesjaunes-scraper-cheerio). More actors on [memo23](https://apify.com/memo23) and [didovic](https://apify.com/didovic).

### 🤖 For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/eniro-scraper`).

**Purpose:** Extract Eniro.se Swedish business listings (name, phone, email when listed, website, org number, split address, hours) by keyword + city or URL.

**Minimal input:**

```json
{
  "searchTerms": ["restaurang"],
  "locations": ["Stockholm"],
  "maxItems": 10
}
```

**Output:** one dataset row per business — `listingId`, `slug`, `name`, `phone`, `phones`, `email`, `website`, `orgNumber`, `social`, `address`, `street`, `postalCode`, `city`, `country`, `latitude`, `longitude`, `category`, `categories`, `rating`, `reviewCount`, `hours`, `description`, `images`, `logo`, `eniroUrl`, `searchTerm`, `scrapedAt`.

**Behaviors an agent should know:**

- Always set `maxItems`. Free users are capped at 50.
- `searchTerms` without `locations` runs a nationwide Sweden category search.
- `startUrls` work on their own (eniro.se only).
- Phone is often already on the search card. Keep `scrapeDetails` true for email and hours.
- Each listing is $0.005. A phone on the row is $0.002. An email is $0.05. Start is $0.005 per GB.
- Sweden directory only. Not Hitta, Gule Sider, or Krak.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Eniro AB or eniro.se. All trademarks mentioned are the property of their respective owners.

The scraper reads publicly listed Swedish business data from eniro.se. Users are responsible for ensuring their use complies with Eniro Terms of Service, applicable data-protection law (GDPR), and any contractual obligations of their own organization.

### SEO Keywords

eniro scraper, eniro.se scraper, scrape eniro.se, Swedish business directory scraper, Swedish yellow pages scraper, gulasidorna scraper, Stockholm leads scraper, Apify eniro, Swedish restaurant leads, Göteborg business scraper, elektriker leads Sweden, Eniro directory scraper

# Actor input Schema

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

Paste eniro.se search or profile links. Examples: <code>https://www.eniro.se/restaurant+stockholm/företag</code> or <code>https://www.eniro.se/ballbreaker+kungsholmen+ab+stockholm/49704257/firma</code>.

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

What you would type into Eniro, e.g. <b>restaurang</b>, <b>elektriker</b>, <b>frisör</b>. One row per term. Every term is searched in every city below. Leave cities empty for a nationwide category. Use Swedish spelling (å/ä/ö) when the site expects it. An eniro.se search or /firma URL also works here.

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

Swedish city or town, e.g. <b>Stockholm</b>, <b>Göteborg</b>, <b>Malmö</b>. Empty = nationwide.

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

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

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

Opens the /firma page for email, hours, coordinates, rating, org number, and extra website. Phone and address are already on the search card. Turn off to skip the extra profile requests.

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

Each search page is one /företag/N. Page 2 is /företag/2. About 25 businesses per page.

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

How many pages and profiles to load at the same time. Keep this modest; Eniro sits behind Cloudflare.

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

Unblocker is the default. eniro.se is behind Cloudflare; residential alone still 403s on cloud runs.

## Actor input object example

```json
{
  "searchTerms": [
    "restaurang"
  ],
  "locations": [
    "Stockholm"
  ],
  "maxItems": 50,
  "scrapeDetails": true,
  "maxPages": 20,
  "maxConcurrency": 3,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

# 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": [
        "restaurang"
    ],
    "locations": [
        "Stockholm"
    ],
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "UNBLOCKER"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/eniro-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": ["restaurang"],
    "locations": ["Stockholm"],
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["UNBLOCKER"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/eniro-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": [
    "restaurang"
  ],
  "locations": [
    "Stockholm"
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}' |
apify call memo23/eniro-scraper --silent --output-dataset

```

## MCP server setup

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