API reference
Base URL: https://api.unifyunits.com
All responses use Content-Type: application/json. Values are always decimal strings. Every response includes anX-Request-Id header.
| Method | Path | Auth | Summary |
|---|---|---|---|
| GET | /v1/convert | Bearer | Single conversion via query parameters |
| POST | /v1/convert | Bearer | Single conversion via JSON body |
| POST | /v1/batch | Bearer | Convert up to 100 measurements in one request |
| GET | /v1/categories | Public | List all measurement categories |
| GET | /v1/categories/:category | Public | Get a single category with its units |
| GET | /v1/units | Public | List all supported units |
| GET | /v1/units/:unit | Public | Get metadata for a single unit |
| GET | /v1/health | Public | Service health check |
| GET | /openapi.json | Public | OpenAPI 3.1 specification |
Also see errors and the liveOpenAPI 3.1 contract.