NetIntel · Lang Detect Analyze

by NetIntel

POSTBaseSolana

$0.005

per call · USD Coin on Base

Detect the language of any text input using stopword-set matching and Unicode script analysis — returns the detected language, ISO code, a high/medium/low confidence level, and top alternative languages so agents can route multilingual content, trigger translation workflows, and classify text without a paid NLP API.

Endpoint

POST https://netintel.dev/lang-detect/analyze

2

Calls / 30d

2

Unique payers / 30d

Aug 26

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://netintel.dev/lang-detect/analyze", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "text": "The report shows that the team finished the project on time and that the results were better than we expected. We will share the findings with the rest of the company at the meeting and then decide what to do next."
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://netintel.dev/lang-detect/analyze" \
  -H "Content-Type: application/json" \
  -d '{"text":"The report shows that the team finished the project on time and that the results were better than we expected. We will share the findings with the rest of the company at the meeting and then decide what to do next."}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "alternatives": [
    {
      "code": "pl",
      "language": "Polish",
      "score": 0.05
    },
    {
      "code": "cs",
      "language": "Czech",
      "score": 0.05
    },
    {
      "code": "pt",
      "language": "Portuguese",
      "score": 0.02
    }
  ],
  "confidence": "high",
  "detected_language": "English",
  "findings": [],
  "grade": "A",
  "is_multilingual": false,
  "language_code": "en",
  "score": 100,
  "script": "Latin",
  "text_length": 214,
  "word_count": 41
}

Payment details

Pay to0xdadc335482ad545296fd7b28518a251ffcbeb9df
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from NetIntel & similar services

NetIntel · WEB Extract

netintel.dev

Extract article / main content from any URL or PDF to clean, LLM-ready Markdown (web scraper / reader / html-to-markdown) — strips scripts, nav, ads, and boilerplate while preserving headings, links, lists, tables, code blocks, and blockquotes; extracts the text layer from PDFs. Returns Markdown body, title, word count, and a quality grade. For JS-rendered or bot-walled pages a plain fetch can't read, use /exa/contents.

GETBaseSearch & Web
$0.003 / call352 calls / 30d

NetIntel · Openai GPT 4O

netintel.dev

Call OpenAI's gpt-4o via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.10 per request in USDC. Standard OpenAI chat.completions shape. EVERY call is bounded by a 16000-token combined input budget (real tokenizer) plus the 48000-char cap; output 2048. Vision: up to 4 https image_url parts (detail low/high/auto). Search terms: OpenAI, gpt-4o, vision, image input, chat completion, LLM, no API key.

POSTBaseAI & Inference
$0.1 / call98 calls / 30d

NetIntel · Currency Exchange Convert

netintel.dev

Convert any amount between 32 fiat currencies (live European Central Bank rates) and major cryptocurrencies (BTC, ETH, USDC, SOL, ICP, CELO and more, live Coinbase spot rates) — fiat↔fiat, crypto↔fiat, and crypto↔crypto all work. Returns converted amount, exchange rate, inverse rate, rate date, and rate source so agents can price and invoice across fiat and crypto without a paid forex API.

GETBaseMarket Data
$0.01 / call23 calls / 30d