# Basic Utils Agent – Temperature Conversion

> Basic Utils Agent – Temperature Conversion is a paid API for AI agents from basic-utils-agent.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Converts a numeric temperature value from one unit (e.g. Celsius, Fahrenheit, Kelvin) to another and returns the converted result.

## Facts

- Endpoint: POST https://basic-utils-agent.up.railway.app/convert/temperature
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basic-utils-agent-temperature-conversion-c9c9e351
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tPYwaDpKNU9JW8wYuIDBD

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 basic-utils-agent-temperature-conversion-c9c9e351 -d '<json body>'
```

Example prompt: Convert 37 degrees Celsius to Fahrenheit for me.

## When to prefer this

Choose this endpoint when you need a simple, fast temperature unit conversion (Celsius, Fahrenheit, Kelvin) and do not want to handle conversion math locally. It is purpose-built for temperature and returns structured JSON, making it easy to use in automated pipelines. Prefer it over a general-purpose calculator endpoint when the input is explicitly a temperature value with units.

## Known failure modes

- Missing required fields (value, source_unit, or target_unit) result in a 400/422 error
- Unrecognized unit strings (e.g. typos like 'celcius') may return an error or unexpected result
- Passing non-numeric values for 'value' will cause a validation error
- Network or server errors on the Railway deployment may return 5xx responses

## How this service works

A versatile utility agent offering calculator, statistics, datetime, and unit conversion services.

## Output

A JSON object containing the original value, original unit, target unit, converted value, and conversion rate (if applicable). For example, converting 0°C returns {original_value: 0, original_unit: 'Celsius', target_unit: 'Fahrenheit', converted_value: 32, conversion_rate: null}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "number",
   "description": "The numeric value to convert"
  },
  "source_unit": {
   "type": "string",
   "description": "The source unit of the value (e.g., 'meters', 'feet', 'kg', 'lbs')"
  },
  "target_unit": {
   "type": "string",
   "description": "The target unit to convert to (e.g., 'kilometers', 'miles', 'grams', 'ounces')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "target_unit": "Fahrenheit",
  "original_unit": "Celsius",
  "original_value": 0,
  "conversion_rate": null,
  "converted_value": 32
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basic-utils-agent-temperature-conversion-c9c9e351/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basic-utils-agent.up.railway.app](https://www.zero.xyz/host/basic-utils-agent.up.railway.app/llms.txt)
