Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/brake-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "notes": "Speed in km/h by default (unit: kmh, ms or mph), mass in kg, distances in m, friction coefficient ~0.7 dry asphalt / ~0.4 wet / ~0.1 ice. Grade is the fractional road slope (positive uphill).",
        "service": "brake-api",
        "formulae": {
            "skid_speed": "v = √(2·μ·g·d)",
            "braking_distance": "d = v²/(2·μ·g)",
            "stopping_distance": "reaction (v·t) + braking"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/skid-speed": "Speed at the start of a skid from the skid-mark length (accident reconstruction).",
            "GET /v1/braking-force": "Braking force and deceleration from mass and either stop distance or friction.",
            "GET /v1/stopping-distance": "Reaction, braking and total stopping distance from speed, friction and reaction time."
        },
        "description": "Vehicle-braking calculator: total stopping distance (reaction + braking), braking force and deceleration, and the speed implied by a skid-mark length."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:27.365Z",
        "request_id": "89a61d08-2e9c-4af6-9c06-a663a544c6a7"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}