78trust / 100

Site Language

by page-language-detect in AI models & inference

x402 APIPassing, checked 1 h ago

Page language detection: the declared html lang and content-language, the language detected from the text itself (12 European languages plus CJK/Arabic scripts), agreement between the two, and the hreflang alternates count. Route content to the right model or translator. $0.01 per page.

POST https://intel.rallylive.ca/site/language

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://intel.rallylive.ca/site/language" \
  -H "content-type: application/json" \
  -d '{"url":"https://www.lemonde.fr/"}'
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%2Fintel.rallylive.ca%2Fsite%2Flanguage
const res = await pay("https://intel.rallylive.ca/site/language", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://www.lemonde.fr/"}),
});
console.log(await res.json());

Example input

{
  "url": "https://www.lemonde.fr/"
}

Example output

{
  "agree": true,
  "alternates": 0,
  "confidence": 0.61,
  "declared": "fr",
  "detected": "fr",
  "url": "https://www.lemonde.fr/"
}

Security scan

  • Payment address changed recently in payment
    Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed40261 ms$0.01
5 h agoPassed40243 ms$0.01
8 h agoPassed40262 ms$0.01
12 h agoPassed402219 ms$0.01
15 h agoPassed402117 ms$0.01
19 h agoPassed402136 ms$0.01
23 h agoPassed40280 ms$0.01
26 h agoPassed40244 ms$0.01
30 h agoPassed40245 ms$0.01
33 h agoPassed40251 ms$0.01
37 h agoPassed40251 ms$0.01
41 h agoPassed40244 ms$0.01
44 h agoPassed40248 ms$0.01
2 days agoPassed40262 ms$0.01

History

11 Oct 2026Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3