The Unit Converter API is a versatile and powerful tool that provides developers with an easy way to convert between different units of measure for a wide range of quantities. This API enables developers to build applications that require unit conversion functionality, making it easier for users to convert between different units of measure, such as length, weight, volume, temperature, and more.
With the Unit Converter API, developers can quickly and easily integrate unit conversion functionality into their applications, without the need for complex calculations or manual conversions. The API provides a simple and intuitive interface that allows developers to specify the quantity they want to convert, as well as the source and target units of measure.
The Unit Converter API supports a wide range of quantities, including length, weight, volume, temperature, time, speed, pressure, and more.
One of the key advantages of the Unit Converter API is its flexibility. The API supports a wide range of units of measure, including both standard and non-standard units, and allows developers to customize the list of supported units to fit their specific needs. This makes it possible to create custom unit conversion functionality that is tailored to the specific requirements of the application.
The Unit Converter API is also highly reliable and efficient, with fast response times and high availability. It has been thoroughly tested to ensure that it can handle high volumes of requests without slowing down or crashing, making it an ideal solution for applications that require fast and accurate unit conversions.
Overall, the Unit Converter API is an excellent tool for developers who need to build applications that require unit conversion functionality. Whether you are building a mobile app, a web application, or a desktop program, the API can help you provide your users with fast and accurate unit conversion functionality, making it easier for them to work with different units of measure and achieve their goals more efficiently.
Pass the from unit, the target unit, and the value to convert. Receive the converted value.
Travel apps: Travel apps can use the Unit Converter API to provide users with easy access to unit conversion functionality. For example, users can convert between different units of temperature, distance, and currency when traveling to a foreign country.
E-commerce: E-commerce websites can use the Unit Converter API to allow customers to convert between different units of measure when shopping for products. For example, customers can convert between different units of weight or volume when comparing products from different vendors.
Education: Education apps can use the Unit Converter API to teach students about units of measure and unit conversions. For example, students can use the API to convert between different units of length or volume when learning about geometry or physics.
Fitness apps: Fitness apps can use the Unit Converter API to provide users with easy access to unit conversion functionality. For example, users can convert between different units of weight or distance when tracking their workouts.
Industrial applications: Industrial applications such as manufacturing or construction can use the Unit Converter API to convert between different units of measure for materials or products. For example, engineers can convert between different units of pressure or temperature when designing or testing products.
Besides the number of API calls, there is no other limitation
{"kg-g":{"value":1000,"name":"kilograms to grams"},"g-kg":{"value":0.001,"name":"grams to kilograms"},"lb-kg":{"value":0.453592,"name":"pounds to kilograms"},"kg-lb":{"value":2.20462,"name":"kilograms to pounds"},"oz-g":{"value":28.3495,"name":"ounces to grams"},"g-oz":{"value":0.035274,"name":"grams to ounces"},"km-m":{"value":1000,"name":"kilometers to meters"},"m-km":{"value":0.001,"name":"meters to kilometers"},"mi-km":{"value":1.60934,"name":"miles to kilometers"},"km-mi":{"value":0.621371,"name":"kilometers to miles"},"l-ml":{"value":1000,"name":"liters to milliliters"},"ml-l":{"value":0.001,"name":"milliliters to liters"},"gal-l":{"value":3.78541,"name":"gallons to liters"},"l-gal":{"value":0.264172,"name":"liters to gallons"},"ft-m":{"value":0.3048,"name":"feet to meters"},"m-ft":{"value":3.28084,"name":"meters to feet"},"in-cm":{"value":2.54,"name":"inches to centimeters"},"cm-in":{"value":0.393701,"name":"centimeters to inches"},"F-C":{"value":[-32,0.5556],"name":"Fahrenheit to Celsius"},"C-F":{"value":[32,1.8],"name":"Celsius to Fahrenheit"},"N-kgf":{"value":0.10197,"name":"Newtons to kilogram-force"},"kgf-N":{"value":9.80665,"name":"kilogram-force to Newtons"},"atm-Pa":{"value":101325,"name":"Atmosphere to pascal"},"Pa-atm":{"value":9.86923e-6,"name":"pascal to atmosphere"},"J-cal":{"value":4.184,"name":"joules to calories"},"cal-J":{"value":0.239006,"name":"calories to joules"},"J-kWh":{"value":2.77778e-7,"name":"joules to kilowatt-hours"},"kWh-J":{"value":3600000,"name":"kilowatt-hours to joules"},"mph-kmh":{"value":1.60934,"name":"miles per hour to kilometers per hour"},"kmh-mph":{"value":0.621371,"name":"kilometers per hour to miles per hour"},"kW-hp":{"value":1.34102,"name":"kilowatts to horsepower"},"hp-kW":{"value":0.7457,"name":"horsepower to kilowatts"},"N-lbf":{"value":0.224809,"name":"Newtons to pound-force"},"lbf-N":{"value":4.44822,"name":"pound-force to Newtons"},"W-hp":{"value":0.001341,"name":"watts to horsepower"},"hp-W":{"value":745.7,"name":"horsepower to watts"},"J-BTU":{"value":0.000947817,"name":"joules to British thermal units"},"BTU-J":{"value":1055.056,"name":"British thermal units to joules"},"J-Wh":{"value":0.000277778,"name":"joules to watt-hours"},"Wh-J":{"value":3600,"name":"watt-hours to joules"},"Pa-bar":{"value":1.0e-5,"name":"pascal to bar"},"bar-Pa":{"value":100000,"name":"bar to pascal"},"Pa-psi":{"value":0.000145038,"name":"pascal to pound per square inch"},"psi-Pa":{"value":6894.76,"name":"pound per square inch to pascal"},"kg-tonne":{"value":0.001,"name":"kilograms to metric tonne"},"tonne-kg":{"value":1000,"name":"metric tonne to kilograms"},"deg-rad":{"value":0.0174533,"name":"degrees to radians"},"rad-deg":{"value":57.2958,"name":"radians to degrees"},"m\/s-ft\/s":{"value":3.28084,"name":"meters per second to feet per second"},"ft\/s-m\/s":{"value":0.3048,"name":"feet per second to meters per second"},"m\/s-mph":{"value":2.23694,"name":"meters per second to miles per hour"},"mph-m\/s":{"value":0.44704,"name":"miles per hour to meters per second"},"m\/s-km\/h":{"value":3.6,"name":"meters per second to kilometers per hour"},"km\/h-m\/s":{"value":0.277778,"name":"kilometers per hour to meters per second"},"m-yd":{"value":1.09361,"name":"meters to yards"},"yd-m":{"value":0.9144,"name":"yards to meters"},"m-mi":{"value":0.000621371,"name":"meters to miles"},"mi-m":{"value":1609.34,"name":"miles to meters"},"m-nmi":{"value":0.000539957,"name":"meters to nautical miles"},"nmi-m":{"value":1852,"name":"nautical miles to meters"},"m-ang":{"value":1.0e-10,"name":"meters to angustroms"},"ang-m":{"value":10000000000,"name":"angstroms to meters"},"m-ly":{"value":1.057e-16,"name":"meters to light years"},"ly-m":{"value":9461000000000000,"name":"light years to meters"},"m-pc":{"value":3.086e-16,"name":"meters to parsecs"},"pc-m":{"value":32620000000000000,"name":"parsecs to meters"},"m-au":{"value":6.685e-12,"name":"meters to astronomical units"},"au-m":{"value":149600000000,"name":"astronomical units to meters"},"kPa-bar":{"value":0.01,"name":"kilopascals to bar"},"bar-kPa":{"value":100,"name":"bar to kilopascals"},"MPa-bar":{"value":10,"name":"Mega pascals to bars"},"bar-MPa":{"value":0.1,"name":"bars to Mega pascals"},"MJ-J":{"value":1000000,"name":"Mega joules to joules"},"J-MJ":{"value":1.0e-6,"name":"joules to Mega joules"},"kJ-J":{"value":1000,"name":"kilojoules to joules"},"J-kJ":{"value":0.001,"name":"joules to kilojoules"},"eV-J":{"value":1.60218e-19,"name":"electronvolts to joules"},"J-eV":{"value":6.241509e+18,"name":"joules to electronvolts"},"s-min":{"value":0.0166667,"name":"seconds to minutes"},"min-s":{"value":60,"name":"minutes to seconds"},"s-h":{"value":0.000277778,"name":"seconds to hours"},"h-s":{"value":3600,"name":"hours to seconds"},"s-d":{"value":1.15741e-5,"name":"seconds to days"},"d-s":{"value":86400,"name":"days to seconds"},"s-week":{"value":1.65344e-6,"name":"seconds to weeks"},"week-s":{"value":604800,"name":"weeks to seconds"},"year-d":{"value":365,"name":"years to days"},"d-year":{"value":0.00273973,"name":"days to years"},"year-s":{"value":31557600,"name":"years to seconds"},"l-oz":{"value":33.814,"name":"liters to ounces"},"oz-l":{"value":0.029574,"name":"ounces to liters"},"lb-oz":{"value":16,"name":"pounds to ounces"},"oz-lb":{"value":0.0625,"name":"ounces to pounds"},"ft-in":{"value":12,"name":"feet to inches"},"in-ft":{"value":0.083333,"name":"inches to feet"},"tsp-ml":{"value":4.92892,"name":"teaspoons to milliliters"},"ml-tsp":{"value":0.202884,"name":"milliliters to teaspoons"},"tbsp-ml":{"value":14.7868,"name":"tablespoons to milliliters"},"ml-tbsp":{"value":0.067628,"name":"milliliters to tablespoons"},"cup-ml":{"value":236.588,"name":"cups to milliliters"},"ml-cup":{"value":0.00422675,"name":"milliliters to cups"},"floz-ml":{"value":29.5735,"name":"fluid ounces to milliliters"},"ml-floz":{"value":0.033814,"name":"milliliters to fluid ounces"},"pint-ml":{"value":473.176,"name":"pints to milliliters"},"ml-pint":{"value":0.00211338,"name":"milliliters to pints"},"quart-ml":{"value":946.353,"name":"quarts to milliliters"},"ml-quart":{"value":0.00105701,"name":"milliliters to quarts"},"gal-ml":{"value":3785.41,"name":"gallons to milliliters"},"ml-gal":{"value":0.000264172,"name":"milliliters to gallons"}}
curl --location --request GET 'https://zylalabs.com/api/1832/unit+converter+api/5959/measurements' --header 'Authorization: Bearer YOUR_API_KEY'
{"input":{"value":"10000","unit":"g"},"output":{"value":10,"unit":"kg"}}
curl --location --request GET 'https://zylalabs.com/api/1832/unit+converter+api/5960/conversion+units?value=10000&input_unit=g&output_unit=kg' --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 Measurements" endpoint returns a mapping of unit conversions, including the conversion factor and names for various units. The "GET Conversion units" endpoint returns the input value and unit, along with the converted output value and unit.
Key fields in the "GET Measurements" response include "value" (conversion factor) and "name" (description of the conversion). In the "GET Conversion units" response, key fields are "input" (original value and unit) and "output" (converted value and unit).
The "GET Conversion units" endpoint requires three parameters: the value to convert, the source unit, and the target unit. The "GET Measurements" endpoint does not require parameters and returns all available units.
The "GET Measurements" response is organized as a JSON object with unit pairs as keys and their conversion details as values. The "GET Conversion units" response is structured as a JSON object containing "input" and "output" objects for clarity.
Typical use cases include travel apps for converting distances and temperatures, e-commerce sites for comparing product weights, and educational tools for teaching unit conversions in science classes.
Users can utilize the returned data by extracting the conversion factor from the response to perform calculations. For example, to convert 100 grams to kilograms, use the conversion factor from the "GET Measurements" response.
Data accuracy is maintained through rigorous testing and validation of conversion factors. The API ensures that all units are based on standardized measurements, providing reliable conversions.
Users can expect consistent data patterns, such as conversion factors being numerical values and unit names being strings. The structure remains uniform across different types of measurements, facilitating easy integration into applications.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
425ms
Service Level:
100%
Response Time:
522ms
Service Level:
100%
Response Time:
235ms
Service Level:
71%
Response Time:
226ms
Service Level:
100%
Response Time:
291ms
Service Level:
100%
Response Time:
302ms
Service Level:
100%
Response Time:
1,118ms
Service Level:
100%
Response Time:
459ms
Service Level:
100%
Response Time:
3,929ms
Service Level:
100%
Response Time:
1,277ms
Service Level:
100%
Response Time:
985ms
Service Level:
100%
Response Time:
904ms
Service Level:
100%
Response Time:
1,983ms
Service Level:
100%
Response Time:
636ms
Service Level:
100%
Response Time:
943ms
Service Level:
100%
Response Time:
1,765ms
Service Level:
100%
Response Time:
3,054ms
Service Level:
100%
Response Time:
323ms
Service Level:
100%
Response Time:
238ms
Service Level:
88%
Response Time:
1,588ms