{
  "id": "lordevo-quick-unit-convert",
  "name": "Unit converter with exact factors (NIST SP 811)",
  "description": "Converts a value between units exactly, with rational factors from NIST SP 811 and HB 44 (inch = 0.0254 m, pound = 0.45359237 kg, US gallon = 231 in3): length, area, volume (US and imperial), mass, temperature, time, speed and data size (kB vs KiB). Returns the exact fraction, a decimal, the factor and its source. Input: value (decimal, 1e6 or 1/3), from, optional to (default all), decimals. Offline.",
  "provider": "Lordevo",
  "label": "Lordevo service",
  "operator_service": true,
  "category": "web-scraping",
  "kind": "http",
  "url": "https://shop.lordevo.com/api/quick/unit-convert",
  "method": "GET",
  "payment": "x402",
  "price_usd": 0.0021,
  "network": "base",
  "auth": "none (pay per call with x402: HTTP 402, USDC on Base mainnet)",
  "docs": "https://shop.lordevo.com/quick",
  "status": "up",
  "uptime_status": "up",
  "latency_ms": 88,
  "last_checked": "2026-12-02T05:48:53.201Z",
  "verified_quote": true,
  "price_match": true,
  "quote_price_usd": 0.0021,
  "source": {
    "id": "lordevo",
    "name": "Lordevo shop catalog",
    "url": "https://shop.lordevo.com/catalog.json",
    "attribution": "Lordevo (directory operator). Labelled \"Lordevo service\"."
  },
  "details": "https://lordevo.com/api/v1/services/lordevo-quick-unit-convert",
  "provider_url": "https://lordevo.com",
  "price_note": "$0.0021 per call (Lordevo quick check). Refused or failed calls are not charged.",
  "network_id": "eip155:8453",
  "asset": "USDC",
  "quote": {
    "x402_version": 2,
    "scheme": "exact",
    "price_usd": 0.0021,
    "amount_atomic": "2100",
    "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "network_id": "eip155:8453",
    "pay_to": "0x0876A79Bb5A88Bf338E6b47b4530359527b01d73"
  },
  "how_to": [
    "GET https://shop.lordevo.com/api/quick/unit-convert?value=<value>",
    "The first answer is HTTP 402 (x402 v2 PAYMENT-REQUIRED header plus a v1 JSON body; USDC on Base mainnet). Pay and retry the same request.",
    "Also an MCP tool: unit_convert at https://shop.lordevo.com/mcp"
  ],
  "tags": [
    "unit conversion",
    "units",
    "metric",
    "imperial",
    "temperature",
    "data size"
  ],
  "http_status": 402,
  "x402_402_seen": true,
  "first_seen": "2026-11-02T20:30:02.506Z",
  "verified_seller": {
    "domain": "shop.lordevo.com",
    "method": "wellknown",
    "verified_at": "2026-11-13T18:06:29.557Z",
    "last_check_at": "2026-11-28T21:35:47.336Z"
  },
  "install": [
    {
      "client": "lordevo-x402-js",
      "format": "js",
      "snippet": "// npm i lordevo-x402@0.1.5 @x402/fetch @x402/evm viem\nimport { fromPrivateKey } from 'lordevo-x402';\n\nconst lordevo = await fromPrivateKey(process.env.AGENT_WALLET_KEY, { maxPriceUsd: 0.0021 });\nconst result = await lordevo.call(\"unit-convert\", { value: \"<YOUR_INPUT>\" });\nconsole.log(result);",
      "notes": "Pays $0.0021 per call in USDC on Base from the wallet in AGENT_WALLET_KEY. Instant tools that fail or are refused (any answer of 400 or higher) are not charged. Long jobs (202) are charged when accepted and are not refunded automatically if they fail later.",
      "doc_url": "https://www.npmjs.com/package/lordevo-x402"
    },
    {
      "client": "lordevo-x402-py",
      "format": "python",
      "snippet": "# pip install \"lordevo-x402[pay]==0.1.5\"\nimport os\nfrom lordevo_x402 import LordevoSync\n\nlo = LordevoSync.from_private_key(os.environ[\"AGENT_WALLET_KEY\"], max_price_usd=0.0021)\nprint(lo.call(\"unit-convert\", \"<YOUR_INPUT>\"))",
      "notes": "Pays $0.0021 per call in USDC on Base. Instant tools that fail or are refused (any answer of 400 or higher) are not charged. Long jobs (202) are charged when accepted and are not refunded automatically if they fail later.",
      "doc_url": "https://pypi.org/project/lordevo-x402/"
    },
    {
      "client": "curl",
      "format": "shell",
      "snippet": "curl -i 'https://shop.lordevo.com/api/quick/unit-convert'",
      "notes": "Unpaid request: the answer should be HTTP 402 with the price and payment terms. Nothing is paid.",
      "doc_url": "https://x402.org"
    }
  ],
  "page": "https://lordevo.com/agents/service/lordevo-quick-unit-convert"
}