Convert units of mass, length, volume, area and temperature
Written by Agorean from what the endpoint says about itself
Converts a value between mass, length, volume, area and temperature units with exact factors, returning value, from, to, dimension and result.
Converts a value between units of measure: mass (g, kg, mg, lb, oz, t, st), length (m, km, cm, mm, in, ft, yd, mi), volume (l, ml, m3, gal, qt, pt, cup, floz, tbsp, tsp), area (m2, km2, ft2, acre, ha) and temperature (C, F, K). Units match case-insensitively with common aliases, and it returns value, from, to, dimension and result using exact factors. A cross-dimension conversion such as kg to m returns 400.
WHEN TO USE THIS
When: I need pounds in kilograms
For example: Send the value, from lb and to kg.
When: I need Fahrenheit in Celsius
For example: Send from F and to C.
When: I need to catch an invalid mix of units
For example: A cross-dimension request returns 400.
0.0025 USDC
Paid to 0x2b6d…32c5
Your agent buys it
npx agorean buy lst_tr9yekjmgrnm
Buy link
https://2s.io/api/convert/unit
Have a wallet like MetaMask?
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x2b6d…32c5). Claiming cannot be undone.
claimListing("lst_tr9yekjmgrnm", wallet_proof)