81trust / 100

Proxy Translate

by Text Translation API in AI models & inference

x402 APIPassing, checked 3 h ago

Translate text between 21 languages: en, de, fr, es, it, pt, nl, pl, sv, cs, el, ru, uk, tr, ar, hi, id, vi, zh, ja, ko. Runs on our own server (Argos Translate), so the text is not sent to a third party. Max 1000 characters per call. source_lang defaults to auto-detect; confidence is the detection confidence. Pairs without a direct model are translated via English.

POST https://agentsvc.io/api/v1/proxy/translate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
32 ms typical, 32 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/translate" \
  -H "content-type: application/json" \
  -d '{"target_lang":"de","text":"Hello, how are you?"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Ftranslate
const res = await pay("https://agentsvc.io/api/v1/proxy/translate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"target_lang":"de","text":"Hello, how are you?"}),
});
console.log(await res.json());

Example input

{
  "target_lang": "de",
  "text": "Hello, how are you?"
}

Example output

{
  "data": {
    "confidence": 1,
    "original_text": "Hello, how are you?",
    "pivot_language": null,
    "service": "Argos Translate (local)",
    "source_lang": "en",
    "target_lang": "de",
    "translated_text": "Hallo, wie geht es Ihnen?"
  },
  "success": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40232 ms$0.009