Skip to content
Fourohtwo

Detect the language of any text (100+ languages)

aipaygen.com/v1/language_detect

Detect the language of any text (100+ languages): ISO 639-1 code, English name and script, plus the model's self-reported confidence (not a calibrated probability).

BaseAnswering
GEThttps://aipaygen.com/v1/language_detect

Uptime100% 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

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://aipaygen.com/v1/language_detect?text=%C3%82%C2%BFD%C3%83%C2%B3nde+est%C3%83%C2%A1+la+estaci%C3%83%C2%B3n+de+tren%3F");
console.log(await res.json());

Example input

{
  "text": "¿Dónde está la estación de tren?"
}