Skip to main content
Python first; shell and browser versions follow.
1

Prepare your environment

API keys are issued on request: email support@mobs.ws. There are no accounts. Keep yours in an environment variable such as MOBS_API_KEY. See Authentication.
Shell
2

Open the WebSocket

List the airports you want. Send a JSON ping every 20 seconds, or the socket closes after 60 seconds idle. New reports arrive as new_metar_arrived. No reports are sent on connect.
Example data · report text elided
3

Optional: backfill the latest report

After connect or reconnect, GET /v1/metar/latest can fill the current latest report per airport. missing lists requested airports with no record. This is optional backfill, not the live product. There is no history endpoint.
All examples are not executed and use a placeholder API key or one read from the environment.

Next: Authentication

How to send your API key, scopes, rotation and revocation.