Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/aquarium-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}