Unit Converter API

Unit Converter API

The Unit Converter API is a powerful tool that allows developers to easily convert between different units of measure for a wide range of quantities. With just a few lines of code, developers can convert between units of length, weight, volume, temperature, and more, making it easy to build applications that require unit conversion functionality.

API description

About the API: 

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. For example, developers can use the API to convert between different units of length, such as meters, feet, and inches, or between different units of weight, such as grams, ounces, and pounds.

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.

 

What this API receives and what your API provides (input/output)?

Pass the from unit, the target unit, and the value to convert. Receive the converted value. 

 

What are the most common uses cases of this API?

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

 

Are there any limitations to your plans?

Besides the number of API calls, there is no other limitation

API Documentation

Endpoints


Get the list of available quantities.

 



                                                                            
GET https://zylalabs.com/api/1832/unit+converter+api/1492/get+quantities
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            ["Acceleration","AmountOfSubstance","AmplitudeRatio","Angle","ApparentEnergy","ApparentPower","Area","AreaDensity","AreaMomentOfInertia","BitRate","BrakeSpecificFuelConsumption","Capacitance","CoefficientOfThermalExpansion","Density","Duration","DynamicViscosity","ElectricAdmittance","ElectricCharge","ElectricChargeDensity","ElectricConductance","ElectricConductivity","ElectricCurrent","ElectricCurrentDensity","ElectricCurrentGradient","ElectricField","ElectricInductance","ElectricPotential","ElectricPotentialAc","ElectricPotentialChangeRate","ElectricPotentialDc","ElectricResistance","ElectricResistivity","ElectricSurfaceChargeDensity","Energy","Entropy","Force","ForceChangeRate","ForcePerLength","Frequency","FuelEfficiency","HeatFlux","HeatTransferCoefficient","Illuminance","Information","Irradiance","Irradiation","KinematicViscosity","LapseRate","Length","Level","LinearDensity","LinearPowerDensity","Luminosity","LuminousFlux","LuminousIntensity","MagneticField","MagneticFlux","Magnetization","Mass","MassConcentration","MassFlow","MassFlux","MassFraction","MassMomentOfInertia","MolarEnergy","MolarEntropy","Molarity","MolarMass","Permeability","Permittivity","Power","PowerDensity","PowerRatio","Pressure","PressureChangeRate","Ratio","RatioChangeRate","ReactiveEnergy","ReactivePower","ReciprocalArea","ReciprocalLength","RelativeHumidity","RotationalAcceleration","RotationalSpeed","RotationalStiffness","RotationalStiffnessPerLength","Scalar","SolidAngle","SpecificEnergy","SpecificEntropy","SpecificFuelConsumption","SpecificVolume","SpecificWeight","Speed","StandardVolumeFlow","Temperature","TemperatureChangeRate","TemperatureDelta","ThermalConductivity","ThermalResistance","Torque","TorquePerLength","Turbidity","VitaminA","Volume","VolumeConcentration","VolumeFlow","VolumePerLength","VolumetricHeatCapacity","WarpingMomentOfInertia"]
                                                                                                                                                                                                                    
                                                                                                    

Get Quantities - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1832/unit+converter+api/1492/get+quantities' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get the full names of units of measure for a given quantity.

 

Quantity to get the unit's full names.

Valid quantity names can be retrieved from the /Quantities endpoint.



                                                                            
GET https://zylalabs.com/api/1832/unit+converter+api/1493/get+units+for+quantity
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            ["AstronomicalUnit","Centimeter","Chain","Decimeter","DtpPica","DtpPoint","Fathom","Foot","Hand","Hectometer","Inch","KilolightYear","Kilometer","Kiloparsec","LightYear","MegalightYear","Megaparsec","Meter","Microinch","Micrometer","Mil","Mile","Millimeter","Nanometer","NauticalMile","Parsec","PrinterPica","PrinterPoint","Shackle","SolarRadius","Twip","UsSurveyFoot","Yard"]
                                                                                                                                                                                                                    
                                                                                                    

Get Units for Quantity - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1832/unit+converter+api/1493/get+units+for+quantity&quantity=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Get the full names of units of measure for a given quantity.

 

Quantity to get the units abbreviations for.

Valid quantity names can be retrieved from the /Quantities endpoint.



                                                                            
GET https://zylalabs.com/api/1832/unit+converter+api/1494/abbreviations+for+quantity
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            ["CentimeterPerSecondSquared","DecimeterPerSecondSquared","FootPerSecondSquared","InchPerSecondSquared","KilometerPerSecondSquared","KnotPerHour","KnotPerMinute","KnotPerSecond","MeterPerSecondSquared","MicrometerPerSecondSquared","MillimeterPerSecondSquared","MillistandardGravity","NanometerPerSecondSquared","StandardGravity"]
                                                                                                                                                                                                                    
                                                                                                    

Abbreviations for Quantity - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1832/unit+converter+api/1494/abbreviations+for+quantity&quantity=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Use this endpoint to do the actual conversion.

 



                                                                            
GET https://zylalabs.com/api/1832/unit+converter+api/1495/converter
                                                                            
                                                                        

Converter - Endpoint Features
Object Description
from [Required] Unit of Measure to convert from. Both abbreviations as well as full names can be used.
to [Required] Unit of Measure to convert to. Both abbreviations as well as full names can be used, but from and to should be the same.
value [Required] The value to convert from the 'from' unit of measure to the 'to' unit of measure. Please use a decimal point as the decimal separator.
quantity [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"quantity":"Length","from_unit":"Meter","to_unit":"Millimeter","value":1.5,"result":1500}
                                                                                                                                                                                                                    
                                                                                                    

Converter - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1832/unit+converter+api/1495/converter?from=Meter&to=Millimeter&value=1.5&quantity=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Unit Converter API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
590ms

Category:


Tags:


Related APIs