/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/mulch-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mulch-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mulch-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/mulch-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "Set unit=m (default) or unit=ft for lengths; depth may also be given as depth_cm or depth_inches. Volume is reported in m³, cubic yards, cubic feet and litres. For structural concrete mixes use a concrete API.",
"service": "mulch-api",
"endpoints": {
"GET /v1/bags": "Number of bags to supply a required volume.",
"GET /v1/meta": "This document.",
"GET /v1/volume": "Material volume from a bed's area (or dimensions) and depth.",
"GET /v1/coverage": "Area a given volume covers at a depth."
},
"description": "Landscape material volume — mulch, topsoil, compost or gravel for a bed: volume from area and depth, coverage, and bag counts."
},
"meta": {
"timestamp": "2026-06-05T19:50:21.555Z",
"request_id": "c37a8599-140b-4646-a8cc-9d3e2bb906e4"
},
"status": "ok",
"message": "Meta",
"success": true
}