Convert any value between units: length (m/km/mi/ft/in/yd/nmi, plus Russian verst/sazhen/arshin/vershok), mass (g/kg/lb/oz/tonne, plus Russian pood/funt/zolotnik), area…
Convert any value between units: length (m/km/mi/ft/in/yd/nmi, plus Russian verst/sazhen/arshin/vershok), mass (g/kg/lb/oz/tonne, plus Russian pood/funt/zolotnik), area (m2/ft2/km2/acre/hectare) and temperature (C/F/K). Pass ?value=<n>&from=<unit>&to=<unit>. Returns the converted value and the unit category.
| Method | Endpoint | Price | Description |
|---|---|---|---|
GET | /v1/marketplace/api/util-convert | $0.00115 | Invoke Util Convert (Weather) and return the upstream response. |
Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.
# 1. Ask for a quote
curl -i https://api.jarvisclaw.ai/v1/marketplace/api/util-convert
# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/util-convert
Open in the marketplace
Docs: Getting started · x402 payments · x402 discovery · All APIs