the402 endpoint detail

← All endpoints

2s.io convert unit

https://2s.io/api/convert/unit

payable

Convert 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, gal-imp, qt, pt, cup, floz, tbsp, tsp), area (m2, km2, ft2, acre, ha), and temperature (C, F, K). Units are matched case-insensitively with common aliases (kg/kilogram/kgs). Returns {value, from, to, dimension, result}. Exact factors — the ground-truth answer a

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.0025
Network
base
Pay to
0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
76 ms
Payment options
2 usable of 2
Last checked
2026-08-10T09:08:39.910Z (1d ago)
Category
ai-inference

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2F2s.io%2Fapi%2Fconvert%2Funit"