Skip to content
Fourohtwo

Translate text API, machine translation

x402.agentindex.world/translate

Translate text API, machine translation. Translate up to 200 text segments in a single call - the same result that would otherwise take 200 separate calls to translate a whole file. Markdown, HTML and {x} placeholders preserved per segment, order and count kept intact, source language auto-detected, automatic fallback across multiple models for uptime, providers that train on submitted prompts exc

BaseAnswering
POSThttps://x402.agentindex.world/translate

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.agentindex.world/translate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"target_lang":"en","text":"Bonjour le monde"}),
});
console.log(await res.json());

Example input

{
  "target_lang": "en",
  "text": "Bonjour le monde"
}

More from Translate TextProvider status