Aller au contenu
GET /v1/meta

Totals & source

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/buoys-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/buoys-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/buoys-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/buoys-api/v1/meta");
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/meta",
    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": {
        "note": "Station catalogue is bundled; /v1/buoy fetches the latest live observation from NDBC. Units: m/s wind, metres wave height, °C, hPa.",
        "fields": [
            "station",
            "name",
            "observed_at",
            "wind",
            "waves",
            "pressure_hpa",
            "air_temp_c",
            "water_temp_c",
            "visibility_nmi"
        ],
        "source": "NOAA National Data Buoy Center (NDBC)",
        "stations": 1930,
        "endpoints": [
            "/v1/buoy",
            "/v1/search",
            "/v1/nearby",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-05-31T05:48:00.222Z",
        "request_id": "25b4998b-5f23-4241-bb3a-2975b4e541ea"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}