Skip to main content
metar.ws streams weather data over a single WebSocket connection. You subscribe to per-airport channels (stations), and the server pushes each new observation as soon as it’s available and each forecast as soon as a model run is decoded. There is no SDK to install. The API is plain JSON over a standard WebSocket connection (RFC-6455), so any client that speaks the protocol, including Python, Node.js, Go, a browser tab, or a tool like websocat, can connect directly.

Quickstart

Create an API key and receive your first message in minutes.

Authentication

Learn how to authenticate your WebSocket connection.

Channels Overview

Explore the observation, ATIS, and forecast channels.

Protocol Reference

Understand every frame the server and client exchange.

Key endpoints

What you can build

Three data namespaces power the stream:
  • METAR observations (metar.obs.<icao>): official reports from roughly 50 stations across four continents.
  • D-ATIS fast lane (metar.atis.<icao>): Pro-only US hub data extracted from D-ATIS broadcasts, typically minutes ahead of the official METAR mirror.
  • Model forecasts (metar.forecast.<tier>.<icao>): daily max/min temperature forecasts derived from global and high-resolution numerical weather models.
Complete, runnable client examples in Python, Node.js, Go, and the browser are available in the Examples section.