# Synapse Unit Converter

> Synapse Unit Converter is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Converts a numeric value from one unit of measurement to another across categories like length, weight, and temperature

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/unit-convert?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-unit-converter-deec09d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7WoadWX-b1aCK0XesKR2D

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 synapse-unit-converter-deec09d9
```

Example prompt: Convert 100 kilometers to miles for me — just give me the numeric result.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call unit conversion without setting up an account or API key, especially in agent workflows already using the x402 micropayment protocol on Base. It is ideal for converting common measurement units (length, mass, temperature, volume) programmatically within automated pipelines.

## Known failure modes

- Unsupported unit pairing returns an error or empty result
- Missing required 'from', 'to', or 'value' query parameters cause a 400-level error
- Incompatible unit categories (e.g. converting km to kg) return an error
- Payment failure via x402 protocol returns a 402 Payment Required response

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object containing the source unit, target unit, the original numeric value, the converted result, and the measurement category (e.g. length, mass).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "mi",
  "from": "km",
  "value": 100,
  "result": 62.1371,
  "category": "length"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-unit-converter-deec09d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
