Language Identification (Prediction)
rapidapi · Company
Automatic language detection for any texts. Supports over 150 languages.
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
POST
Recognize Language
Recognize Language
https://api.apis.guru/v2/specs/rapidapi.com/language-identification/1.0.0/recognize-language
Hover any highlighted part to learn what it does
Headers — extra info sent with the request
| X-RapidAPI-Key | example |
| X-RapidAPI-Host | language-identification-prediction.p.rapidapi.com |
curl -X POST "https://api.apis.guru/v2/specs/rapidapi.com/language-identification/1.0.0/recognize-language/" \ -H "X-RapidAPI-Key: example" \ -H "X-RapidAPI-Host: language-identification-prediction.p.rapidapi.com"
import requests
headers = {
"X-RapidAPI-Key": "example",
"X-RapidAPI-Host": "language-identification-prediction.p.rapidapi.com"
}
response = requests.post(
"https://api.apis.guru/v2/specs/rapidapi.com/language-identification/1.0.0/recognize-language/",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/rapidapi.com/language-identification/1.0.0/recognize-language/';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-RapidAPI-Key': 'example',
'X-RapidAPI-Host': 'language-identification-prediction.p.rapidapi.com'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/rapidapi.com/language-identification/1.0.0/recognize-language/"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-RapidAPI-Key", "example")
req.Header.Set("X-RapidAPI-Host", "language-identification-prediction.p.rapidapi.com")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/rapidapi.com/language-identification/1.0.0/recognize-language/")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-RapidAPI-Key"] = "example"
req["X-RapidAPI-Host"] = "language-identification-prediction.p.rapidapi.com"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/rapidapi.com/language-identification/1.0.0/recognize-language/";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-RapidAPI-Key: example",
"X-RapidAPI-Host: language-identification-prediction.p.rapidapi.com"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Language Identification (Prediction)?
Language Identification (Prediction) is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Language Identification (Prediction) is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide