/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/chaindrive-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chaindrive-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chaindrive-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/chaindrive-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "US units (inches, teeth, rpm). L = 2C + (N1+N2)/2 + ((N2−N1)/2π)²/C (round up to even); PCD = pitch/sin(180°/N); speed = pitch·teeth·rpm/12. ANSI #40 = 0.5\" pitch. For gear ratios use a gear-ratio API; for belts use a pulley API.",
"service": "chaindrive-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/speed": "Chain linear speed from teeth, pitch and rpm.",
"GET /v1/sprocket": "Sprocket pitch and outside diameter from teeth and pitch.",
"GET /v1/chain-length": "Chain length (pitches & inches) from sprocket teeth, pitch and centre distance."
},
"description": "Roller-chain drive maths: chain length from sprockets and centre distance, sprocket pitch/outside diameter, and chain linear speed."
},
"meta": {
"timestamp": "2026-06-06T23:53:58.683Z",
"request_id": "ca8c53ab-0388-4d6a-b452-c4c0b48cd93b"
},
"status": "ok",
"message": "Meta",
"success": true
}