# AgentTools Volume Unit Converter

> AgentTools Volume Unit Converter is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Converts a numeric value between cooking and liquid volume units including milliliters, liters, gallons, cups, tablespoons, and more

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/converters/volume-converter?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-volume-unit-converter-0ab15aaf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4sBhWVVjHod7uphbt5qrK

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-0ab15aaf
```

Example prompt: Can you convert 2.5 gallons to liters for me?

## When to prefer this

Choose this endpoint when an agent needs to convert between cooking or liquid volume units (ml, L, m³, gal, qt, pt, cup, floz, tbsp, tsp) programmatically. It covers the full range of common culinary and liquid measurement units in a single call, making it ideal for recipe assistants, cooking bots, or any agent that handles ingredient quantities or liquid volumes.

## Known failure modes

- Invalid or unsupported unit enum value returns an error
- Missing required query parameters (value, from, to) causes a 400-level error
- Non-numeric value for the 'value' parameter causes a validation failure
- Identical from/to unit still returns a result (value unchanged, not an error)

## 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 converted numeric value in the specified target unit, allowing the agent to present the equivalent measurement clearly 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-0ab15aaf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
