# AgentPay Translation — Pay-per-Call Text Translation via x402

> AgentPay Translation — Pay-per-Call Text Translation via x402 is a paid API for AI agents from agentpay.help, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Translates text into a target language for a flat $0.03 USDC fee per call, with no API keys or accounts required — payment handled via the x402 protocol on Base.

## Facts

- Endpoint: POST https://agentpay.help/v1/translate
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpay-translation-pay-per-call-text-translation-via-x402-6cdcca66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eHLEj_EB9nMvk2FzEOqmm

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 agentpay-translation-pay-per-call-text-translation-via-x402-6cdcca66 -d '<json body>'
```

Example prompt: Translate this text into Spanish: 'Welcome to our service, we're glad you're here.' Charge my USDC wallet the per-call fee — no account needed.

## When to prefer this

Choose this endpoint when you need lightweight, on-demand text translation without setting up accounts, API keys, or subscriptions — especially in autonomous agent workflows where per-call micropayments in USDC on Base are preferable to managing credentials. It is ideal for sporadic or low-volume translation tasks where paying $0.03 per call is more practical than committing to a SaaS plan.

## Known failure modes

- Insufficient USDC balance or failed x402 payment results in a 402 Payment Required response with no translation returned
- Unsupported target language code may result in an error or unexpected output
- Malformed or empty input text may return an error or empty translation
- Network timeout on the Base blockchain payment confirmation can delay or fail the call
- Ambiguous or very long input text may produce degraded translation quality

## How this service works

Pay-per-call AI services via the 402 Payment Required protocol. No accounts, no API keys — just USDC on Base.

## Output

Returns a JSON object containing the translated text as a string and the target language label (e.g. 'Spanish'). The response confirms what language the input was translated into alongside the translation output.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 5000,
   "minLength": 10,
   "description": "Source text"
  },
  "targetLanguage": {
   "type": "string",
   "description": "Target language name or ISO code; default Spanish"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "translation": "Ang iyong patakaran ay magre-renew sa 1 Oktubre. I-reply ang STOP para mag-opt out.",
  "targetLanguage": "Tagalog"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpay-translation-pay-per-call-text-translation-via-x402-6cdcca66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpay.help](https://www.zero.xyz/host/agentpay.help/llms.txt)
