# Saylor Innovations Vehicle Trip Fuel Cost Calculator

> Saylor Innovations Vehicle Trip Fuel Cost Calculator is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Calculates fuel consumption (liters used) and total fuel cost for a vehicle trip given distance, fuel efficiency, and fuel price per liter

## Facts

- Endpoint: GET https://saylorinnovations.com/api/transport/trip-cost?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-vehicle-trip-fuel-cost-calculator-ad972a9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sIPQeqZmsJTApQ4Hw-ShN

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 saylor-innovations-vehicle-trip-fuel-cost-calculator-ad972a9e
```

Example prompt: How much fuel will I use and what will it cost to drive 350 km in a car that does 12 km per liter, with fuel at $1.85 per liter?

## When to prefer this

Use this endpoint when you need a quick, deterministic fuel cost and consumption calculation for a single vehicle trip given known distance, efficiency, and fuel price. It is ideal for travel budgeting, fleet cost estimation, or comparison scenarios where the math needs to be reliable and auditable. Prefer it over general-purpose LLM arithmetic for reproducibility and the structured JSON output with formula transparency.

## Known failure modes

- Missing required parameters (distance_km, efficiency_km_l, or fuel_price) returns an error
- Non-positive values (zero or negative distance, efficiency, or price) are rejected
- Non-numeric string values for parameters cause validation errors
- Extremely large or small values may produce unexpected results

## How this service works

Vehicle trip fuel use and cost from distance, efficiency and fuel price

## Output

Returns a JSON object containing the input distance in km, efficiency in km/liter, fuel price per liter, total liters used for the trip, total fuel cost, the formula used for the calculation, and a scope note explaining what the result covers and excludes (e.g. tolls, oil, depreciation are not included).

## 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",
     "required": [
      "distance_km",
      "efficiency_km_l",
      "fuel_price"
     ],
     "properties": {
      "fuel_price": {
       "type": "string",
       "description": "required positive fuel price per liter (query)"
      },
      "distance_km": {
       "type": "string",
       "description": "required positive trip distance (query)"
      },
      "efficiency_km_l": {
       "type": "string",
       "description": "required positive vehicle efficiency in km per liter (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "distance_km",
      "efficiency_km_per_liter",
      "fuel_price_per_liter",
      "fuel_cost",
      "scope_note"
     ],
     "properties": {
      "formula": {
       "type": "string",
       "description": "Formula used for the calculation"
      },
      "fuel_cost": {
       "type": "number",
       "description": "Fuel cost"
      },
      "scope_note": {
       "type": "string",
       "description": "What this data covers and what it leaves out"
      },
      "distance_km": {
       "type": "number",
       "description": "Distance in kilometres"
      },
      "liters_used": {
       "type": "number",
       "description": "Liters used"
      },
      "fuel_price_per_liter": {
       "type": "number",
       "description": "Fuel price per liter"
      },
      "efficiency_km_per_liter": {
       "type": "number",
       "description": "Efficiency km per liter"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-vehicle-trip-fuel-cost-calculator-ad972a9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
