82trust / 100

Translate Short

by NetIntel in AI models & inference

x402 APIPassing, checked 2 h ago

Translate text between languages — text translation API for short content: translate a sentence, chat message, or up to 500 words to English, Spanish, French, Chinese, or any of 30+ languages. Language translation with auto-detected source language, formatting preserved; returns the translation plus detected source. Machine translation via Claude Haiku for agents localizing content cheaply. For longer documents use /translate/long.

POST https://netintel.dev/translate/short

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://netintel.dev/translate/short" \
  -H "content-type: application/json" \
  -d '{"target":"fr","text":"Hello world"}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnetintel.dev%2Ftranslate%2Fshort
const res = await pay("https://netintel.dev/translate/short", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"target":"fr","text":"Hello world"}),
});
console.log(await res.json());

Example input

{
  "target": "fr",
  "text": "Hello world"
}

Example output

{
  "findings": [],
  "grade": "A",
  "service_score": 100,
  "source_detected": true,
  "source_language": "en",
  "target_language": "fr",
  "tier": "short",
  "translation": "Bonjour le monde",
  "word_count": 2
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402436 ms$0.01
7 h agoPassed402286 ms$0.01