# ForgeMesh Temperature Conversion API

> ForgeMesh Temperature Conversion API is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a temperature value from one scale (Celsius, Fahrenheit, Kelvin, or Rankine) into all four scales simultaneously.

## Facts

- Endpoint: POST https://x402.forgemesh.io/convert-temperature
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-temperature-conversion-api-f66e98a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zbqKpA1XLalHH0NAF4irf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability forgemesh-temperature-conversion-api-f66e98a3 -d '<json body>'
```

Example prompt: Convert 350 degrees Fahrenheit to all four temperature scales — Celsius, Kelvin, and Rankine too.

## When to prefer this

Use this endpoint when you need all four temperature scales returned at once from a single input value, rather than just a single-pair conversion. Ideal for scientific, cooking, HVAC, or weather agent tasks where multi-scale output is needed. Prefer over the general unit conversion sibling endpoint when temperature-only, multi-scale output is specifically required.

## Known failure modes

- Invalid 'from' unit string (not C, F, K, or R) — likely returns a 400 error
- Non-numeric or missing 'value' field — likely returns a 400 validation error
- Payment failure via x402 protocol — returns 402 Payment Required before conversion occurs
- Extreme out-of-range values (e.g. below absolute zero) — may return error or undefined behavior

## How this service works

Temperature conversion API: give a value in Celsius, Fahrenheit, Kelvin, or Rankine and get all four scales back — science-grade, exact, instant. For cooking, HVAC, chemistry, physics, and weather agents.

## Output

Returns the input temperature expressed in all four scales: Celsius, Fahrenheit, Kelvin, and Rankine — exact, science-grade values computed instantly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "from": {
   "type": "string",
   "description": "C | F | K | R"
  },
  "value": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kelvin": 373.15,
  "celsius": 100,
  "rankine": 671.67,
  "fahrenheit": 212
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-temperature-conversion-api-f66e98a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
