/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/soundproof-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/soundproof-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/soundproof-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/soundproof-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "Surface density in kg/m², frequency in Hz, levels and TL in dB, areas in m². Mass law is field-incidence; real walls deviate near the coincidence frequency.",
"service": "soundproof-api",
"formulae": {
"mass_law": "TL = 20·log10(m·f) − 47 dB",
"composite": "TL = −10·log10(Σ(Ai·τi)/ΣAi)",
"transmission": "received = source − TL"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/mass-law": "Transmission loss of a single partition from its surface density and frequency.",
"GET /v1/composite": "Combined TL of a wall made of several elements (e.g. wall plus window).",
"GET /v1/transmission": "Received sound level through a partition, optionally room-to-room."
},
"description": "Soundproofing calculator: mass-law sound-transmission loss of a partition, composite TL of a wall with multiple elements, and the received noise level through a partition."
},
"meta": {
"timestamp": "2026-06-05T11:30:29.593Z",
"request_id": "8843060a-9e4e-4b9d-a732-38c0adfe9947"
},
"status": "ok",
"message": "Meta",
"success": true
}