Europe Business Directory Scraper (gelbeseiten.de) avatar

Europe Business Directory Scraper (gelbeseiten.de)

Under maintenance

Pricing

$3.00 / 1,000 business founds

Go to Apify Store
Europe Business Directory Scraper (gelbeseiten.de)

Europe Business Directory Scraper (gelbeseiten.de)

Under maintenance

Pulls publicly listed business profiles from the European (German) B2B directory gelbeseiten.de with company name, country/city, industry, contact details and link. Switched to this open alternative because europages.com is fully closed in robots.txt (see README).

Pricing

$3.00 / 1,000 business founds

Rating

0.0

(0)

Developer

Korhan Coşan Ergün

Korhan Coşan Ergün

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Europe Business Directory Scraper (gelbeseiten.de instead of europages.com)

The task description pointed at europages.com (a European B2B company directory). Verified on 9 November 2026: the robots.txt of europages.co.uk/.com/.es/.de and the sibling brand wlw.de (all part of the Visable group) contains Disallow: / for the generic User-agent: * — meaning all paths are completely closed to generic bots (like ours). Allow: / is granted only to large, named search engine/AI bots (Googlebot, bingbot, YandexBot, ChatGPT-User, PerplexityBot, etc.), and even for those the company profile/search pages are specifically disallowed (Disallow: /*/companies/, Disallow: */cpid-*, Disallow: /*/search/). Per the task's "respect robots.txt" rule, no bypass was attempted.

Other alternatives ruled out (tested 9 November 2026)

SiteResult
kompass.comDataDome bot protection → HTTP 403 on a plain request
b2bhint.comCloudflare "Sorry, you have been blocked"
www.yell.comCloudflare "Attention Required"
cylex-uk.co.ukCloudflare "Attention Required"
opencorporates.comrobots.txt is permissive, but the ToS "Prohibited use" section explicitly forbids scraping

The alternative chosen: gelbeseiten.de

Germany's established business directory ("Gelbe Seiten" = Yellow Pages; Germany is an EU member — so it falls within the scope of a "European company directory").

robots.txt (verified 9 November 2026): for the generic User-agent: *, only /starteintrag/selbstedition/, /subscriberId=, /mobileadserver, /regionaleAnzeigen/, /suche, /Suche and /prg are disallowed. This actor uses NONE of them; it discovers business detail pages (/gsbiz/<uuid>) through the official sitemap announced in robots.txt (sitemap_index_detailseite.xml) — the site itself offers those pages up for discovery.

Data source and method

Every business detail page contains a schema.org/LocalBusiness JSON-LD block (fetched with plain httpx and parsed with json.loads; no JavaScript needed). The sitemap XML files are treated as untrusted external input and parsed with defusedxml.ElementTree (XXE protection).

PII note: the phone number and website are corporate contact details published publicly for commercial purposes by the business ITSELF — not private data about natural persons (this is the B2B/business-directory standard; europages, kompass and others publish the same kind of corporate data). No personal names are collected in the records.

Input

FieldDescription
maxItemsMaximum number of business records
sitemapShardIndexIndex of the sitemap shard to start from (each shard contains only a few businesses, so shards are crawled consecutively)

Output (each record)

{
"id": "4734d032-2758-47c1-83c8-e992ff0428cd",
"title": "Forstbetriebsleitung",
"link": "https://www.gelbeseiten.de/gsbiz/4734d032-2758-47c1-83c8-e992ff0428cd",
"date": null,
"source_url": "https://www.gelbeseiten.de/sitemap_detailseite__alle_8.xml.gz",
"scraped_at": "2026-11-10T00:46:08Z",
"source": "gelbeseiten.de",
"country": "DE",
"city": "Adelsheim",
"category": "Forstwirtschaftsbetrieb",
"products": ["Forstwirtschaftsbetrieb"],
"contact_phone": "06261 84-10 70",
"contact_website": null
}

sample_output.json contains 12 records taken from a real local run (9 sitemap shards were crawled).

Pricing (PPE)

A business-found event is fired for every business found.

Local run

cd ~/rua/products/apify/europages
mkdir -p storage/key_value_stores/default
cat > storage/key_value_stores/default/INPUT.json <<'EOF'
{"maxItems": 12, "sitemapShardIndex": 1}
EOF
APIFY_LOCAL=1 python3 main.py
# output: storage/datasets/default/*.json

Known limitations

  • Niche difference: gelbeseiten.de is a local/regional business directory (Germany only), not a multinational B2B product catalogue like europages. The "products" field is most often a single keyword/industry label, not a detailed product list as on europages.
  • Each sitemap shard contains only a few businesses (1–10 observed); large collections require crawling many shards (the actor does this automatically, capped at 40 shards).
  • On some detail pages the LocalBusiness JSON-LD cannot be found (the listing may have been removed/deactivated) — those records are skipped.