47620 Utilities API
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.
- Price per call
- $0.001
- Chain
- Solana
- Method
- GET
- Paid calls · 30 days
- 8
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://47620.xyz/x/util/convert", { method: "GET" });
console.log(await res.json());https://47620.xyz/x/util/convert