Matricula Online Scraper
Matricula Online is a website that hosts digitized parish registers from various regions across Europe. This CLI-based tool allows you to directly download data from it.
Installation
Make sure to meet the minimum required version of Python. You can install
this tool via pip:
$ pip install -u matricula-online-scraper
Build from source
If you want to get the latest version or just build from source, you can clone the repository and install it manually,
favorably via uv:
$ git clone git@github.com:lsg551/matricula-online-scraper.git && cd matricula-online-scraper
$ uv venv && uv sync
Alternatively, you can always fallback to pip:
$ pip install -r requirements.txt
Usage
You can use this tool to scrape the three primary entities from Matricula:
- Scanned parish registers (→ images of baptism, marriage, and death records)
- A list of all available parishes (→ location metadata)
- A list for each parish with metadata about its registers, including dates ranges, type etc.
Most users likely want to scrape the scanned parish registers (1). The additional metadata (2,3) can be useful for other purposes such as automation, filtering or searching.
Note that this tool will not format or clean the data in any way. Instead, the data is saved as-is to a file. Some data might be poorly formatted or inconsistent.
Run the following command to see the available commands and options:
$ matricula-online-scraper --help
(1) Example: Download a scanned parish register (all images of a book)
Imagine you opened a certain parish register on Matricula and want to download the entire book or a single page.
Let's say you want to download the death register of Bautzen, Germany,
starting from 1661. Copy the URL of the register when you are in the image viewer, this might look like https://data.matricula-online.eu/en/deutschland/dresden/bautzen/11/?pg=1.
Then run the following command and paste the URL into the prompt:
$ matricula-online-scraper parish fetch https://data.matricula-online.eu/en/deutschland/dresden/bautzen/11/?pg=1
Run matricula-online-scraper parish fetch --help to see all available options.
(2) Example: Download a huge list of all available parishes on Matricula
$ matricula-online-scraper parish list
This command will fetch all parishes from Matricula Online, effectively scraping the entire "Fonds" page. The resulting data looks like:
country , region , name , url , longitude , latitude
Deutschland, "Passau, rk. Bistum" , Arbing-bei-Neuoetting, https://data.matricula-online.eu/en/deutschland/passau/arbing-bei-neuoetting/, 12.7081934381511 , 48.32953342002908
Österreich , Oberösterreich: Rk. Diözese Linz, Eberschwang , https://data.matricula-online.eu/en/oesterreich/oberoesterreich/eberschwang/ , 13.5620985 , 48.15550995
Polen , "Breslau/Wroclaw, Staatsarchiv" , Hermsdorf , https://data.matricula-online.eu/en/polen/breslau/hermsdorf/ , 15.642741683666767, 50.84699257482722
It may take a few minutes to complete and will yield a few thousand rows. Each url value leads to the main page of the parish
and can bepiped into the next command (3) to fetch metadata about the parish's registers.
Run matricula-online-scraper parish list --help to see all available options.
(3) Example: Download a list about the registers of a single parish
This command will download a list of all available registers for a single parish, including certain metadata such as the type of register, the date range, and the URL to the register itself etc.
$ matricula-online-scraper parish show https://data.matricula-online.eu/en/deutschland/muenster/muenster-st-martini/
A sample from the output (here JSON Lines) looks like this:
{
"name": "Taufen",
"url": "https://data.matricula-online.eu/en/deutschland/muenster/muenster-st-martini/KB001/",
"accession_number": "KB001",
"date": "1715 - 1800",
"register_type": "Taufen",
"date_range_start": "Jan. 1, 1715",
"date_range_end": "Dec. 31, 1800"
}
Run matricula-online-scraper parish show --help to see all available options.
Example: Combine with other commands and 3rd party tools to download all registers within a certain region.
The following command will download the cached list with all parishes, filter all parishes within the region "Paderborn", and pipe the parish URLs to matricula-online-scraper parish show to get the metadata about the registers for each parish. Then, matricula-online-scraper parish fetch will be called for all registers of each parish and proceeds to download the images of the registers.
curl -sL https://github.com/lsg551/matricula-online-scraper/raw/cache/parishes/parishes.csv.gz | gunzip | csvgrep -c region -m "Paderborn" | csvcut -c url | csvformat --skip-header | xargs -n 1 -P 4 matricula-online-scraper parish show -o - | jq -r ".url // empty" | matricula-online-scraper parish fetch
It uses csvkit for processing the CSV data. Make sure to install it via pip install csvkit or your package manager if you want to replicate this example. Also make sure to have jq installed, as it is used to parse and manipulate the JSON output of some commands.
License
This project is licensed under the MIT License - see the LICENSE file for details.
You can read more about Matricula Online's terms of use and data licenses
on their page or
check out their robots.txt file at
data.matricula-online.eu/robots.txt
regarding restrictions of the use of automated tools (as of March 2025, they
have none).
Metadata
Release files for matricula-online-scraper 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| matricula_online_scraper-0.7.2.tar.gz | 68.8 kB | Without provenance | Details for matricula_online_scraper-0.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matricula_online_scraper-0.7.2-py3-none-any.whl | Python 3 | none | any | Details for matricula_online_scraper-0.7.2-py3-none-any.whl |
Total release size: 98.0 kB
Release files / matricula_online_scraper-0.7.2.tar.gz
| Download URL | matricula_online_scraper-0.7.2.tar.gz |
|---|---|
| Size | 68.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f66d54b7cf8b10558f0ddbea1d9eb514045b922ba53785c8f33f2514478fa88
|
|
BLAKE2b-256 checksum How to use checksums |
48d3d36a581743e3f3a8c70360ed67750f292f2b5d203624c7ada4ba0f3c078d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.8
|
Release files / matricula_online_scraper-0.7.2-py3-none-any.whl
| Download URL | matricula_online_scraper-0.7.2-py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8081834a554db49510cd43f6c1257461cc0781e7ae091189153f0c3e046634e
|
|
BLAKE2b-256 checksum How to use checksums |
9ce536ea5c6f3cfb601155bd006dbe87bcc7bb2e30bb31a5b430917e37b6a68b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.8
|
Security for matricula-online-scraper 0.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.