Skip to content
Fourohtwo

Unit conversion in one GET, without an LLM or a calculator

x402-catalog-history.ai-business-surface.workers.dev/convert

Unit conversion in one GET, without an LLM or a calculator: length, mass, volume, data and time, plus temperature. curl: GET /convert?value=1&from=km&to=m (from/to are unit names; temperature uses c|f|k). Response: {"input":{"value":1,"from":"km","to":"m"},"category":"length","result":1000,"unit":"m","formula":"1 km = 1000 m"}. The definitions are fixed in this Worker; no external service is calle

BaseAnswering
GEThttps://x402-catalog-history.ai-business-surface.workers.dev/convert

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-catalog-history.ai-business-surface.workers.dev/convert?to=m&from=km&value=1");
console.log(await res.json());

Example input

{
  "to": "m",
  "from": "km",
  "value": "1"
}