text.halowerk.com/v1/language-detect
Detect the language of a text with franc-min (76 languages, ISO 639-3 and 639-1 codes, English names), with ranked alternatives, dominant script, a reliability flag and optional per-sentence detection. Uses franc-min 6.2 (MIT): 76 languages (82 table entries incl. script variants) with at least 8 million speakers; trigram profiles per script, single-script languages (e.g. Japanese, Korean, Greek,
POST
https://text.halowerk.com/v1/language-detectUptime100% 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://text.halowerk.com/v1/language-detect", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"Die Rechnung wurde gestern per E-Mail an den Kunden geschickt."}),
});
console.log(await res.json());Example input
{
"text": "Die Rechnung wurde gestern per E-Mail an den Kunden geschickt."
}