# PrimeAPI Volume Unit Converter

> PrimeAPI Volume Unit Converter is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.169016/call, status unknown (last checked 2026-09-15).

Converts a volume measurement from one unit to another (e.g. liters to gallons, milliliters to cups)

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/convert/volume
- Price: $0.169016/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-volume-unit-converter-69c9d9de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l3XPv_5XOnU-P319b8Xc4

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 primeapi-volume-unit-converter-69c9d9de -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need a quick, pay-per-call volume unit conversion without managing API keys. Suitable for one-off conversions in cooking, scientific, or engineering contexts where volume unit transformations are needed programmatically.

## Known failure modes

- Unrecognized unit names return an error or empty result
- Missing query input results in a 400 bad request
- Unsupported unit combinations may return no conversion
- Payment failure (402) if USDC balance is insufficient on Base
- Ambiguous unit abbreviations (e.g. 'c' for cup vs cubic centimeter) may yield wrong conversion

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

The endpoint returns a converted volume value in the requested target unit, along with relevant metadata about the conversion such as the original value, source unit, and target unit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-volume-unit-converter-69c9d9de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
