Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/soundproof-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}