/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/landscape-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/landscape-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/landscape-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/landscape-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Densities are typical values; bulk material varies with moisture and compaction — order ~5–10% extra.",
"service": "landscape",
"endpoints": {
"/v1/depth": "Inverse: the depth an available volume (or bag count) gives over an area.",
"/v1/coverage": "Volume (yd³/m³/ft³), weight (tons/tonnes/kg) and bags to cover an area at a depth.",
"/v1/material": "Density reference and how much area one cubic yard covers at 1–4 inch depths."
},
"materials": [
"mulch",
"compost",
"topsoil",
"gravel",
"sand"
],
"description": "Landscaping material maths: volume, weight and bags to cover an area at a depth, the inverse depth, and a material density reference."
},
"meta": {
"timestamp": "2026-06-03T17:41:57.200Z",
"request_id": "c78fa791-237a-4d68-88fb-f5b49f0b8394"
},
"status": "ok",
"message": "Meta",
"success": true
}