# convert-l100km-to-mpg

> convert-l100km-to-mpg is a paid API for AI agents from dev.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Converts a fuel efficiency value from litres per 100 kilometres (L/100km) to miles per US gallon (MPG)

## Facts

- Endpoint: GET https://dev.intel.rallylive.ca/dev/convert/l100km-to-mpg?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/convert-l100km-to-mpg-403b3eb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_53mrEICkwrHixJQs642lP

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 convert-l100km-to-mpg-403b3eb5
```

Example prompt: My car uses 7.5 litres per 100 km — can you convert that to miles per gallon for me?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, serverless conversion from the metric fuel consumption unit (L/100km used in Europe, Canada, and Australia) to the US imperial MPG unit, with no ambiguity or rounding surprises — it returns both the exact factor and a human-readable rounded result in a single call.

## Known failure modes

- Missing or non-numeric input value returns an error
- Zero input (0 L/100km) causes division by zero since MPG = 235.214 / L100km
- Negative input values may return an error or undefined result
- Payment failure (x402) prevents the conversion from being executed

## How this service works

Convert litres per 100 km to miles per US gallon: send a number, get the converted value with the exact factor (or formula for temperature), the unit category and a rounded human-readable form. Deterministic, no network call. $0.01 per conversion.

## Output

Returns the converted MPG value corresponding to the input L/100km figure, along with the exact conversion factor used, the unit category (fuel efficiency), and a rounded human-readable form of the result.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/convert-l100km-to-mpg-403b3eb5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dev.intel.rallylive.ca](https://www.zero.xyz/host/dev.intel.rallylive.ca/llms.txt)
