Spain Tourist Dwellings Scraper (Valencian Community Registry) avatar

Spain Tourist Dwellings Scraper (Valencian Community Registry)

Pricing

from $2.00 / 1,000 tourist dwelling delivereds

Go to Apify Store
Spain Tourist Dwellings Scraper (Valencian Community Registry)

Spain Tourist Dwellings Scraper (Valencian Community Registry)

Spanish tourist dwellings (viviendas de uso turistico) of the Valencian Community registry as JSON, one row per dwelling with its INE municipality code, bed places, bedrooms, surface and registration date. Official open data, no address or owner data.

Pricing

from $2.00 / 1,000 tourist dwelling delivereds

Rating

0.0

(0)

Developer

Steadfetch

Steadfetch

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Every tourist dwelling (vivienda de uso turistico) registered in the Valencian Community, one JSON row per dwelling, with the INE municipality code so it joins other Spanish municipal data. The data comes from the official open-data registry of the Generalitat Valenciana (provinces of Alicante, Castellon and Valencia).

What it does

A run downloads the registry CSV (about 15 MB and 90,000 dwellings) as a stream, keeps the municipalities you ask for and emits one validated row per dwelling:

  • municipalityCode: five-digit INE code (province plus municipality, for example 03047 for Calp).
  • registrationNumber, postalCode, bedPlaces, bedrooms, surfaceM2, registeredAt, isRural, isStudio.
  • Blank values in the source are null, never 0.

It first asks the open-data catalogue for the current CSV address and falls back to a fixed one if the lookup fails. Rows with the wrong number of columns are skipped and counted in the run log. If the source answers with an HTML page, a block (HTTP 401, 403, 429, 451) or a file that is not the registry, the run fails with a clear error and delivers nothing.

Input

{ "municipalityCodes": ["03047"], "maxItems": 50 }
FieldTypeRequiredDefaultDescription
municipalityCodesarray of stringsnoall5-digit INE codes. Only provinces 03 (Alicante), 12 (Castellon) and 46 (Valencia). Empty means every municipality. A wrong code ("3047", "28079", "03047 ") fails the run before anything is downloaded.
maxItemsintegerno10,0001 to 100,000 dwellings. Calp alone has about 5,500.

Example output

{
"url": "https://dadesobertes.gva.es/dataset/758f8f8e-c5af-4622-b268-a6c591710a51/resource/b1bdc28e-9813-422a-ab7a-63c21290493d/download/lista-de-viviendas-turisticas.csv",
"title": "Tourist dwelling CV-VUT0504720-A (CALP)",
"scrapedAt": "2026-11-16T13:46:23.492Z",
"municipalityCode": "03047",
"municipalityName": "CALP",
"source": "Generalitat Valenciana - Registro de Turismo",
"registrationNumber": "CV-VUT0504720-A",
"postalCode": "03710",
"bedPlaces": 8,
"bedrooms": 4,
"surfaceM2": 116,
"registeredAt": "2024-01-24",
"isRural": false,
"isStudio": false
}

Pricing

Pay-per-event with the two synthetic platform events: apify-actor-start at 0.00005 USD per run and apify-default-dataset-item at 0.002 USD per dwelling, which is 2.00 USD per 1,000 results. There is no custom per-item event and no Actor.charge() call, so users are never billed twice. A failed run delivers nothing and only incurs the start event.

Measured locally on 16-11-2026 with Calp (03047):

MeasurementValue
Rows delivered5,546 (of 89,998 in the file)
Run timeabout 23 s of Actor time (about 38 s through apify run, including the CLI start)
Peak memory167 MB resident (Actor minimum memory is 256 MB)
Network1 catalogue request plus 1 CSV download of 15 MB

At 256 MB and 23 s a run uses about 0.0016 GB-hours, so about 0.0005 USD of compute at 0.30 USD per GB-hour, against 11 USD of results: the price keeps a wide margin over the measured cost. The platform figure has not been billed yet. Works on the Apify free plan: the 5 USD monthly credit covers about 2,499 results.

Development

npm install
npm test # lint + typecheck + offline tests, no credit
npm run schemas:validate
npm run publish:check

The tests run on test/fixtures/viviendas-muestra.csv, a cut of the real file (see docs/data-map.md).

FAQ

How fresh is the data? Each run downloads the official CSV published by the Generalitat Valenciana. No third-party copy is used.

Why are there no addresses? The registry file includes the street address, the cadastral reference, a trade or owner name and a web address of each dwelling. They identify the property or its owner, so they are never part of the output.

Why is a field null? The source left it blank (or .00 for the surface). Values are never guessed or replaced by 0.

Does it cover the whole of Spain? No. This registry covers the Valencian Community only (province codes 03, 12 and 46). Other regions publish their own registries.

Does it need a proxy or a browser? No. Plain HTTPS requests.

What happens on a block or a bad answer? The run fails with a clear error and delivers nothing. The Actor never solves CAPTCHAs or tries to get around access controls.

Maintenance

This Actor is tested daily: automated runs keep the source reachable and the output schema valid, and failures open an issue in this repository. Schema changes are announced through repository releases.

Data source: Generalitat Valenciana, open data (dadesobertes.gva.es), licence Creative Commons Attribution (CC BY). The Actor sends an honest User-Agent with contact information and makes two HTTP requests per run. See docs/legal-gate.md. Steadfetch is not affiliated with the Generalitat Valenciana.