denk.halowerk.com/v1/language-match
Check whether an answer is written in the language of the question (or an expected language): detected languages with scores, per-segment languages, share of text in the expected language, script check. Detects languages with franc-min 6.2 (MIT; trigram profiles from the Universal Declaration of Human Rights, 82 languages with at least 8 million speakers, ISO 639-3).
POST
https://denk.halowerk.com/v1/language-matchUptime100% of 5 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://denk.halowerk.com/v1/language-match", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"answer":"The standard VAT rate in Germany is 19 percent.","question":"Wie hoch ist die Mehrwertsteuer in Deutschland?"}),
});
console.log(await res.json());Example input
{
"answer": "The standard VAT rate in Germany is 19 percent.",
"question": "Wie hoch ist die Mehrwertsteuer in Deutschland?"
}