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/canning-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/canning-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/canning-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/canning-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/canning-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": "Altitude in feet or metres. Water-bath adds 5–20 min (≤20 min base) or 10–40 (>20 min) by band; dial pressure +1 psi per 2,000 ft; weighted 10/15 psi. Food-safety guidance from USDA tables — always follow a tested recipe.",
        "service": "canning-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/pressure": "Altitude-adjusted pressure for a dial or weighted gauge canner.",
            "GET /v1/waterbath": "Altitude-adjusted boiling-water-bath / steam processing time.",
            "GET /v1/boilingpoint": "Boiling point of water at a given altitude."
        },
        "description": "Home-canning maths: USDA altitude adjustments for boiling-water-bath processing time and pressure-canner pressure, plus water's boiling point at altitude."
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:03.274Z",
        "request_id": "d579844c-3fee-40a8-a2c6-35c02ca0bbb2"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}