# Telecontact Scraper (`normdata/telecontact-scraper`) Actor

Scrape Moroccan businesses from Telecontact.ma (Pages Jaunes Maroc) by category and city. Get phones, fax, WhatsApp, website, address, map position, ICE, trade register, legal form, capital, size, founding year, managers, hours and social links. Optional emails. Filters, monitoring.

- **URL**: https://apify.com/normdata/telecontact-scraper.md
- **Developed by:** [Norm Data](https://apify.com/normdata) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 businesses

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

![Norm Data](https://raw.githubusercontent.com/FabriAV/normdata/refs/heads/main/assets/banner_norm2.png)

## 📞 Telecontact Scraper - Morocco Business Leads (Pages Jaunes Maroc)

Extract business leads from **Telecontact.ma**, the Moroccan yellow pages (Pages Jaunes Maroc). Search any trade or category in any **city**, or all of Morocco. For each business you get its phones in international format, fax, WhatsApp, website, street address, city, map position, and the company data Telecontact publishes: **ICE number, trade register (RC), legal form, share capital, staff range, founding year and managers**. You also get categories, products and services, opening hours, other branches, photos, reviews and social media links. Turn on the **email add-on** to collect emails from each business's own website. It collects **1,000 businesses in under a minute**, gets past the site's 100-results-per-list limit, and can run on a schedule to send you **only new businesses**.

> 👉 **Try it now:** press **Start**. The ready-made input gives you 10 businesses in a few seconds.<br>
> 💰 **$0.013 per business** on the Free plan (10 businesses per run), from $0.012 on paid plans. [See pricing](#-pricing)

### ✨ Why this scraper?

> - **Fast**<br>
>   1,000 businesses with full business pages in under a minute.
>
> - **Company data, not only contacts**<br>
>   ICE, RC number and city, legal form, capital in MAD, staff range, founding year and managers, each in its own field.
>
> - **Phones ready to dial**<br>
>   Every phone, fax and WhatsApp number is in international format (+212...), and the fake "00 00 00 00 00" numbers are removed.
>
> - **On-topic results**<br>
>   Paid listings that the site shows above unrelated searches are left out.
>
> - **Clean, typed data**<br>
>   Map positions, capital and years are numbers, days are in English, hours are in 24h format, and there are no HTML leftovers.
>
> - **Nothing to set up**<br>
>   A proxy is used automatically, with no extra cost to you.
>
> - **Apify platform**<br>
>   Schedule runs, get only new businesses, export to Excel or CSV, use the API, or connect Google Sheets, Zapier and Make.

### ⚖️ How it compares

Based on each Actor's public input options, README and output fields (October 2026).

| Capability | This actor | memo23 |
|---|:--:|:--:|
| Businesses per search | **every sub-category and city (thousands)** | up to 100 (site limit) |
| Search term finds every matching category | **yes** | no (one search) |
| Category pages and business page links | **yes** | yes |
| ICE, RC number, legal form, capital, staff range, founding year | **yes** | no |
| Managers, categories, products and services | **yes** | no |
| Fax, WhatsApp and social media links | **yes** | no |
| Other branches, photos, reviews and rating | **yes** | no |
| Off-topic paid listings left out | **yes** | no |
| Phone, mobile, WhatsApp, website, email, social, ICE and map filters | **yes** | no |
| Legal form, company size, founding year and opening day filters | **yes** | no |
| Only new businesses (monitoring) | **yes** | no |
| Emails taken from the business's own website | **yes** | yes |
| Fields per business | **45** | about 14 |
| Extra charge per phone or email found | **no** (emails only with the add-on) | yes |

### 🚀 How to scrape Telecontact

1. Create a free Apify account.
2. Pick the filters you need, or keep the ready-made input.
3. Click **Start**.
4. Download the businesses as Excel, CSV or JSON from the **Output** tab.

### 💰 Pricing

#### How much does it cost to scrape Telecontact?

You pay a one-time **$0.003** per run, plus a price for each business saved (and for each add-on you turn on):

| Charged for | Free | Bronze | Silver | Gold+ |
| --- | --- | --- | --- | --- |
| **Business**: One Moroccan business saved to the dataset, with its business page details. | 0.013 | 0.012 | 0.011 | 0.01 |
| **Business emails**: Charged only for businesses where the email add-on found at least one email on their website. | 0.004 | 0.0035 | 0.003 | 0.0025 |

Example: 1,000 businesses cost about **$12** on Bronze. No proxy or compute costs on top.

### 📦 What data you get

| Field | Description |
| --- | --- |
| `imageUrl` | Business logo (paid listings only). |
| `name` | Business name. |
| `description` | Short description of the business. |
| `searchTerm`, `searchLocation` | The search term and city that found it (empty with links). |
| `phone` | Main phone in international format (+212...). |
| `fax` | Fax number. |
| `whatsapp` | WhatsApp number. |
| `address` | Street address. |
| `postalCode` | Postal code, when shown. |
| `city` | City. |
| `latitude`, `longitude` | Map position. |
| `legalForm` | Legal form (SARL, SARL AU, SA, Entreprise individuelle...). |
| `capitalMad` | Share capital in Moroccan dirhams. |
| `employees` | Staff range, like "10-19". |
| `foundedYear` | Year the business was founded. |
| `ice` | ICE number (Identifiant Commun de l'Entreprise). |
| `tradeRegisterNumber`, `tradeRegisterCity` | Trade register (RC) number and the city where it is registered. |
| `rating`, `reviewCount` | Average review rating and number of reviews. |
| `id` | Telecontact's ID for the business. |
| `isAdvertiser` | True for paid Telecontact listings. |
| `url` | Business page on Telecontact. |
| `website` | Business's own website. |
| `facebook`, `instagram`, `linkedin`, `youtube`, `twitter`, `tiktok` | Social media profiles. |
| `videoUrl` | Presentation video. |
| `phones` | Every phone number on the business page. |
| `emails` | *(Emails)* Email addresses found on the business website. |
| `managers` | Managers and directors named on the page. |
| `categories` | Every category the business is listed under. |
| `services` | Products and services offered. |
| `openingHours` | Opening hours: day (Monday to Sunday), opens and closes (24h). |
| `otherAddresses` | Other branches: name, city, label, address, phone and page link. |
| `photos` | Photo links. |
| `reviews` | Reviews: author, date, rating and text. |
| `updatedAt` | When the business last updated its listing (paid listings). |
| `scrapedAt` | When this row was saved. |
| `error` | Only on rows whose business page could not be read. |
| `error` | Only present when a row failed. The fields that loaded are still there. |

Fields marked *Emails* only appear when that add-on is on.

#### Example row (trimmed)

```json
{
  "name": "Le pavillon",
  "description": "Le pavillon est une SARL créée en 2003, active dans le secteur « Restaurants (cuisine française) » à Marrakech. Elle compte entre 10 et 19 salariés et est dirigée par Mme Debois Froge Catherine.",
  "searchTerm": "restaurant",
  "searchLocation": "Marrakech",
  "phone": "+212524387040",
  "fax": "+212524380928",
  "address": "47 Derb Zaouia, Bab Doukkala",
  "city": "Marrakech",
  "latitude": 31.6257,
  "longitude": -7.994183,
  "legalForm": "SARL",
  "capitalMad": 100000,
  "employees": "10-19",
  "foundedYear": 2003,
  "ice": "000070790000055",
  "tradeRegisterNumber": "16591",
  "tradeRegisterCity": "Marrakech",
  "reviewCount": 0,
  "id": "2139022",
  "isAdvertiser": false,
  "url": "https://www.telecontact.ma/annonceur/le-pavillon/2139022/marrakech.php",
  "phones": ["+212524387040"],
  "managers": ["Mme Debois Froge Catherine"],
  "categories": ["Restaurants (cuisine française)"],
  "scrapedAt": "2026-10-17T20:44:48.723Z"
}
```

### ⚙️ Input

| Section | What it's for |
| --- | --- |
| **Maximum results** | Always first, caps the whole run. Empty means no limit. |
| **What to scrape** | Search terms, cities and emails from the business website. |
| **Filters** | Only with phone, only with mobile phone, only with WhatsApp, only with website, only with email, only with social media, only with ICE number, only with map position, only advertisers, legal forms, company size (employees), founded from (year), founded until (year) and open on these days. |
| **Monitoring** | Only new businesses and monitor name. |
| **Links** | Links instead of the fields above. Filters are ignored with links. |

#### Input examples

**Every restaurant in Casablanca and Rabat with a mobile number:**

```json
{
  "searchTerms": ["restaurant"],
  "locations": ["Casablanca", "Rabat"],
  "onlyWithMobile": true,
  "maxItems": 1000
}
```

**Established companies (SARL, SA) with an ICE number, all of Morocco:**

```json
{
  "searchTerms": ["transport"],
  "onlyWithIce": true,
  "legalForms": ["SARL", "SA"],
  "foundedTo": 2015
}
```

**Every business in a city:**

```json
{
  "locations": ["Ifrane"]
}
```

**Lawyers with emails from their websites:**

```json
{
  "searchTerms": ["avocat"],
  "locations": ["Marrakech"],
  "onlyWithEmail": true
}
```

**New pharmacies every week (schedule this run):**

```json
{
  "searchTerms": ["pharmacie"],
  "onlyNew": true,
  "monitorName": "pharmacies-maroc"
}
```

**Links (filters are ignored):**

```json
{
  "startUrls": [
    { "url": "https://www.telecontact.ma/liens/restaurants/casablanca.php" },
    { "url": "https://www.telecontact.ma/maroc/pharmacies.html" }
  ]
}
```

### 🔗 Related scrapers

> - [AUMA Trade Fairs Scraper](https://apify.com/normdata/auma-trade-fairs-scraper): Trade Shows & Organisers.
> - [8891 Scraper](https://apify.com/normdata/auto8891-scraper): Taiwan Used Cars: Prices, Mileage, Dealers.
> - [Autoline, Machineryline & Agroline Scraper](https://apify.com/normdata/autoline-scraper)
> - [AutoScout24 Scraper](https://apify.com/normdata/autoscout24-scraper)

### ❓ FAQ and troubleshooting

#### Is there a Telecontact API? Do I need an API key?

> Telecontact has no public data API for this. This Actor works as a Telecontact API alternative: it reads the public pages and gives you clean JSON, CSV or Excel, with no API key, no login and no code to maintain. You can also call it from your own code with the Apify API, or from an AI agent through MCP.

#### Why do I get only 10 businesses?

> On the Apify free plan each run saves up to 10 results, so you can try it before paying. Any paid plan removes the limit.

#### Is there a limit per search?

> The site shows at most 100 businesses per category and city. This Actor also reads every matching sub-category, and for nationwide searches every city, so a search returns far more.

#### Can I search all of Morocco?

> Yes. Leave cities empty. The national list is read first, then city by city, biggest cities first, until **Maximum results** is reached.

#### Why are there no emails without the add-on?

> Telecontact doesn't publish business emails, only a contact form. The add-on reads them from each business's own website.

#### Few or no results

> Telecontact searches in French, so try "avocat" instead of "lawyer". The log shows which categories a term matched, and suggests close names when nothing matched.

#### A city was skipped

> The log says when the site doesn't know a city, with close names. Check the spelling ("Fès" or "Fes" both work).

#### Is this an official Telecontact tool?

> No. It is independent and not affiliated with Telecontact. It reads only data Telecontact publishes on its public pages, at a moderate pace. Use the data in line with Telecontact's terms and the laws that apply to you.

### 📧 Contact

Need a scraper for a different site, or found something wrong with this one? norm.data.scrapers@gmail.com

# Actor input Schema

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

Stop after this many businesses in total. Leave empty for no limit. The Apify Free plan is always capped at 10.

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

Trades or categories in French, as on the site, like "restaurant", "plombier", "avocat" or "pharmacie". Each term covers every category with these words, sub-categories included ("restaurant" also finds "Restaurants: cuisine marocaine"). Empty with a city = every business in that city.

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

Optional. Search only in these cities, like "Casablanca", "Rabat", "Fès" or "El Jadida". Empty = all of Morocco, read city by city when a category has more businesses than the site shows at once.

## `includeEmails` (type: `boolean`):

Also open each business website (home page, then its contact page) and collect the email addresses shown there. Telecontact itself shows no emails. Charged as an add-on only for businesses where emails are found.

## `onlyWithPhone` (type: `boolean`):

Keep only businesses that list a phone number.

## `onlyWithMobile` (type: `boolean`):

Keep only businesses with a Moroccan mobile number (06 or 07).

## `onlyWithWhatsapp` (type: `boolean`):

Keep only businesses that list a WhatsApp number.

## `onlyWithWebsite` (type: `boolean`):

Keep only businesses that list a website.

## `onlyWithEmail` (type: `boolean`):

Keep only businesses whose website shows an email address. Turns on the email add-on.

## `onlyWithSocialMedia` (type: `boolean`):

Keep only businesses that link a Facebook, Instagram, LinkedIn, YouTube, X or TikTok profile.

## `onlyWithIce` (type: `boolean`):

Keep only businesses that show their ICE (Identifiant Commun de l'Entreprise).

## `onlyWithLocation` (type: `boolean`):

Keep only businesses that have a map position (latitude and longitude).

## `onlyAdvertisers` (type: `boolean`):

Keep only businesses with a paid Telecontact listing (logo, photos, hours and more details).

## `legalForms` (type: `array`):

Keep only businesses with one of these legal forms.

## `employees` (type: `array`):

Keep only businesses in one of these staff ranges. Most small businesses do not publish it.

## `foundedFrom` (type: `integer`):

Keep only businesses founded in this year or later, like 2020.

## `foundedTo` (type: `integer`):

Keep only businesses founded in this year or earlier.

## `openOn` (type: `array`):

Keep only businesses whose published hours include every chosen day.

## `onlyNew` (type: `boolean`):

Skip businesses saved by earlier runs with the same monitor name.

## `monitorName` (type: `string`):

Runs with the same name share their history. Use a different name for each schedule.

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

Category pages (https://www.telecontact.ma/liens/restaurants/casablanca.php or https://www.telecontact.ma/maroc/restaurants.html) or business pages (https://www.telecontact.ma/annonceur/...).

## Actor input object example

```json
{
  "maxItems": 10,
  "searchTerms": [
    "restaurant"
  ],
  "locations": [
    "Casablanca"
  ]
}
```

# Actor output Schema

## `results` (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 = {
    "maxItems": 10,
    "searchTerms": [
        "restaurant"
    ],
    "locations": [
        "Casablanca"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("normdata/telecontact-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 = {
    "maxItems": 10,
    "searchTerms": ["restaurant"],
    "locations": ["Casablanca"],
}

# Run the Actor and wait for it to finish
run = client.actor("normdata/telecontact-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 '{
  "maxItems": 10,
  "searchTerms": [
    "restaurant"
  ],
  "locations": [
    "Casablanca"
  ]
}' |
apify call normdata/telecontact-scraper --silent --output-dataset

```

## MCP server setup

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