/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/tnt-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tnt-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tnt-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/tnt-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "Charge in kg TNT, distance in m, energy in J, overpressure in kPa/bar/psi. The cube-root law means equal Z gives equal overpressure. For education and first-order safety estimates.",
"service": "tnt-api",
"formulae": {
"energy": "E = mass · 4.184 MJ/kg",
"overpressure": "Brode (1955): ΔP(bar) from Z",
"scaled_distance": "Z = R / W^(1/3)"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/energy": "Energy from a TNT mass, or the TNT equivalent of an energy.",
"GET /v1/overpressure": "Peak overpressure and damage assessment from scaled distance (or distance + charge).",
"GET /v1/scaled-distance": "Hopkinson-Cranz scaled distance Z from standoff and charge (or the inverse)."
},
"description": "Blast-effects calculator (safety engineering): TNT-equivalent energy, Hopkinson-Cranz scaled distance and Brode peak overpressure with a damage assessment."
},
"meta": {
"timestamp": "2026-06-05T11:30:31.815Z",
"request_id": "6c883074-1895-4a34-9a1f-66c9fe500c77"
},
"status": "ok",
"message": "Meta",
"success": true
}