/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}