Translate text between languages and get the translated string back
api.gadgethumans.com/translate
Translate text between languages and get the translated string back. Pass the text and a target language code (fr, de, es, it, pt, nl, pl, ru, ar, hi, zh, ja, ko, tr, sv, ...) with an optional source language (default en). Use for localising user-facing copy, reading foreign-language sources, or answering in a customer's language. 100+ languages, one call, no upstream key.
GET
https://api.gadgethumans.com/translateUptime100% 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://api.gadgethumans.com/translate?text=hello");
console.log(await res.json());Example input
{
"text": "hello"
}