This tutorial shows how to scrape Marktplatz Mittelstand leads into CSV using the Marktplatz Mittelstand Leads Scraper template for UScraper. You will prepare detail URLs, import the workflow, set the export path, validate columns, and troubleshoot blank contact fields.
Before you start
Prerequisites for scraping Marktplatz Mittelstand
You need UScraper installed as a local desktop app, the workflow JSON, a reviewed list of company detail URLs, and a local CSV folder. The template includes sample detail pages so you can see the expected input shape, but production runs should use URLs selected from your own city, keyword, or category research.
Use the official Marktplatz Mittelstand search entry point, Germany directory index, or city pages to discover profiles, then collect only the detail URLs you want to inspect. This workflow is detail-page focused, not a broad search-page crawler.
Before scaling, review current robots guidance, usage terms, and the site imprint. For CRM enrichment, outreach, resale, or audience building, confirm your legal basis first.
Technical access is not permission. Treat the export as supervised research, not automatic permission to contact every listed company.
Workflow anatomy
How the Marktplatz Mittelstand scraper workflow works
The exported JSON is the source of truth. It defines a multi-URL Navigate block, waits for the page body, injects a JavaScript helper, checks for unavailable-page text, and writes one row when the page is valid.
Navigate through detail URLs
Replace the samples with approved profile pages from your target city, niche, or B2B-Marktplatz list.
Wait for a real page
The workflow waits for page load and a visible body before export.
Normalize fields with JavaScript
A helper reads JSON-LD, falls back to visible labels, cleans whitespace, and exposes values.
Skip unavailable pages
If the page contains Oopsie, the condition skips export and continues the loop.
Append one CSV row
Structured Export writes headers and appends each valid business profile into one CSV.
This pattern fits controlled German business directory scraper work: you choose inputs, UScraper handles repetitive browser steps, and every row keeps its source URL for audit.
Export fields for Marktplatz Mittelstand leads
The workflow exports 12 columns. Blank mobile, fax, contact person, email, or opening-hours cells are common when a profile does not publish that value.
| Column | What it captures |
|---|---|
titel | Company or listing title |
adresse_strasse | Street address |
postleitzahl | Postal code |
addresse_ort | City or locality |
ansprechpartner | Published contact person |
telefonnummer | Primary phone number |
faxnummer | Fax number if published |
mobilnummer | Mobile number if visible |
webseite | External business website |
email | Email from mail links or visible text |
oeffnungszeiten | Opening hours text or structured hours |
detail_url | Source Marktplatz Mittelstand page |
No CSV sample ships with the bundle. Use this export shape plus the JSON workflow definition as the authoritative sample.
Runbook
How to scrape Marktplatz Mittelstand leads to CSV
Import the template into UScraper and keep a clean copy before client-specific edits. Prepare direct company detail URLs from a keyword-plus-location search, remove duplicates, and keep the source query beside the list for traceability.
Replace the sample URLs in the Navigate block, one detail URL per entry. In Structured Export, confirm the filename, save folder, headers, and append mode. The stock file name is marktplazt_mittelstand_leads_scraper_clean.csv; use a fresh name for every city or niche test.
Run the first batch while watching the browser. Then open the CSV and verify row count, company name, address, phone or website, email where present, and source URL. If the sample is clean, expand the list. If not, debug one failing URL by itself.
Validate the CSV and fix common issues
Directory data changes. Pages disappear, contact fields move, and optional fields vary by profile. Validate every run before using Marktplatz Mittelstand leads for sales or local listing work.
| Symptom | Likely cause | Fix |
|---|---|---|
| No row for a URL | The page showed an unavailable state or did not finish loading | Open the URL manually, remove stale pages, or rerun with a longer wait. |
Blank email | The business does not publish an email or the value is hidden differently | Treat as optional, then spot-check a few pages before editing selectors. |
Wrong webseite | A map, directory, or tracking link was picked before the company site | Inspect the external links and tighten the website filter. |
| Duplicate companies | The same business appears in several searches or batches | Dedupe by webseite, telefonnummer, and detail_url. |
| Mixed old and new rows | Append mode wrote into a previous test file | Use a new CSV name for each validation run. |
Alternatives
UScraper vs Octoparse for Marktplatz Mittelstand
Octoparse publishes a Marktplazt Mittelstand Leads Scraper template, which can fit teams already using its template marketplace. UScraper is a better fit when you want an inspectable local desktop workflow with visible inputs, extraction logic, skip conditions, export path, and CSV output.
| Option | Good fit | Trade-off |
|---|---|---|
| UScraper template | Local, reviewable CSV workflow for selected detail URLs | Best for controlled batches, not broad crawling. |
| Octoparse template | Teams already using Octoparse templates | Review pricing, cloud handling, and customization limits. |
| Manual copy and paste | One-off checks for a few companies | Slow and hard to audit at B2B list scale. |
| Custom script | Source-controlled extraction logic | Requires maintenance when pages change. |
For wider research, browse the UScraper template library and related UScraper tutorials. Use the smallest workflow that produces an auditable CSV.
Frequently asked questions
Public business pages can still be covered by site terms, robots guidance, database rights, privacy law, and marketing rules. Review current policies and get legal review before outreach, resale, or enrichment.

