About the API:
This API will allow you to convert any unit you want to the one that you desire. Be able to programmatically convert any unit. Fast, simple, and reliable.
This API provides all the supported units of measurement in one endpoint. With that information, you will be able to convert from any unit to the ones that you want. Simple as that.
This API is ideal for those users that handle information and need to deliver different units depending on the products that they have. Be able to deliver fast the conversion.
Create a converter app, create reports with different units, and more...
Besides the number of API calls per month, there are no other limitations.
Convert any value between diverse measurement units including length, weight, temperature, volume, speed, and more with accurate, instant, reliable results.
meter, kilometer, centimeter, millimeter, micrometer, nanometer, mile, yard, foot, inch, nautical_mile, furlong, light_year, astronomical_unit
cubic_meter, liter, milliliter, gallon, quart, pint, cup, fluid_ounce, tablespoon, teaspoon, cubic_foot, cubic_inch, cubic_centimeter, cubic_millimeter
square_meter, square_kilometer, square_centimeter, square_millimeter, square_mile, square_yard, square_foot, square_inch, acre, hectare
celsius, fahrenheit, kelvin
kilogram, gram, milligram, metric_ton, pound, ounce, stone, us_ton, imperial_ton, carat
second, millisecond, microsecond, nanosecond, minute, hour, day, week, month, year, decade, century
meter_per_second, kilometer_per_hour, mile_per_hour, knot, foot_per_second
newton, kilonewton, pound_force, dyne
watt, kilowatt, megawatt, horsepower, btu_per_hour
pascal, kilopascal, megapascal, bar, psi, atmosphere, torr, millimeter_of_mercury
joule, kilojoule, calorie, kilocalorie, watt_hour, kilowatt_hour, electron_volt, british_thermal_unit, us_therm, foot_pound
Converts Units - Endpoint Features
| Object | Description |
|---|---|
amount |
[Required] Enter a value |
unit |
[Required] Enter a unit |
{"type": "length", "unit": "meter", "amount": 10, "conversions": {"meter": 10, "kilometer": 0.01, "centimeter": 1000, "millimeter": 10000, "micrometer": 10000000, "nanometer": 10000000000, "mile": 0.00621373, "yard": 10.936133, "foot": 32.808399, "inch": 393.700787, "nautical_mile": 0.00539957, "furlong": 0.0497097, "light_year": 0.0, "astronomical_unit": 0.0}}
curl --location --request GET 'https://zylalabs.com/api/189/measurement+unit+conversion+api/7014/converts+units?amount=10&unit=meter' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The "GET List of units" endpoint returns an array of supported measurement units, while the "GET Converts Units" endpoint returns a JSON object containing the converted value and its abbreviation.
For the "GET List of units," the key field is the array of unit names. For "GET Converts Units," the key fields are "value" (the converted amount) and "abbreviation" (the unit symbol).
The "GET List of units" returns a simple array format, while the "GET Converts Units" provides a structured JSON object. This organization allows easy access to unit names and conversion results.
This endpoint requires three parameters: the measure type, the base unit, and the target unit for conversion, along with the value to convert. Users must specify these to receive accurate results.
The "GET List of units" endpoint provides a comprehensive list of all supported measurement units across various categories, such as length, mass, temperature, and more.
Users can utilize the returned data by integrating it into applications for real-time conversions, generating reports with varied units, or creating user-friendly interfaces for unit conversion tasks.
Common use cases include developing converter applications, generating reports with multiple measurement units, and facilitating data analysis where unit conversions are necessary for clarity.
The API relies on standardized measurement units and conversion formulas, ensuring consistent and accurate results. Regular updates and quality checks help maintain data integrity.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
297ms
Service Level:
100%
Response Time:
392ms
Service Level:
100%
Response Time:
425ms
Service Level:
100%
Response Time:
291ms
Service Level:
100%
Response Time:
1,118ms
Service Level:
100%
Response Time:
1,277ms
Service Level:
100%
Response Time:
548ms
Service Level:
100%
Response Time:
3,928ms
Service Level:
100%
Response Time:
527ms
Service Level:
71%
Response Time:
242ms
Service Level:
100%
Response Time:
7,680ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
11,595ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
8,511ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
15ms
Service Level:
100%
Response Time:
16ms