{"components":{"securitySchemes":{"ApiKeyAuth":{"in":"header","name":"x-api-key","type":"apiKey"}}},"info":{"description":"Classified weather data for agents: every value is labelled OBSERVED, MODEL, COMPUTED, FORECAST, INFERRED or UNCONFIRMED, with its source. Multi-model core (ECMWF IFS, GFS, GEM, ICON) plus ECCC GeoMet, NWS and METAR where available. Price: 0.01 SOL per /weather call (payment in $M441: -10%). Source of truth: serveur_meteo.py (port 4470).","title":"441 Weather API","version":"1.0"},"openapi":"3.0.3","paths":{"/health":{"get":{"operationId":"health","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"heure":{"format":"date-time","type":"string"},"port":{"example":4470,"type":"integer"},"service":{"example":"441 Weather API","type":"string"},"statut":{"example":"OK","type":"string"},"version":{"example":"1.0","type":"string"}},"type":"object"}}},"description":"OK"}},"summary":"Service health (public)"}},"/sources":{"get":{"operationId":"sources","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Per-source status (mirrors sources_status.json)"}},"summary":"Status of the data sources of the core (public)"}},"/weather":{"get":{"operationId":"weather","parameters":[{"description":"Latitude (-90..90)","in":"query","name":"lat","required":true,"schema":{"format":"float","type":"number"}},{"description":"Longitude (-180..180)","in":"query","name":"lon","required":true,"schema":{"format":"float","type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"avertissements":{"items":{"type":"object"},"type":"array"},"cache":{"properties":{"age_s":{"type":"integer"},"hit":{"type":"boolean"}},"type":"object"},"condition":{"nullable":true,"type":"object"},"condition_statut":{"enum":["OK","INDISPONIBLE"],"type":"string"},"conditions_actuelles":{"type":"object"},"erreurs":{"items":{"type":"string"},"type":"array"},"genere_le":{"format":"date-time","type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"previsions_horaires_24h":{"items":{"type":"object"},"type":"array"},"resume_24h":{"type":"object"},"service":{"type":"string"},"signaux":{"items":{"type":"object"},"type":"array"},"sources":{"type":"object"},"version":{"type":"string"}},"type":"object"}}},"description":"Classified weather payload"},"401":{"description":"Missing or invalid x-api-key header"},"429":{"description":"Rate limit (per key and per IP)"}},"security":[{"ApiKeyAuth":[]}],"summary":"Classified weather for a point"}}},"servers":[{"url":"https://meteo.441engine.com"}]}