Skip to content
Fourohtwo

Translate text, translation API

agent-data-tools.revmesh2074.workers.dev/ai/translate

Translate text, translation API. Translate text into another language with OpenAI's open-weight gpt-oss-20b, detecting the source language. Long text is split at sentence ends and checked, so a cut-off translation is an uncharged 502, never a success. Give the target as an ISO code such as en, sv, de, fr, es, zh or ja; less common languages use Meta's M2M100. Use to localise messages and documents

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/ai/translate

Uptime100% of 1 check 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://agent-data-tools.revmesh2074.workers.dev/ai/translate?text=Payment+received%2C+thank+you%21&to=sv");
console.log(await res.json());

Example input

{
  "text": "Payment received, thank you!",
  "to": "sv"
}