Rastro Lab

Home

Data and method

Price signs over the clothes hanging at El Rastro de Madrid

Every figure on this site comes from a city file committed to the repository, and is recomputed on every build: not one is typed by hand. This page says which file each one is, when it is from, and where it bites.

The sources

Every city file, its date and what it brings
SourceWhat it bringsChecked
Stall register (geoportal shapefile)The 2,186 stalls with a position, trade, street and sector. The base of the sitecartography of Jan 1, 2022
City premises census879 premises with access from the 18 streets, with no trade classificationAugust 2026
Layer 5 of the geoportal, Locales Coleccionismo119 classified premises, the only official classification of the tradeAugust 23, 2026
Dataset 202105, street markets on public streetsThe city's 33 street markets with declared stalls and hoursAugust 23, 2026
Datasets 200967 and 210006, municipal market halls and their units45 market halls and 2,098 units with a trade, page by pageAugust 23, 2026
BOAM pitch listings, Centro district41 documents from 2007 to 2026, the series that carries objections and vacanciesAugust 23, 2026
Rastro ordinance (2000) and fiscal ordinance (2026)The ceiling of 3,500 modules, the stall sizes and the ratesAugust 23, 2026
Tourist shopping listing (esmadrid.com, dataset 300034)The markets outside the municipal network: gourmet and private. Without their phone numbers or addresses, on purposeAugust 24, 2026
Street Fee Index, annex to the General Fiscal OrdinanceEvery street in Madrid graded 1 to 9; El Rastro falls between 2 and 4August 24, 2026

The method

The files are downloaded from datos.madrid.es and from the city geoportal, committed to the repository as they are, and every page is generated from them. If a figure appears in the text, it is because the builder computed it from a dated file; when two official files contradict each other, the contradiction gets its own page in findings and the pages it affects link to it.

What the files do not say is not asserted: the premises census does not classify the trade, so this site does not say what a shop sells; a stall's goods are the authorized ones, not the observed ones; and the positions of Sector F are marked as out of date because they are.

License and how to cite

The city data is under CC BY 4.0, attribution to Madrid City Council. To cite a figure from this site, cite the city source and the check date beside it in the table above too: that is what makes it verifiable without us. One line that works for the whole site:

Rastro Lab. El Rastro de Madrid, street by street. https://www.rastrolab.com/, from Madrid City Council open data (datos.madrid.es, CC BY 4.0). Consulted on August 22, 2026.

Where the data bites

Encodings differ between files from the same portal (one is latin-1 and its neighbor UTF-8), the geoportal's REST service answers without geometry even when asked for it, and the street-market dataset carries six broken districts. All of it is documented so that no figure inherits it in silence.