German Legislation Scraper — Gesetze avatar

German Legislation Scraper — Gesetze

Pricing

from $4.00 / 1,000 results

Go to Apify Store
German Legislation Scraper — Gesetze

German Legislation Scraper — Gesetze

Scrape German federal statutes from gesetze-im-internet.de — full text structured by paragraph (§), with law title and abbreviation. Free, no key.

Pricing

from $4.00 / 1,000 results

Rating

0.0

(0)

Developer

Ponderable Hydrometer

Ponderable Hydrometer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

Germany Legislation Scraper — Gesetze im Internet

The entire German federal statute book (~6,000 laws) as structured data — from a light law index down to per-paragraph (§) full text. Parsed from the official gesetze-im-internet.de XML (the DTD-defined norm structure), not scraped HTML. Keyless.

Perfect for legal-tech, German-law datasets, research, RAG pipelines, and citation lookups (BGB, StGB, and every other federal law).

What you get

Two output granularities, chosen with includeText:

  • Law mode (default) — one row per law: slug, doknr, abbreviation, officialAbbreviation, title, enactmentDate, url, normCount
  • Paragraph mode (includeText: true) — one row per paragraph (§): slug, abbreviation, lawTitle, enactmentDate, url, paragraph (e.g. § 1), heading, text

How it works

Reads the master index (gii-toc.xml, ~6,000 laws), then for each selected law downloads {slug}/xml.zip, unzips the XML and parses the norm structure. Filter the index by title/slug substring, or fetch specific laws by slug.

Input

FieldTypeDefaultDescription
searchstringFilter the TOC by title/slug substring (ignored if slugs given)
slugsarray["bgb"]Specific law slugs, e.g. ["bgb","stgb"] (overrides search)
includeTextbooleanfalseOne row per § with heading + text (else one row per law)
maxLawsinteger50Cap on laws when searching the TOC (0 = all)
maxParagraphsPerLawinteger0Cap paragraphs per law when includeText (0 = all)
proxyConfigurationobjectApify Proxy onRequired — see Proxy note below

Example input

{ "slugs": ["bgb"], "includeText": true }

Index of tax laws:

{ "search": "steuer", "maxLaws": 100 }

Example output

Law mode:

{
"slug": "bgb",
"doknr": "BJNR001950896",
"abbreviation": "BGB",
"officialAbbreviation": "BGB",
"title": "Bürgerliches Gesetzbuch",
"enactmentDate": "1896-08-18",
"url": "https://www.gesetze-im-internet.de/bgb/",
"normCount": 2782
}

Paragraph mode (includeText: true):

{
"slug": "bgb",
"abbreviation": "BGB",
"lawTitle": "Bürgerliches Gesetzbuch",
"enactmentDate": "1896-08-18",
"url": "https://www.gesetze-im-internet.de/bgb/",
"paragraph": "§ 1",
"heading": "Beginn der Rechtsfähigkeit",
"text": "Die Rechtsfähigkeit des Menschen beginnt mit der Vollendung der Geburt."
}

Why this actor

  • Two granularities from one actor — a light index for discovery, or deep per-§ rows with full text.
  • Structured, not scraped — parsed from the official norm XML, so headings and § numbers are reliable.
  • Whole statute book — every German federal law by slug or substring search.
  • Underserved niche — near-zero competition for clean German legal data.

Notes

  • Proxy required: gesetze-im-internet.de blocks Apify's datacenter egress, so the actor routes through Apify Proxy by default (proxyConfiguration, enabled automatically). Leave it as is — direct connections time out.
  • Public official data; you are responsible for compliant use. Not a government service.

Pricing

Pay per result — $4 per 1,000 results (one law, or one paragraph when includeText is on). No subscription or platform fees.

  • UK Legislation Scraper — UK primary and secondary legislation.
  • Australia Legislation Scraper — Commonwealth legislation.
  • eCFR Scraper — the US Code of Federal Regulations.