# agent402.tools US Gallons to Milliliters Converter

> agent402.tools US Gallons to Milliliters Converter is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Converts a numeric volume value from US gallons to milliliters via a simple GET request with a query parameter.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/us-gallons-to-milliliters
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-us-gallons-to-milliliters-converter-38d17e7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DcCu4hroe-oneK8qSdf7X

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 agent402-tools-us-gallons-to-milliliters-converter-38d17e7c
```

Example prompt: How many milliliters are in 3.5 US gallons?

## When to prefer this

Use this endpoint when you need a quick, programmatic conversion from US gallons to milliliters without implementing the formula locally; ideal for agents handling recipe, chemistry, engineering, or scientific unit conversions involving liquid volume.

## Known failure modes

- Missing 'value' query parameter returns an error
- Non-numeric value causes a bad request or computation error
- Negative or zero values may return unexpected results
- Payment failure (402) if x402 micropayment not processed

## How this service works

Convert us gallons to milliliters (volume). Pass ?value=N.

## Output

Returns the converted volume value in milliliters corresponding to the input given in US gallons.

## 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"
     ],
     "properties": {
      "value": {
       "type": "string",
       "description": "Numeric value to convert"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-us-gallons-to-milliliters-converter-38d17e7c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
