Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/pond-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/pond-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pond-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pond-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/pond-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": "US units (feet, gallons). Volume × shape factor × 7.48 gal/ft³; liner = dimension + 2·depth + 2·overlap; koi ~1/250 gal, goldfish ~1/20, turnover ≥ once an hour. For pool chemistry or indoor aquariums use a different API.",
        "service": "pond-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/liner": "Liner length and width to fit a pond, with depth and overlap.",
            "GET /v1/stock": "Max koi/goldfish and the pump GPH for turnover from a volume.",
            "GET /v1/volume": "Pond volume (gallons/litres) from length, width and average depth."
        },
        "description": "Garden / koi pond maths: water volume, liner size, and fish stocking with pump turnover."
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:48.553Z",
        "request_id": "bddbf3a6-f952-4fb3-8835-c46a83dad1fa"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}