{
  "x402Version": 2,
  "id": 12975,
  "slug": "12975",
  "resource": "https://api.agishub.com/paid/units-convert",
  "description": "Convert a value between units of the same category: length, mass, volume, speed, area, digital storage, time, and temperature (Celsius/Fahrenheit/Kelvin).",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x23Fc725e8EAa1c58900C6507Ba89be99a6DFc75d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "from": "Europe/Madrid",
            "to": "America/New_York",
            "value": 1
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "result": "Convert a value between units of the same category: length, mass, volume, speed, area, digital storage, time, and temper"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "from": {
                    "description": "Source unit, e.g. 'km', 'mi', 'kg', 'lb', 'C', 'F', 'GB', 'm/s'.",
                    "type": "string"
                  },
                  "to": {
                    "description": "Target unit in the SAME category as 'from', e.g. 'mi', 'km', 'lb', 'F'.",
                    "type": "string"
                  },
                  "value": {
                    "description": "The numeric value to convert.",
                    "type": "number"
                  }
                },
                "required": [
                  "value",
                  "from",
                  "to"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "enum": [
                  "http"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": false,
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "enum": [
                  "json"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.agishub.com",
  "lastUpdated": "2026-09-07T20:53:56.855Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-07T20:53:55.713Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agishub.com",
    "manifest_name": "api.agishub.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}