# Eniro.se Company Directory & Contact Finder (`nimbryxo-studio/eniro-se-company-directory-and-contact-finder`) Actor

Search Sweden's Eniro.se business directory by category and city, or nationwide, and optionally pull each company's rating, hours, website, organization number, and social links.

- **URL**: https://apify.com/nimbryxo-studio/eniro-se-company-directory-and-contact-finder.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Lead generation, Automation, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Eniro.se Company Directory & Contact Finder

Eniro.se is Sweden's largest public business and phone directory. This actor turns it into a structured lead source: search one or many categories across one or many Swedish cities, scrape Eniro search/profile URLs directly, and optionally open every company's own profile page for the contact and trust details that only live there.

No login, cookie, API key or proxy setup is needed. The actor handles Eniro's bot protection itself.

### What you can do

- **Multi-term, multi-city searches.** Cross every `searchTerms` entry with every `locations` entry in one run (e.g. `rörmokare` + `elektriker` in Stockholm + Göteborg = four searches), or use the single `query` + `city` pair.
- **Nationwide or nearby.** Leave the city list empty for all of Sweden, or pass a `latitude,longitude` point to use Eniro's own nearby filter.
- **Scrape URLs.** Paste Eniro search URLs (`/rörmokare+stockholm/företag`) and/or company profile URLs (`/<name>/<id>/firma`) into `startUrls`.
- **Enrich each hit.** Turn on `fetchDetails` to add multiple phone numbers, email, full rating counts, every opening-hours group, category codes, promotional links, cover photo, free text, coordinates, images and organization number.
- **Filter for usable leads.** Keep only companies with a phone, an email, a website, a rating, a minimum rating, or exclude one-person sole traders.
- **Sort and cap.** Order by Eniro relevance, rating or name, and stop each search after a configurable number of pages.

Every output field is omitted when Eniro does not publish it. Nothing is emitted as `null`, `""` or an empty list.

### Output per company

| Field | Description |
|---|---|
| `businessId` | Eniro's internal company ID |
| `slug` | Human-readable Eniro URL slug |
| `name` | Company name |
| `businessType` | schema.org type, e.g. `Restaurant`, `HairSalon`, `Dentist` |
| `category` / `categories` | Primary category and the full category chain |
| `categoryCodes` | Eniro category codes matching `categories` |
| `street`, `postalCode`, `city` | Postal address |
| `municipality`, `province`, `region`, `urbanArea`, `district`, `country` | Administrative area fields, when Eniro publishes them |
| `phone` | Primary phone number |
| `phones` | Every published number as `{number, label?}` |
| `email` | Published company email |
| `website` | Company website |
| `organizationNumber` | Swedish organization number, `NNNNNN-NNNN` |
| `facebookUrl`, `instagramUrl`, `linkedinUrl`, `twitterUrl`, `youtubeUrl`, `tiktokUrl`, `snapchatUrl`, `whatsappUrl` | Social profiles Eniro has on file |
| `description` | Short company description |
| `freeText` | Longer promotional text, when different from `description` |
| `keywords` | Services, brands or tags attached to the listing |
| `rating` | Average rating (1-5) |
| `ratingCount` | Number of ratings behind `rating` |
| `reviewCount` | Eniro's rating count, kept for existing integrations (same value as `ratingCount`) |
| `openingHours` | Main weekly schedule as `{day, opens, closes}` entries with Swedish day names |
| `openingHoursText` | One-line summary of the main schedule |
| `openingHoursGroups` | All schedule groups (e.g. main + seasonal), each `{title, hours}` |
| `latitude`, `longitude` | Coordinates |
| `mapUrl` | Eniro map/directions link |
| `logoUrl` / `logoUrlOriginal` | Logo re-hosted for a stable public link, plus the original Eniro URL |
| `images` / `imagesOriginal` | Photo gallery re-hosted the same way |
| `coverImageUrl` / `coverImageUrlOriginal` | Cover photo, re-hosted the same way |
| `links` | Promotional links from the profile, e.g. `{label: "Meny", url: ...}` |
| `searchQuery`, `searchCity` | The term and city that produced the record |
| `sourceUrl` | Canonical Eniro company page |
| `lastUpdated` | When Eniro last changed the listing |
| `recordType` | Always `"business"` |
| `scrapedAt` | UTC timestamp of the scrape |

Search results without `fetchDetails` contain the fields Eniro puts on the result card (name, address, phone, type, and any rating/description/logo the card carries). Profile-only fields fill in when you enable enrichment or use `mode=detail` / profile URLs.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` (terms + cities), `detail` (profile URLs/IDs), or `urls` (a mixed list of Eniro search and profile URLs). |
| `query` | string | `pizzeria` | Single category/keyword from the curated list, or `custom` to use `customQuery`. |
| `customQuery` | string | – | Free-text category/keyword, overriding `query` when set. Use correct å/ä/ö spelling. |
| `searchTerms` | array | – | One or more categories/keywords; each is combined with every city. Overrides `query`/`customQuery`. |
| `city` | string | `Stockholm` | Single Swedish city; leave empty for nationwide. Overridden by `locations`. |
| `locations` | array | – | One or more Swedish cities; each is combined with every search term. |
| `searchCoordinates` | string | – | Optional `"lat,lon"` point for Eniro's nearby search. |
| `sortBy` | string | `relevance` | Result order: `relevance`, `rating`, or `name`. |
| `ratedOnly` | boolean | `false` | Keep only companies with at least one rating. |
| `minRating` | string | – (no minimum) | Keep only companies rated at least `1`-`5` stars. |
| `hasWebsiteOnly` | boolean | `false` | Keep only companies with a published website (requires `fetchDetails`). |
| `hasPhoneOnly` | boolean | `false` | Keep only companies with a published phone number. |
| `hasEmailOnly` | boolean | `false` | Keep only companies with a published email (requires `fetchDetails`). |
| `includeSoleTraders` | boolean | `true` | Keep person-named one-person firms; turn off for company-only lists. |
| `fetchDetails` | boolean | `false` | Open each search hit's profile page for the full field set. |
| `businessUrls` | array | – | Eniro profile URLs or numeric IDs for `mode=detail`. |
| `startUrls` | array | – | Eniro search and/or profile URLs for `mode=urls`. |
| `maxPagesPerSearch` | integer | `20` | Stop each term/city after this many 25-result pages. |
| `maxItems` | integer | `50` | Hard cap across all searches and URLs. |

#### Example: one trade in one city

```json
{
  "mode": "search",
  "query": "frisör",
  "city": "Göteborg",
  "maxItems": 50
}
```

#### Example: several trades and cities, enriched and filtered

```json
{
  "mode": "search",
  "searchTerms": ["rörmokare", "elektriker"],
  "locations": ["Stockholm", "Göteborg"],
  "fetchDetails": true,
  "hasEmailOnly": true,
  "minRating": "3",
  "includeSoleTraders": false,
  "maxPagesPerSearch": 5,
  "maxItems": 200
}
```

#### Example: nationwide category with full profiles

```json
{
  "mode": "search",
  "customQuery": "veterinär",
  "city": "",
  "fetchDetails": true,
  "maxItems": 100
}
```

#### Example: paste Eniro URLs

```json
{
  "mode": "urls",
  "startUrls": [
    "https://www.eniro.se/rörmokare+i+stockholm/företag",
    "https://www.eniro.se/pizzeria+florida+viskafors/14839034/firma"
  ],
  "maxItems": 100
}
```

#### Example: direct profile lookup

```json
{
  "mode": "detail",
  "businessUrls": [
    "https://www.eniro.se/pizzeria+florida+viskafors/14839034/firma",
    "14839034"
  ]
}
```

### Use cases

- **B2B lead generation** - build contact lists for one or many trades in one or many Swedish cities.
- **Local SEO auditing** - compare a client's or competitor's categories, rating, hours and profile links.
- **Market mapping** - measure how a category is distributed across cities or nationwide.
- **CRM enrichment** - look up phone numbers, addresses, emails and organization numbers for companies you already know.
- **Franchise research** - survey existing competitors in a category before opening a new location.

### FAQ

**Where does the data come from?**
The public Eniro.se business directory.

**Why are some fields missing on search-only runs?**
Eniro puts contact and trust details on each company's profile page, not on the search card. Enable `fetchDetails` (or use profile URLs) to collect them.

**How many results can I get?**
Eniro returns 25 companies per result page. `maxPagesPerSearch` bounds each term/city, and `maxItems` caps the whole run at 1,000 records. Split very broad categories by city or search term to reach deeper than one run's cap.

**Can I search by coordinates?**
Yes. Set `searchCoordinates` to `"latitude,longitude"`; the actor passes it to Eniro's own nearby filter.

**Can I search for private persons or reverse-lookup a phone number?**
No. Eniro's person search and "who called" service are separate products and are not part of this company-directory actor.

**Are written reviews included?**
No. Eniro exposes an aggregate rating and rating count, not review text.

**Why do some companies lack an email, website or social link?**
Those fields exist only when the company published them with Eniro.

**Do I need a proxy or an Eniro API key?**
No. The actor handles Eniro's bot protection and any proxy choice automatically.

### Limitations

- Company data only; no person records and no reverse phone lookup.
- Written review text is not exposed by Eniro; only the aggregate rating and rating count are available.
- `lastUpdated` is emitted when Eniro publishes its `tracestamps.clusterWrite` change stamp. It was present on 35/35 sampled 2024-2025 profile pages and 30/36 sampled 2026 profile pages; some listings publish no stamp, so the field stays omitted for those.
- Search-card fields are limited to what Eniro renders on the card; profile-only fields require `fetchDetails` or profile URLs.
- Eniro fronts the site with a JavaScript challenge. Plain HTTP clients, including current browser TLS fingerprints, are rejected; the actor uses its browser tier automatically, so no proxy or API key is required.
- A run is capped at 1,000 records. Split very broad nationwide categories by city or term to collect more.
- The browser tier runs at 2,048 MB of memory. This is the tested configuration for Chromium under xvfb; it is not a user input.
- Eniro's directory contents and markup can change; the actor falls back from enriched server data to the page's structured data so a partial page still yields a record.
- Logos, gallery images and cover photos are re-hosted for stable public links. If a re-host fetch fails, the original URL is kept as the fallback.

### Data source

Eniro.se, Sweden's public business directory. This actor is independent and is not affiliated with, endorsed by, or sponsored by Eniro AB. Users are responsible for ensuring their use complies with Eniro's terms and applicable data-protection law.

# Actor input Schema

## `mode` (type: `string`):

What to scrape: keyword/category searches, direct company profiles, or a list of Eniro search/profile URLs.

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

Business category or keyword to search for (mode=search). Pick a common category from the list, or choose 'Custom' and type your own in the field below. Ignored when 'Search terms' is filled.

## `customQuery` (type: `string`):

Free-text category or keyword not in the curated list above, e.g. 'skorstensfejare' or 'IT-konsult' (mode=search). Takes priority over 'Category / keyword' when set. Use correct Swedish spelling with å/ä/ö -- Eniro's search does not fuzzy-match ASCII-folded keywords.

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

One or more categories/keywords (mode=search). Every term is combined with every city below, so \['rörmokare', 'elektriker'] x \['Stockholm', 'Göteborg'] covers four searches. Leave empty to use the single 'Category / keyword' selection above.

## `city` (type: `string`):

Swedish city or town to search in, e.g. 'Stockholm', 'Göteborg', 'Malmö' (mode=search). Leave empty to search all of Sweden. Ignored when 'Cities' is filled.

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

One or more Swedish cities/towns (mode=search), used with every search term. Leave empty to use the single 'City' field above, or to search nationwide when both are empty.

## `searchCoordinates` (type: `string`):

Optional 'latitude,longitude' point for a nearby search, e.g. '57.6346,12.8574' (mode=search). Uses Eniro's own coordinates filter; leave empty for a normal city/nationwide search.

## `sortBy` (type: `string`):

How to order the returned results (search modes). Applied after fetching, since Eniro's own listing order is relevance-based.

## `ratedOnly` (type: `boolean`):

Only return companies that have at least one customer rating. Ratings are read from Eniro search cards when present and from the profile page when 'Fetch full company profiles' is enabled.

## `minRating` (type: `string`):

Only return companies rated at least this many stars, e.g. '4' for 4.0+ (search modes). Unrated companies are excluded when a minimum is set.

## `hasWebsiteOnly` (type: `boolean`):

Only return companies that list a website (search modes). Websites appear on profile pages, so enable 'Fetch full company profiles' for this filter to find any matches.

## `hasPhoneOnly` (type: `boolean`):

Only return companies that publish at least one phone number (search modes).

## `hasEmailOnly` (type: `boolean`):

Only return companies that publish an email address (search modes). Emails appear on profile pages, so enable 'Fetch full company profiles' for this filter to find any matches.

## `includeSoleTraders` (type: `boolean`):

Keep one-person firms that Eniro lists under the owner's personal name (e.g. 'Anders Svensson'). Turn this off for company-only lead lists; names carrying a company suffix (AB, HB, KB, förening) are always kept.

## `fetchDetails` (type: `boolean`):

For each search result, also visit its company profile page to collect multiple phone numbers, email, rating counts, all opening-hours groups, category codes, promotional links, cover photo, coordinates, description, images and organization number. Slower, but far richer output (search modes).

## `businessUrls` (type: `array`):

Direct Eniro company URLs (e.g. https://www.eniro.se/<name>/<id>/firma) or bare numeric company IDs to fetch, one per line. Use the 'sourceUrl' or 'businessId' field from search results.

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

Eniro search URLs (e.g. https://www.eniro.se/rörmokare+stockholm/företag) and/or company profile URLs (e.g. https://www.eniro.se/<name>/<id>/firma). Search URLs paginate automatically; profile URLs are fetched directly.

## `maxPagesPerSearch` (type: `integer`):

Stop each search term/city after this many result pages (25 companies per page). Keeps large categories bounded.

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

Hard cap on the number of company records to return across all terms, cities and URLs.

## Actor input object example

```json
{
  "mode": "search",
  "query": "pizzeria",
  "searchTerms": [],
  "city": "Stockholm",
  "locations": [],
  "sortBy": "relevance",
  "ratedOnly": false,
  "minRating": "",
  "hasWebsiteOnly": false,
  "hasPhoneOnly": false,
  "hasEmailOnly": false,
  "includeSoleTraders": true,
  "fetchDetails": false,
  "businessUrls": [
    "14839034"
  ],
  "startUrls": [],
  "maxPagesPerSearch": 1,
  "maxItems": 50
}
```

# Actor output Schema

## `businesses` (type: `string`):

Dataset containing all scraped Eniro business listings.

# 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 = {
    "mode": "search",
    "query": "pizzeria",
    "city": "Stockholm",
    "sortBy": "relevance",
    "ratedOnly": false,
    "minRating": "",
    "hasWebsiteOnly": false,
    "hasPhoneOnly": false,
    "hasEmailOnly": false,
    "includeSoleTraders": true,
    "fetchDetails": false,
    "businessUrls": [
        "14839034"
    ],
    "maxPagesPerSearch": 1,
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/eniro-se-company-directory-and-contact-finder").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 = {
    "mode": "search",
    "query": "pizzeria",
    "city": "Stockholm",
    "sortBy": "relevance",
    "ratedOnly": False,
    "minRating": "",
    "hasWebsiteOnly": False,
    "hasPhoneOnly": False,
    "hasEmailOnly": False,
    "includeSoleTraders": True,
    "fetchDetails": False,
    "businessUrls": ["14839034"],
    "maxPagesPerSearch": 1,
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/eniro-se-company-directory-and-contact-finder").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 '{
  "mode": "search",
  "query": "pizzeria",
  "city": "Stockholm",
  "sortBy": "relevance",
  "ratedOnly": false,
  "minRating": "",
  "hasWebsiteOnly": false,
  "hasPhoneOnly": false,
  "hasEmailOnly": false,
  "includeSoleTraders": true,
  "fetchDetails": false,
  "businessUrls": [
    "14839034"
  ],
  "maxPagesPerSearch": 1,
  "maxItems": 50
}' |
apify call nimbryxo-studio/eniro-se-company-directory-and-contact-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/eniro-se-company-directory-and-contact-finder"
        }
    }
}
```

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/69XojcyFd1KyjmKNq/builds/FhQ1acdEgUfCDnzDl/openapi.json
