Skip to content
GET /v1/classify

Classify wind speed

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/beaufort-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/beaufort-api/v1/classify" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/beaufort-api/v1/classify", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/beaufort-api/v1/classify");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/beaufort-api/v1/classify",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Beaufort force from the WMO scale (10 m reference height). Wave height is the mean for the open sea and assumes a long fetch.",
        "inputs": {
            "unit": "ms",
            "speed": 10
        },
        "speed_ms": 10,
        "description": "Fresh breeze",
        "sea_condition": "Moderate waves, many whitecaps",
        "beaufort_force": 5,
        "speed_all_units": {
            "ms": 10,
            "fts": 32.8084,
            "kmh": 36,
            "mph": 22.3694,
            "knots": 19.4384
        },
        "mean_wave_height_m": 2
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:35.137Z",
        "request_id": "5070ef02-e0b6-48b8-90a8-3b00e850a01b"
    },
    "status": "ok",
    "message": "Classify wind speed",
    "success": true
}