Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/flooring-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "notes": "Floor area in m² (or length × width in m). Tile size in cm for /tile, mm for /grout. Estimates — always confirm against the manufacturer's coverage and buy a little extra.",
        "service": "flooring-api",
        "formulae": {
            "grout": "((A+B)/(A·B))·joint·thickness·density per m²",
            "packs": "ceil(area·(1+waste) / coverage_per_pack)",
            "tiles": "ceil(area·(1+waste) / tile_area)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/tile": "Number of tiles (and boxes) for a floor area, with a waste allowance.",
            "GET /v1/grout": "Grout quantity in kg for a tiled area from the tile size and joint.",
            "GET /v1/packs": "Packs/boxes of laminate, vinyl or carpet from a per-pack coverage."
        },
        "description": "Flooring and tiling material estimator: tiles needed for a floor, packs from a per-pack coverage, and grout quantity."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:18.312Z",
        "request_id": "ed648ab5-f1aa-4e5a-b2c9-dc2f7545bcca"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}