API Documentation
MotionConvert provides a RESTful API for programmatic access to unit conversion and drivetrain calculations.
Authentication
All API requests require authentication via a Bearer token. Generate an API key from your Account → API Keys page.
Include this header in every request. Requests without a valid token return 401 Unauthorized.
Rate Limits
Rate limits depend on your account tier:
| Tier | Requests/Hour |
|---|---|
| Free | 60 |
| Paid | 300 |
| Pro | 1,000 |
Endpoints
GET /api/v1/units/
List all available unit categories and their units.
Response:POST /api/v1/convert/
Convert a value from one unit to another.
Request:POST /api/v1/drivetrain/calculate/
Calculate drivetrain output (speed, torque, ratio) from motor and gear stage configuration.
Request:Error Responses
Errors return a JSON object with an error field:
| Status | Meaning |
|---|---|
400 | Bad request (invalid JSON, missing fields) |
401 | Authentication required |
403 | Tier limit exceeded |
429 | Rate limit exceeded |
500 | Server error |