{
  "x402Version": 2,
  "id": 55018,
  "slug": "55018",
  "resource": "https://2s-3cpr6qm6j-alleyford.vercel.app/api/convert/unit",
  "description": "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.",
  "type": "http",
  "serviceName": "2s",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1782067076/bazaar-icons/58f7ba8f2b3b8047.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0xcEE4259Fae5931078Cd3ed030180E55F11BB9f35",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "1000",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 60
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "from": "kg",
            "to": "lb",
            "value": 5
          },
          "type": "http"
        }
      },
      "schema": {
        "$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"
      }
    }
  },
  "tags": [
    "public-records",
    "identifiers",
    "ai-agents",
    "us-gov-data",
    "x402",
    "bazaar"
  ],
  "sourceHost": "2s-3cpr6qm6j-alleyford.vercel.app",
  "lastUpdated": "2026-10-13T14:56:26.355Z",
  "quality": {
    "calls30d": 29,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T14:56:26.037Z"
  },
  "metadata": {
    "serviceName": "2s",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1782067076/bazaar-icons/58f7ba8f2b3b8047.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "from": "kg",
              "to": "lb",
              "value": 5
            },
            "type": "http"
          }
        },
        "schema": {
          "$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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "2s-3cpr6qm6j-alleyford.vercel.app",
    "manifest_name": "2s-3cpr6qm6j-alleyford.vercel.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  }
}