hesaplayıcı
Menu

Temperature Converter: API and MCP

Temperature Converter over REST and MCP: input fields, limits, outputs, one example request and its real answer. Free, no sign-up.

GET /api/v1/tools/units.temperature/mcp/units

Id
units.temperature
Version
1.0.0
Access
Free
Tool page
Temperature Converter
Schema
GET /api/v1/tools/units.temperature

Input

FieldTypeConstraintsDefaultDescription
value (required)number≥ -1,000, ≤ 1,000,000,000Temperature
from (required)stringcelsius | fahrenheit | kelvinFrom
to (required)stringcelsius | fahrenheit | kelvinTo

Output

FieldTypeDescription
resultnumberResult
celsiusnumberCelsius (°C)
fahrenheitnumberFahrenheit (°F)
kelvinnumberKelvin (K)

Example request

{
  "input": {
    "value": 37,
    "from": "celsius",
    "to": "fahrenheit"
  },
  "locale": "en"
}
Example answer
{
  "output": {
    "result": 98.6,
    "celsius": 37,
    "fahrenheit": 98.6,
    "kelvin": 310.15
  },
  "steps": [
    {
      "id": "result",
      "formula": "°F = °C × 9/5 + 32",
      "substitution": "°F = 37 × 9/5 + 32",
      "value": 98.6,
      "unit": "°F"
    },
    {
      "id": "kelvin",
      "formula": "K = °C + 273.15",
      "substitution": "K = 37 + 273.15",
      "value": 310.15,
      "unit": "K"
    }
  ],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/unit-converter/temperature-conversion-calculator",
    "title": "Temperature Converter"
  }
}