/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/steppermotor-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/steppermotor-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/steppermotor-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/steppermotor-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": "Metric (mm, µm, Hz, mm/s). Lead-screw: steps/mm = (steps×microstep)/lead; belt: ÷(teeth×pitch); speed = step Hz ÷ steps/mm. Microstepping adds smoothness, not accuracy. For CNC surface finish use a CNC-finish API; for gear ratios a gear-ratio API.",
"service": "steppermotor-api",
"endpoints": {
"GET /v1/belt": "Steps per mm for a belt-and-pulley axis.",
"GET /v1/meta": "This document.",
"GET /v1/speed": "Axis speed from steps-per-mm and the step pulse rate.",
"GET /v1/leadscrew": "Steps per mm for a lead-screw/ball-screw axis."
},
"description": "Stepper-motor motion maths: steps-per-mm for lead-screw and belt axes, and axis speed from the step rate."
},
"meta": {
"timestamp": "2026-06-06T23:53:52.643Z",
"request_id": "80b25329-e658-4840-a775-45bec706606f"
},
"status": "ok",
"message": "Meta",
"success": true
}