/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}