/v1/meta
Spec
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/seawater-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/seawater-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/seawater-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/seawater-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": {
"notes": "ppt/PSU, °C, kg/m³. Density = UNESCO EOS-80 (surface, atmospheric); freezing point = Millero; S = 1.80655·Cl. For the speed of sound in seawater use a sonar API; for general colligative properties a colligative-properties API.",
"service": "seawater-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/density": "Seawater density and σt from salinity and temperature.",
"GET /v1/chlorinity": "Salinity ↔ chlorinity (S = 1.80655 × Cl).",
"GET /v1/freezing-point": "Freezing point of seawater from salinity."
},
"description": "Seawater oceanography maths: density (UNESCO EOS-80), freezing point (Millero), and salinity ↔ chlorinity."
},
"meta": {
"timestamp": "2026-06-07T08:18:07.941Z",
"request_id": "bb96dcec-c928-4b11-a306-70998429a6f2"
},
"status": "ok",
"message": "Meta",
"success": true
}