/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/aquarium-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aquarium-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aquarium-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/aquarium-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Dimensions in inches by default (accepts cm/mm/m). Stocking is a rough guideline only.",
"shapes": [
"rectangular",
"cube",
"cylinder",
"hexagonal",
"bowfront"
],
"service": "aquarium",
"endpoints": {
"/v1/volume": "Water volume (US/UK gallons, litres) for a rectangular, cube, cylinder, hexagonal or bow-front tank.",
"/v1/stocking": "Stocking load from tank volume and total fish inches (inch-per-gallon guideline).",
"/v1/waterchange": "Water-change volume for a percentage, with optional dechlorinator dose."
},
"description": "Aquarium maths: tank water volume by shape, a stocking estimate (inch-per-gallon) and water-change volume."
},
"meta": {
"timestamp": "2026-06-04T01:59:13.041Z",
"request_id": "a4c37b41-b82b-47ee-9001-f412186a2d47"
},
"status": "ok",
"message": "Meta",
"success": true
}