{"uid":"cap_rDjbOXO8z-VdVh_zg2WlP","slug":"sitecheck-shop-social-aemet-spain-weather-station-observations-0f7d9c1e","name":"SiteCheck Shop & Social – AEMET Spain Weather Station Observations","description":"Spanish weather station observations from AEMET OpenData (official): latest hourly readings (temperature, humidity, wind, pressure, precipitation…) for all stations or one station ID (idema, e.g. 3195 Madrid Retiro), as published by AEMET. Requires the operator's free AEMET OpenData key.","url":"https://api.shopsocial-api.workers.dev/api/social/aemet-spain-weather?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"limit":{"type":"string","description":"Rows, 1 to 500 (default 100)"},"station":{"type":"string","description":"AEMET station ID (idema), e.g. 3195; empty = all stations"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":12,"source":"https://opendata.aemet.es/opendata/api/observacion/convencional/datos/estacion/3195","station":"3195","checkedAt":"2026-10-23T09:37:49.769Z","observations":[{"dv":229,"hr":65,"ta":13.2,"vv":2.2,"alt":667,"lat":40.411389,"lon":-3.677778,"tpr":6.7,"ubi":"MADRID RETIRO","dmax":206,"fint":"2026-10-22T22:00:00+0000","prec":0,"pres":946,"vmax":4.5,"idema":"3195","stddv":17,"stdvv":0.5,"tamax":13.8,"tamin":13.2,"pres_nmar":1023.4},{"dv":215,"hr":70,"ta":12.4,"vv":1.9,"alt":667,"lat":40.411389,"lon":-3.677778,"tpr":7.1,"ubi":"MADRID RETIRO","dmax":223,"fint":"2026-10-22T23:00:00+0000","prec":0,"pres":945.8,"vmax":3.4,"idema":"3195","stddv":13,"stdvv":0.6,"tamax":13.2,"tamin":12.4,"pres_nmar":1023.4}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kX7PKOURItKj81JOmdTeI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the latest hourly meteorological observations from Spanish AEMET OpenData weather stations, returning temperature, humidity, wind, pressure, precipitation and more for all stations or a specific station ID.","exampleAgentPrompt":"Can you pull the latest official AEMET weather observations for Madrid Retiro station (ID 3195) — I need temperature, humidity, wind speed, and pressure readings?","exampleUseCases":[{"title":"Monitor Madrid current conditions","prompt":"What are the current temperature, humidity, and wind readings at Madrid Retiro from AEMET's official station data?"},{"title":"All Spain stations weather snapshot","prompt":"Fetch the latest hourly observations from all AEMET weather stations across Spain — I want up to 200 rows so I can see a broad snapshot."},{"title":"Automated weather alert for a Spanish city","prompt":"Get me the most recent precipitation and wind speed readings from AEMET station 3195 so I can check whether conditions exceed my alert thresholds."}],"resultDescription":"Returns a JSON object with a count of observations, the source AEMET API URL, the queried station ID, a timestamp, and an array of observation records each containing: station ID (idema), station name (ubi), coordinates (lat, lon), altitude (alt), observation datetime (fint), temperature (ta), max/min temperature (tamax, tamin), dew point (tpr), relative humidity (hr), wind direction (dv), wind speed (vv), max wind gust direction (dmax) and speed (vmax), wind direction standard deviation (stddv), wind speed standard deviation (stdvv), station pressure (pres), sea-level pressure (pres_nmar), and precipitation (prec).","failureModes":["Invalid or unknown station ID returns empty observations array or an error from AEMET","Missing or expired AEMET OpenData API key results in authorization failure","AEMET OpenData service downtime causes upstream fetch failure","Limit parameter out of range (outside 1–500) may return a validation error","Station has no recent data if it is offline or under maintenance"],"whenToPreferThis":"Choose this endpoint when you need official, authoritative Spanish weather observations directly from AEMET OpenData — particularly for real-time hourly readings (temperature, wind, pressure, precipitation) for one or all Spanish meteorological stations. It is preferable over general weather APIs when Spain-specific official government data is required, when you need the raw idema station identifiers, or when data provenance from Spain's national meteorological agency matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:35.618Z","isFirstParty":false,"canonicalSlug":"sitecheck-shop-social-aemet-spain-weather-station-observations-0f7d9c1e"}