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/propane-api

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/propane-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/propane-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/propane-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/propane-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

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

{
    "data": {
        "notes": "US units. unit=lb treats tank_size as a cylinder's propane weight (20/30/40 lb); unit=gal treats it as a bulk tank's water capacity, filled to 80 %. 4.24 lb/gal, 91,452 BTU/gal. For vehicle fuel economy or the ideal gas law use a different API.",
        "service": "propane-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/tank": "Usable propane (lb & gal) and total BTU for a cylinder or bulk tank.",
            "GET /v1/refill": "Fill cost and operating cost per hour from a price per gallon.",
            "GET /v1/burntime": "How long a tank runs an appliance of a given BTU/hr rating."
        },
        "description": "Propane / LPG tank maths: usable fill, BTU energy content, appliance burn time, and refill economics."
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:06.387Z",
        "request_id": "73f3eeff-b49e-4443-82fb-99e42b652933"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}