# QuantaFlow LibreTranslate Gateway (x402)

> QuantaFlow LibreTranslate Gateway (x402) is a paid API for AI agents from quanta-roan.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Proxies requests to the LibreTranslate open-source translation API via a pay-per-use x402 micropayment gateway at $0.01 USDC per call.

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/libretranslate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-libretranslate-gateway-x402-b5cdf23c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vZxEUzspyu_EMGW9iY8vh

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 quantaflow-libretranslate-gateway-x402-b5cdf23c -d '<json body>'
```

Example prompt: Translate this sentence into Spanish using the LibreTranslate gateway: 'The weather is beautiful today and I am happy to be here.'

## When to prefer this

Choose this endpoint when you need on-demand, pay-per-call text translation via LibreTranslate without a subscription, especially in a web3 or DeFi context where x402 micropayments in USDC are preferred over API key billing. Ideal for agents that need low-volume, cost-controlled translation without managing API credentials.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Invalid or unsupported language pair returns upstream error
- Malformed JSON body forwarded to upstream results in 400 error
- LibreTranslate upstream service unavailable returns 502/503
- Unsupported path below upstream origin returns 404

## How this service works

Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.

## Output

The raw upstream LibreTranslate API response passed through after successful x402 payment, typically including the translated text string, detected source language, and confidence score in JSON format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "body": {
   "type": "string",
   "description": "Optional JSON body forwarded to POST requests."
  },
  "path": {
   "type": "string",
   "description": "Path below the selected upstream origin."
  },
  "query": {
   "type": "object"
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "description": "The upstream response body and content type are passed through after successful payment."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quantaflow-libretranslate-gateway-x402-b5cdf23c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quanta-roan.vercel.app](https://www.zero.xyz/host/quanta-roan.vercel.app/llms.txt)
