VOOZH about

URL: https://apify.com/moving_beacon-owner1/unit-converter-input

โ‡ฑ Unit Converter Input ยท Apify


Pricing

from $1.00 / 1,000 results

Go to Apify Store

Unit Converter Input

A versatile tool to **convert numeric values between different units**, with support for **single and batch conversions**. Works for length, weight, temperature, volume, and more.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

2 months ago

Last modified

Share

โš–๏ธ Unit Converter

A versatile tool to convert numeric values between different units, with support for single and batch conversions. Works for length, weight, temperature, volume, and more.


๐Ÿš€ Features

  • Convert a single value from one unit to another
  • Supports batch conversions for multiple values in one request
  • Flexible unit types: length (km, miles), weight (lb, kg), volume (liter, gallon), temperature (C, F), and more
  • Easy to integrate into web apps, scripts, or automation pipelines
  • Clear and structured JSON output

๐Ÿ“ฅ Input Schema

FieldTypeRequiredDefaultDescription
valuenumberโœ… Yesโ€”Numeric value to convert. Must be non-negative.
fromUnitstringโœ… Yesโ€”Source unit (e.g., km, lb, celsius, liter).
toUnitstringโœ… Yesโ€”Target unit (e.g., miles, kg, fahrenheit, gallon).
batchConversionsarrayโŒ No[]Optional array of {value, fromUnit, toUnit} objects for batch conversion. Overrides single conversion if provided.

โš™๏ธ How It Works

  1. Single Conversion

    • Converts value from fromUnit to toUnit using standard conversion formulas.
  2. Batch Conversion

    • If batchConversions is provided, converts all items in the array.
    • Each object must have value, fromUnit, and toUnit.
  3. Supported Units

    • Length: km, miles, m, cm, inches, ft
    • Weight: kg, lb, g, oz
    • Volume: liter, gallon, ml, cup
    • Temperature: celsius, fahrenheit, kelvin

๐Ÿงฎ Examples

Single Conversion

Input

{
"value":10,
"fromUnit":"km",
"toUnit":"miles"
}

Output

{
"value":10,
"fromUnit":"km",
"toUnit":"miles",
"convertedValue":6.2137
}

Batch Conversion

Input

{
"batchConversions":[
{"value":10,"fromUnit":"km","toUnit":"miles"},
{"value":5,"fromUnit":"lb","toUnit":"kg"}
]
}

Output

[
{"value":10,"fromUnit":"km","toUnit":"miles","convertedValue":6.2137},
{"value":5,"fromUnit":"lb","toUnit":"kg","convertedValue":2.26796}
]

๐Ÿ—๏ธ Use Cases

  • Quick unit conversions for engineering, science, or personal use
  • Integration into web applications or dashboards
  • Batch processing for spreadsheets or data pipelines

โšก Notes

  • value must be non-negative
  • batchConversions overrides the single value/fromUnit/toUnit input
  • Output is always in JSON for easy parsing and automation

๐Ÿ“„ License

MIT License

You might also like

Code Converter Toolkit

moving_beacon-owner1/my-actor-64

A universal code conversion actor that transforms between 6 popular code formats in a single run. Supports both single and batch conversions with structured JSON output.

2

Color Converter All Values

bou-korinna/color-converter-all-values

Color Converter All Values

๐Ÿ‘ User avatar

Christopher Stevens

7

Document Converter

moving_beacon-owner1/my-actor-70

A tool that that converts documents between different formats. Upload files via URL and retrieve converted results from the key-value store.

3

CSS Unit Converter

automation-lab/css-unit-converter

Convert CSS units (px, em, rem, pt, vh, vw, cm, mm, in, pc) with context-aware base font size and viewport dimensions. Returns a full 10-unit conversion table for each input value.

๐Ÿ‘ User avatar

Stas Persiianenko

2

Color Converter Input

moving_beacon-owner1/color-converter-input

A versatile tool for converting colours between HEX, RGB, and HSL formats while generating harmonious colour palettes.

2

File Converter All-in-one

tufantoksoz/file-converter

Convert files between popular formats at scale on Apify. Transform documents, spreadsheets, and images with professional-grade quality and performance. Convert word to pdf, jpeg to png and more

๐Ÿ‘ User avatar

Tufan Toksรถz

12

Image Converter

tufantoksoz/image-converter

Convert images between different formats quickly and easily. Transform PNG to JPG, JPG to WebP, or any supported format with optional resizing and quality control.

๐Ÿ‘ User avatar

Tufan Toksรถz

5

Video Format Converter

rixin/video-format-converter

From $1/hr. Video Format Converter - Transform videos between MP4, WebM, MKV, AVI, MOV, and more. Supports batch processing, quality presets (low to very high), and resolution scaling from 360p to 4K. Input any URL or Apify storage file.