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

Weight ↔ thickness

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

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

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

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

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

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

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

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

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

{
    "data": {
        "note": "Leather weight IS its thickness: 1 oz = 1/64 inch = 0.397 mm. Leather is often sold in a 2-oz range (e.g. 8-9 oz) because thickness varies across a hide. Quoted weight is per square foot but only depends on thickness.",
        "inches": 0.125,
        "inputs": {
            "from": "oz",
            "value": 8
        },
        "ounces": 8,
        "millimeters": 3.175,
        "typical_use": "belts, straps, holsters",
        "weight_range_oz": "8-8 oz"
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:01.709Z",
        "request_id": "e87e574b-e5d6-4283-af12-a8602b374847"
    },
    "status": "ok",
    "message": "Leather thickness",
    "success": true
}