/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/abv-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/abv-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/abv-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/abv-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "Ethanol density 0.789 g/ml; US standard drink = 14 g; UK unit = 10 ml; 1 fl oz = 29.5735 ml. Volumes in /v1/abv can be any single consistent unit. For drink recipes use a cocktails database API.",
"service": "abv-api",
"endpoints": {
"GET /v1/abv": "Final ABV (and US proof) of a mixed drink from a 'volume:abv' ingredient list.",
"GET /v1/meta": "This document.",
"GET /v1/dilution": "Volume and ABV after ice-melt / stirring dilution.",
"GET /v1/standard": "US standard drinks, UK units and grams of alcohol for a volume at an ABV."
},
"description": "Alcohol / cocktail maths: final ABV of a mixed drink, dilution from ice, and standard-drink / unit counting."
},
"meta": {
"timestamp": "2026-06-06T07:14:04.407Z",
"request_id": "5aa482de-ba24-49d0-921f-a547a8d0f319"
},
"status": "ok",
"message": "Meta",
"success": true
}