# AgentTools Volume Unit Converter

> AgentTools Volume Unit Converter is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Converts between cooking and liquid volume units including milliliters, liters, cubic meters, US gallons, quarts, pints, cups, fluid ounces, tablespoons, and teaspoons.

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/converters/volume-converter?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-volume-unit-converter-44d49c37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EjIkzHE-Qp61bE1Sz8uAz

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 agenttools-volume-unit-converter-44d49c37
```

Example prompt: Convert 2.5 cups to milliliters for me.

## When to prefer this

Use this endpoint when an agent needs to convert between any of the ten supported cooking or liquid volume units (ml, L, m3, gal, qt, pt, cup, floz, tbsp, tsp). Prefer this over general-purpose calculation tools when the specific unit pair falls within culinary or liquid measurement domains.

## Known failure modes

- Missing required query parameters (value, from, to) returns a 400 error
- Unsupported unit strings outside the allowed enum values cause validation errors
- Non-numeric value input causes a parsing error
- Payment failure via x402 protocol prevents access

## How this service works

Convert cooking and liquid volume units: milliliters, liters, cubic meters, US gallons, quarts, pints, cups, fluid ounces, tablespoons and teaspoons. Use this when an agent needs to liters, gallons, cups, milliliters.

## Output

Returns the numeric converted value in the target unit, allowing the agent to present the equivalent volume measurement to the user.

## 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": [
      "value",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "enum": [
        "m3",
        "L",
        "ml",
        "gal",
        "qt",
        "pt",
        "cup",
        "floz",
        "tbsp",
        "tsp"
       ],
       "type": "string",
       "description": "To"
      },
      "from": {
       "enum": [
        "m3",
        "L",
        "ml",
        "gal",
        "qt",
        "pt",
        "cup",
        "floz",
        "tbsp",
        "tsp"
       ],
       "type": "string",
       "description": "From"
      },
      "value": {
       "type": "number",
       "description": "Value"
      }
     }
    }
   },
   "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/agenttools-volume-unit-converter-44d49c37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
