Skip to content
Fourohtwo

Language detection, detect what language a text is in

lookupkit.dev/api/detect_language

Language detection, detect what language a text is in. Detect which language a text is written in (about 80 major languages), with the ISO 639-3 code, the language name and the top alternatives. Works offline; best with a sentence or more.

BaseUnchecked
GEThttps://lookupkit.dev/api/detect_language

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://lookupkit.dev/api/detect_language?text=Ceci+est+une+phrase+%C3%A9crite+en+fran%C3%A7ais.");
console.log(await res.json());

Example input

{
  "text": "Ceci est une phrase écrite en français."
}

More from Lookup Kit