Telecontact Morocco Scraper avatar

Telecontact Morocco Scraper

Pricing

from $5.00 / 1,000 business listings

Go to Apify Store
Telecontact Morocco Scraper

Telecontact Morocco Scraper

Scrape telecontact.ma into one row per Moroccan business: name, phone, website, address, hours. Category plus optional city, or a search or profile URL. JSON or CSV out. $5 per 1,000 listings plus phone and email events.

Pricing

from $5.00 / 1,000 business listings

Rating

0.0

(0)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Share

Scrape telecontact.ma into one row per business: name, phone, website, address, coordinates, hours.

Works from a category plus optional city, or a pasted search or profile URL. Direct requests return the HTML. No proxy by default.

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?

  • Search cards carry the name, street, city, and profile link. The profile adds the phone, website, coordinates, and hours.
  • A city is the ou slug: restaurant in casablanca. Nationwide leaves the city empty.
  • Page 2 is the same search with &page=2 (20 cards). It does not repeat page 1.
  • The directory inbox (@telecontact.ma, @edicom.ma) is dropped. Email comes from the business website when harvest is on.

Overview

Built for lead lists on Moroccan companies. The phone sits in the profile HTML (tel:), including the numbers behind “Afficher le téléphone”.

Supported inputs

InputWhat it does
startUrlsSearch URL or /annonceur/{slug}/{id}/{city}.php
searchTermsCategory, e.g. restaurant
locationsCity slug, e.g. casablanca. Empty = nationwide
maxItemsStop after N unique listings (free plan cap 50)
maxPages20 cards per page
harvestWebsiteEmailFetch the business site when the directory has no inbox
proxyOff by default

Use cases

WhoWhy
Sales / agenciesMoroccan phones from a category
ResearchersCity, street, and hours
SEOWebsite and coordinates per listing

How it works

  1. Open https://www.telecontact.ma/trouver/index.php?nxo=moteur&nxs=process&string={category}&ou={city}.
  2. Parse [data-code-firme] cards and their /annonceur/ profile links.
  3. Follow &page= for the next 20 cards.
  4. Open each profile for phone, website, coordinates, and hours.
  5. Charge contact-phone / contact-email after pushData.

Input configuration

FieldTypeRequiredNotes
startUrlsurl[]one of terms/URLssearch or profile
searchTermsstring[]one of terms/URLse.g. restaurant
locationsstring[]noe.g. casablanca
maxItemsintegernodefault 50
maxPagesintegernodefault 20
scrapeDetailsbooleannodefault true
harvestWebsiteEmailbooleannodefault true
maxConcurrencyintegernodefault 5
proxyproxynodefault off

Example input

{
"searchTerms": ["restaurant"],
"locations": ["casablanca"],
"maxItems": 10,
"harvestWebsiteEmail": false,
"proxy": { "useApifyProxy": false }
}

Output overview

One JSON object per business. The phone, website, coordinates, and hours come from the profile.

Output samples

{
"listingId": "2161629",
"name": "CASAPACKING",
"phone": "0522444423",
"phones": ["0522444423", "0660610944"],
"website": "https://casapacking.com/LeM/",
"street": "100 bd Abdellah Ben Yacine Belvedere",
"city": "Casablanca",
"country": "MA",
"latitude": 33.590204,
"longitude": -7.600874,
"hours": ["Mon 08:00-12:00, 14:00-18:00"],
"profileUrl": "https://www.telecontact.ma/annonceur/casapacking/2161629/casablanca.php",
"source": "telecontact"
}

FAQ

Does a city filter work? Yes. ou=casablanca is a different set from a nationwide search. Some Casablanca firms still appear in the nationwide page.

Is there a page 2? Yes. &page=2 is 20 new cards. The pager is 1-based.

Where is the email? Not on the card or the profile. Turn on website harvest if you want an inbox from the business site.

Do I need a proxy? No. Leave it off unless a run starts getting blocked.

Support

Questions or a broken selector: open an issue on the actor page.

Disclaimer

Use this actor in line with telecontact.ma terms and applicable law. You are responsible for how you use the data.