the402 endpoint detail

← All endpoints

2s-3cpr6qm6j-alleyford.vercel.app convert unit

https://2s-3cpr6qm6j-alleyford.vercel.app/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.001
Network
base-sepolia
Pay to
0xcEE4259Fae5931078Cd3ed030180E55F11BB9f35
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
248 ms
Payment options
2 usable of 2
Last checked
2026-08-10T09:17:43.782Z (1d ago)
Category
ai-inference

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