AEMET Spain Weather Scraper
Pricing
from $7.50 / 1,000 results
AEMET Spain Weather Scraper
Tap AEMET OpenData for the latest conventional observations from Spanish weather stations, including temperature, humidity, wind, pressure, and station metadata. Pass a station code or pull every station at once. Useful for climate analytics, agriculture, and travel planning.
Pricing
from $7.50 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share

๐ฆ๏ธ AEMET Spain Weather Stations Scraper
๐ Export real-time weather observations from the Spanish State Meteorological Agency public OpenData API in seconds.
๐ Last updated: 2026-05-29 ยท ๐ 10 fields per record ยท AEMET OpenData API ยท Spain coverage ยท Hundreds of stations
The AEMET Spain Weather Stations Scraper turns the AEMET OpenData portal into a clean dataset of station observations: temperature, humidity, wind and precipitation, by station.
| ๐ฏ Target Audience | ๐ก Primary Use Cases |
|---|---|
| ๐ Analysts | Build clean datasets from the source |
| ๐ข Business teams | Plug official data into internal tools |
| ๐ค ML engineers | Training data ready for pandas and BigQuery |
| ๐ฐ Journalists | Verify numbers in seconds |
| ๐ Researchers | Reproducible historical pulls |
| ๐ฉโ๐ป Developers | Skip writing a client library |
๐ What the AEMET Spain Weather Stations Scraper does
- Calls the public AEMET OpenData endpoint.
- Parses the response and flattens each record into a clean row.
- Casts numeric fields and normalizes timestamps for downstream tools.
- Surfaces upstream errors as a clean
errorrecord instead of crashing. - Exports as CSV, Excel, JSON, JSONL, XML, RSS, or HTML.
๐ก Why it matters: the source is public but its format is not analyst friendly. This actor returns a flat, tool-ready dataset.
๐ฌ Full Demo
๐ง Coming soon.
โ๏ธ Input
| Field | Type | Required | Description |
|---|---|---|---|
stationId | string | No | Specific AEMET station code, or empty for all. |
maxItems | integer | No | Free 10, paid up to 1,000,000. |
Example 1:
{ "maxItems": 100 }
Example 2:
{ "stationId": "3195" }
No setup required. The operator pre-configures upstream access for paid runs.
โ ๏ธ Good to Know: the upstream source enforces its own rate limits. Heavy pulls should be spread across runs.
๐ Output
Each record is a flat object. error is always last.
| Field | Type | Description |
|---|---|---|
๐ station_id | string | AEMET station code |
๐ station_name | string | Station name |
๐ latitude | number | Latitude |
๐ longitude | number | Longitude |
๐ก๏ธ temperature | number | Air temperature in degrees C |
๐ง humidity | number | Relative humidity percent |
๐จ wind | number | Wind speed |
๐ง๏ธ precipitation | number | Precipitation mm |
๐ datetime | string | Observation timestamp |
๐ scrapedAt | string | When this row was fetched |
โ error | string | Set if upstream returned an error |
Sample record:
{"station_id": "3195","station_name": "MADRID, RETIRO","latitude": 40.4117,"longitude": -3.6781,"temperature": 22.4,"humidity": 38,"wind": 3.2,"precipitation": 0,"datetime": "2026-05-29T08:00:00","scrapedAt": "2026-05-29T10:00:00.000Z","error": null}
โจ Why choose this Actor
| ๐ | Calls the public AEMET API with your free key. | | ๐งน | Cleans cryptic codes (ta, hr, vv) into readable names. | | ๐ข | Numeric casting ready for analysis. | | ๐ | Errors surfaced as clean records. | | ๐พ | Push to dataset, instant download. |
๐ How it compares to alternatives
| Approach | Setup time | Clean keys | Numeric casting | Error handling |
|---|---|---|---|---|
| Roll your own fetch | 30 min plus | โ | โ | โ |
| Manual download | hours | โ | โ | โ |
| This Actor | 5 sec, no install | โ | โ | โ |
๐ How to use
- Click Try for free.
- Fill in the input fields (defaults work for a first run).
- Click Start. Your dataset is ready in seconds.
๐ผ Business use cases
๐ Analytics dashboards. Pipe to a BI tool, refresh on a schedule.
๐ผ Internal data products. Mirror the source into your own warehouse.
๐ฐ Newsroom fact-checking. Verify any number before publishing.
๐ค ML feature engineering. Use the clean dataset as model input.
๐ Automating AEMET Spain Weather Stations Scraper
- Make and Zapier: trigger on a schedule, push to Airtable or Slack.
- Cron schedule: native Apify scheduler.
- Webhooks: receive a POST when a run finishes.
- Pipe to BigQuery, Snowflake, Postgres: native Apify integrations.
๐ Beyond business use cases
๐ Education. Bring real public data into classrooms.
๐งช Personal research. Track indicators or markets over time.
๐ค Non-profit and open data. Build public dashboards.
๐งฐ Tinkering. Prototype quickly with structured data.
๐ค Ask an AI assistant about this scraper
Paste this README into ChatGPT or Claude and ask it to map your workflow to the actor inputs. The schema, examples and field list above contain everything an LLM needs to design a working pipeline.
โ Frequently Asked Questions
โ Do I need an API key? No, the source is fully public.
โ Is there a rate limit? The upstream enforces a soft limit. Avoid hammering.
โ Can I schedule runs? Yes, via Apify scheduler, Make, Zapier or cron.
โ Are values cast to numbers? Yes where applicable.
โ How are errors handled? Pushed as a single record with error populated.
โ Is this scraping or API? Public API or feed.
โ Will the schema change? Core fields are stable.
โ Can I filter the results? Yes, see the input schema above.
โ What if the upstream changes? We update the actor.
โ What format can I download? CSV, Excel, JSON, JSONL, XML, RSS, HTML straight from the Apify dataset UI.
๐ Integrate with any app
Apify ships native integrations with Make, Zapier, Slack, Discord, Google Drive, Google Sheets, Gmail, Airbyte, Keboola, Telegram, GitHub, and any REST API or webhook endpoint.
๐ Recommended Actors
| Actor | What it does |
|---|---|
| ParseForge Alpha Vantage Scraper | Global market data and FX. |
| ParseForge OurAirports Scraper | Global airport database. |
| ParseForge NBA Stats Scraper | Player and team stats. |
| ParseForge CurseForge Mods Scraper | Public mod metadata. |
๐ก Pro Tip: browse the complete ParseForge collection for 900+ production-grade scrapers across business intelligence, real estate, e-commerce, sports, finance, and public records.
Disclaimer: This actor scrapes only publicly available data. ParseForge is not affiliated with, endorsed by, or sponsored by any of the third-party services referenced. Users are responsible for complying with the target site's terms of service and applicable law. Create a free account w/ $5 credit.