Limited Time — Lifetime Access for just $99. Lock in before prices rise.

UScraper
Tutorials

How to Scrape Kompass Company Detail Pages to CSV

Scrape Kompass company detail pages to CSV. Export names, phones, legal IDs, activity and websites with UScraper's local desktop app. No code required.

UScraper
June 25, 2026
9 min read
#how to scrape kompass#kompass scraper tutorial#kompass business directory scraper#kompass scraping tools#kompass scraper alternative#kompass scraper vs octoparse#kompass annuaire des entreprises scraper#kompass company detail scraper#kompass to csv#local desktop app
How to Scrape Kompass Company Detail Pages to CSV

This Kompass scraper tutorial shows how to turn a vetted list of fr.kompass.com company detail URLs into a local CSV export with the Kompass Company Detail Scraper for UScraper. You will prepare source URLs, import the workflow, set the export path, run a small validation batch, and read the output before scaling.

Before you start

Prerequisites for a Kompass scraper tutorial

You need the UScraper local desktop app, the Kompass Company Detail Scraper template, and a list of Kompass company detail URLs you are allowed to process. This tutorial is detail-page first: it assumes you already have URLs such as company profile pages from the French Kompass directory, not a broad instruction to crawl every search result.

Kompass describes Business Place as a way to access companies by sector, location, and activity, which is useful for supplier research, B2B enrichment, and market mapping. That usefulness does not remove your compliance work. Review the current Kompass terms of use, keep volumes modest, avoid private or login-only data, and do not try to defeat access controls.

Treat automation as a data collection method, not as permission. If your team needs contractual access, redistribution rights, or guaranteed volume, use an approved data agreement or official route.


Input list

Prepare Kompass detail URLs before scraping

Good Kompass scraping starts before UScraper opens a browser. Create a small input sheet with one URL per row, plus the source campaign, market, owner, and reason for collection. That gives you a clean audit trail when someone later asks why a company was included or why a record was skipped.

Use detail pages, not category pages, country landing pages, or search-result URLs. A detail URL usually points to one company profile and is a better fit for this workflow because the extractor can write one CSV row per source page. If you also need discovery from keywords or categories, handle that as a separate workflow, then feed the reviewed detail URLs into this scraper.

Input checkKeepRemove or review
URL typeCompany profile URLs on the target Kompass domainSearch pages, category lists, marketing pages, and login-only pages
Country scopeOne country domain per first test batchMixed country domains until selectors are validated
DuplicatesOne canonical URL per companyTracking variants, repeated source rows, and copied redirect URLs
Compliance notesBusiness purpose, source, owner, and run dateUnknown lists with no collection reason

Before importing the list, open three to five URLs manually in the same browser session you plan to automate. Confirm that normal page content appears without account-only gates, that your target fields are visible, and that the pages load consistently. This quick check prevents a common failure mode: spending time debugging selectors when the real issue is source quality or access.


Workflow map

How the Kompass business directory scraper works

The bundled JSON workflow is intentionally simple. It does not search Kompass, click through pagination, or discover new companies. Instead, it processes a list of known detail URLs and writes one row per accessible profile.

Navigate -> Wait for Page Load -> Sleep -> Detect challenge
  -> if challenge: Loop Continue
  -> if accessible: Wait for body -> Structured Export -> Loop Continue

The Navigate block contains sample fr.kompass.com company URLs. Replace those with your approved input list. The challenge check looks for common captcha-delivery.com and DataDome assets; when detected, the workflow skips that URL rather than exporting a CAPTCHA page as company data. Structured Export then runs JavaScript columns against body and appends the result to a local CSV.

Workflow partWhat to checkWhy it matters
Navigate URLsReplace the five sample profiles with your own approved detail URLsThe template is a detail scraper, not a search crawler.
Page waitsKeep page load, sleep, and body wait blocks in placeCompany data may render after the first network response.
Challenge branchLeave the DataDome and captcha-delivery selector check enabledBlocked pages should be skipped, not stored as false company rows.
Structured ExportConfirm filename, save folder, headers, and append modePagination-free URL batches need one accumulating CSV.
Loop ContinueKeep it after blocked pages and successful exportsEvery source URL should either export or move on cleanly.

Runbook

How to scrape Kompass company detail pages to CSV

1

Collect approved detail URLs

Build a short list of company profile URLs from Kompass pages your team is allowed to review. Keep the source, search context, and collection reason beside the URL list.

2

Import the UScraper template

Open the template page, download the JSON workflow, and import it into the UScraper local desktop app. Do not paste the full workflow manually unless you are debugging a specific block.

3

Replace the Navigate inputs

Open the Navigate block and replace the starter URLs with your batch. Begin with five to ten profiles so validation is fast and selector problems are obvious.

4

Set the export folder

In Structured Export, confirm kompass_annuaire_des_entreprises_scraper_detail.csv, includeHeaders, append mode, and a project-specific save location on your machine.

5

Run and inspect the first CSV

Run the workflow, open the CSV, and compare several rows against the live Kompass profiles. Expand only after company names, URLs, legal IDs, websites, and activity fields look stable.

Append mode is useful for batches, but it can mix test rows with production rows. Use a dated output folder or clear the CSV between test runs when you are adjusting URL lists or selector logic.


Output

What the Kompass data extractor exports

The JSON export defines 17 CSV columns. There is no bundled CSV sample, so treat the workflow definition as the source of truth and validate output against live pages.

CSV columnField meaningValidation note
URL_entréeFinal Kompass URL visitedUse this for auditing and deduplication.
NomCompany name from heading or metadata fallbackCheck that suffixes from page titles are removed cleanly.
Lieu, PaysCity, postal code, and countrySome pages expose structured address fields; others require text matching.
Téléphone, SiteVisible phone and external company websiteBlank values can be normal when Kompass hides or omits contact details.
PrésentationLong company description or metadata descriptionWatch for cookie, challenge, or boilerplate text in failed runs.
Nature, Création, Forme_juridiqueEstablishment type, creation year, and legal formThese depend on labels visible in the profile body.
Activité, CapitalActivity classification and capitalActivity detection looks for NAF-style activity text when present.
SIREN, SIRET, TVAFrench legal and tax identifiersValidate formatting before merging with CRM or procurement systems.
Effectifs_adresse, Effectifs_entrepriseEmployee ranges at address and company levelExpect ranges, not exact headcount, when exposed.
kompass_annuaire_des_entreprises_scraper_detail.csv
URL_entrée, Nom, Lieu, Pays, Téléphone, Présentation, Site, Nature,
Création, Forme_juridique, Activité, Capital, SIREN, SIRET, TVA,
Effectifs_adresse, Effectifs_entreprise

If the first CSV contains company names and URLs but misses some legal fields, do not assume the run failed. Kompass profiles are not uniform. The right validation question is whether the field is visible on the source page and whether the extractor captured it when it was visible.


Alternatives

Kompass scraper vs Octoparse, Apify, and hosted tools

Octoparse publishes Kompass template pages, including a detail-page template. Apify also lists a Kompass scraper actor with API-oriented usage paths. Other hosted scraping tools and data services position themselves around cloud runs, AI-assisted extraction, or managed data delivery.

OptionBest fitTrade-off
UScraper local desktop appSupervised CSV exports from approved Kompass detail URLsYou maintain URL lists, pacing, selectors, and compliance review.
Octoparse templatesNo-code users who prefer a hosted template catalogPricing, run mode, and export behavior depend on Octoparse's platform.
Apify actorDevelopers who want cloud runs, API calls, and actor infrastructureInput URLs and exported rows are handled in a hosted environment.
Managed data serviceTeams buying finished B2B datasets instead of running automationLess workflow control and usually more vendor dependence.

For many analysts, the practical question is not "which Kompass scraping tool is most powerful?" It is "where should the URL list and exported company rows live, and who maintains the workflow?" UScraper is strongest when you want a local, visible, no-code workflow you can inspect before each research batch.


Troubleshooting

Common Kompass scraping issues

SymptomLikely causeFix
No row for a URLThe challenge branch detected DataDome or captcha-deliveryPause, reduce volume, review access, and rerun a smaller batch.
Company name is blankThe heading or metadata changedInspect the current page and update the Nom JavaScript column.
Phone or website is missingThe field is hidden, absent, or not exposed to the sessionTreat it as optional unless the live profile clearly shows it.
Legal IDs are malformedText formatting or country layout differs from the French assumptionsValidate only French profiles with SIREN/SIRET expectations, or add country-specific logic.
Old and new rows are mixedAppend mode reused an existing CSVClear the file or create a dated export folder before production runs.

FAQ

Kompass company detail scraper FAQ

Kompass company pages can include publicly visible B2B information, but automated access may still be limited by Kompass terms, robots guidance, database rights, privacy rules, and local law. Review the current terms, avoid bypassing access controls, keep runs modest, and get legal review before commercial reuse.


Next step

Download the Kompass company detail scraper template

Download Kompass Company Detail Scraper, import it into the UScraper local desktop app, and keep this tutorial open for your first validation pass. For adjacent workflows, browse the UScraper template library or the UScraper blog for more scraping tutorials and comparison guides.

FAQ

Frequently asked questions

Here are some of our most common questions. Can't find what you're looking for?

View All FAQs

Stop writing scripts. Start scraping visually.

Download UScraper and build your first web scraper in under 10 minutes. No subscriptions, no code, no limits.

Available on Windows 10+ and macOS 12+ · Need help? [email protected]