# 24K Labs Unit Converter

> 24K Labs Unit Converter is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Converts values between units across length, mass, volume, data-size, time, speed, and temperature.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/unit-convert
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-unit-converter-8c378b15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sei0lIQ364o0sGYRj4eCf

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 24k-labs-unit-converter-8c378b15 -d '<json body>'
```

Example prompt: Convert 250 pounds to kilograms for me.

## When to prefer this

Use this endpoint when an agent needs a quick, reliable, single-call unit conversion across common physical or digital measurement categories without building custom conversion logic. Prefer it over general computation tools when the task is strictly unit conversion with structured input/output.

## Known failure modes

- Unsupported unit type or category returns an error
- Mismatched units (e.g. converting length to temperature) returns a validation error
- Non-numeric input value returns a bad request error
- Unknown unit abbreviation or name not recognized returns an error

## How this service works

Convert length, mass, volume, data-size, time, speed, or temperature between units.

## Output

Returns the numerically converted value in the requested target unit, given an input value and source/target unit pair from a supported category (length, mass, volume, data-size, time, speed, or temperature).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "value": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": 6.2137
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-unit-converter-8c378b15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
