TidyData APIsAll APIsPricing

Unit Converter API

Convert between 300+ units (length, weight, volume, temperature, speed, data, energy, time...) and evaluate math expressions safely (functions, constants, units, matrices).

Authentication & base URL

Subscribe through one of our marketplace listings; your marketplace API key and base URL are shown there. All endpoints return JSON over HTTPS, served from a global edge network (typically 20–150 ms).

Subscribe on RapidAPI

Endpoints

GET /v1/units/convert

Convert units

ParameterInDescriptionExample
value *queryNumber10
from *queryUnit fromkm
to *queryUnit tomile

GET /v1/math/evaluate

Evaluate expression

ParameterInDescriptionExample
expr *queryExpression2*(3+4)^2 + sqrt(16)

Example

GET /v1/units/convert?value=10&from=km&to=mile

{
  "value": 10,
  "from": "km",
  "to": "mile",
  "result": 6.21371192237,
  "text": "10 km = 6.2137119 mile"
}

Convert between 300+ units (length, weight, volume, temperature, speed, data, energy, time...) and evaluate math expressions safely (functions, constants, units, matrices).

Use cases

Shopping and recipe apps, engineering and education tools, spreadsheets and chatbots that need reliable math.

Why this API

Pricing

Free plan with 500 calls per month, then Pro (25,000 calls for $4.99/month) and Ultra (150,000 calls for $14.99/month). See all plans.