/v1/buoy
Latest live observation for a station
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/buoys-api/v1/buoy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/buoys-api/v1/buoy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/buoys-api/v1/buoy");
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/buoys-api/v1/buoy",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"name": "EAST HATTERAS - 150 NM East of Cape Hatteras",
"wind": {
"gust_m_s": 12,
"speed_m_s": 10,
"direction_deg": 10
},
"waves": {
"direction_deg": null,
"average_period_s": null,
"dominant_period_s": null,
"significant_height_m": null
},
"source": "NOAA NDBC",
"station": "41001",
"tide_ft": null,
"latitude": 34.791,
"longitude": -72.42,
"air_temp_c": 18.3,
"dewpoint_c": 11.6,
"observed_at": "2026-05-31T05:10:00Z",
"pressure_hpa": 1015.4,
"water_temp_c": 23.1,
"visibility_nmi": null,
"pressure_tendency_hpa": null
},
"meta": {
"timestamp": "2026-05-31T05:47:59.997Z",
"request_id": "cee9a3a5-63a8-41fc-9621-0309f99c6b3e"
},
"status": "ok",
"message": "Buoy observation retrieved",
"success": true
}