ToolAssay

Convert a value between units of measure

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 CPG/ETL pipeline needs instead of an LLM approximating conversions. Cross-dimension conversions (kg→m) return 400.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
477 msmedian answer time
$0.0025listed price per call
$0.0025price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://2s.io/api/convert/unit

CategoryEverything else
Provider host2s.io
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days4 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.0025 477 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "from": "kg",
    "to": "lb",
    "value": 5
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "method": {
          "const": "GET"
        },
        "queryParams": {
          "properties": {
            "from": {
              "description": "Source unit (alias-tolerant).",
              "type": "string"
            },
            "to": {
              "description": "Target unit (same dimension).",
              "type": "string"
            },
            "value": {
              "description": "Numeric value to convert.",
              "type": "number"
            }
          },
          "required": [
            "value",
            "from",
            "to"
          ]
        },
        "type": {
          "const": "http"
        }
      },
      "required": [
        "type",
        "method",
        "queryParams"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON