Languages List
Retrieve full list of languages by Google, Bing and Yahoo. You can use language code in performing serp request
Requires authentication
Get a full list of languages by google, bing and yahoo
GET
https://api.serphouse.com/language/list/{type}
Path Parameters
Name | Type | Description |
---|---|---|
type* | String | type can be google, bing and yahoo |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer <YOUR_API_KEY> |
{
"status": "success",
"msg": "",
"results": {
"zh_CN": "Chinese (simplified)",
"zh_TW": "Chinese (traditional)",
"de": "Deutsch",
"en": "English",
"es": "español",
"es-419": "español (Latinoamérica)",
"fr": "français",
"hr": "Croatian hrvatski",
"it": "italiano",
"nl": "Nederlands",
"pl": "polski",
"pt": "Portuguese",
"pt-BR": "português (Brasil)",
"pt-PT": "português (Portugal)",
"vi": "Vietnamese Tiếng Việt",
"tr": "Turkish (Türkçe)",
"ru": "Russian (русский)",
"ar": "Arabic (العربية)",
"th": "Thai (ไทย)",
"ko": "Korean (한국어)",
"zh-CN": "中文 (简体)",
"zh-TW": "中文 (繁體)",
"ja": "Japanese 日本語",
"ach": "Acoli",
"af": "Afrikaans",
"ak": "Akan",
"ig": "Asụsụ Igbo",
"az": "azərbaycan",
"ban": "Balinese",
"su": "Basa Sunda",
"ceb": "Binisaya",
"xx-bork": "Bork, bork, bork!",
"bs": "bosanski",
"br": "brezhoneg",
"ca": "Catalan català",
"cs": "Czech čeština",
"sn": "chiShona",
"co": "Corsican",
"cy": "Cymraeg",
"da": "Danish dansk",
"yo": "Èdè Yorùbá",
"et": "eesti",
"xx-elmer": "Elmer Fudd",
"eo": "esperanto",
"eu": "euskara",
"ee": "Eʋegbe",
"fil": "Filipino",
"tl": "Filipino",
"fo": "føroyskt",
"fy": "Frysk",
"gaa": "Ga",
"ga": "Gaeilge",
"gd": "Gàidhlig",
"gl": "galego",
"gn": "Guarani",
"xx-hacker": "Hacker",
"ht": "Haitian Creole",
"ha": "Hausa",
"haw": "ʻŌlelo Hawaiʻi",
"bem": "Ichibemba",
"rn": "Ikirundi",
"id": "Indonesia",
"ia": "interlingua",
"xh": "isiXhosa",
"zu": "isiZulu",
"is": "íslenska",
"jw": "Jawa",
"rw": "Kinyarwanda",
"sw": "Kiswahili",
"tlh": "Klingon",
"kg": "Kongo",
"mfe": "kreol morisien",
"kri": "Krio (Sierra Leone)",
"la": "Latin",
"lv": "latviešu",
"to": "lea fakatonga",
"lt": "lietuvių",
"ln": "lingála",
"loz": "Lozi",
"lua": "Luba-Lulua",
"lg": "Luganda",
"hu": "magyar",
"mg": "Malagasy",
"mt": "Malti",
"mi": "Māori",
"ms": "Melayu",
"pcm": "Nigerian Pidgin",
"no": "norsk",
"nso": "Northern Sotho",
"ny": "Nyanja",
"nn": "nynorsk",
"uz": "o‘zbek",
"oc": "Occitan",
"om": "Oromoo",
"xx-pirate": "Pirate",
"ro": "română",
"rm": "rumantsch",
"qu": "Runasimi",
"nyn": "Runyankore",
"crs": "Seychellois Creole",
"sq": "shqip",
"sk": "slovenčina",
"sl": "slovenščina",
"so": "Soomaali",
"st": "Southern Sotho",
"sr-ME": "srpski (Crna Gora)",
"sr-Latn": "srpski (latinica)",
"fi": "suomi",
"sv": "svenska",
"tn": "Tswana",
"tum": "Tumbuka",
"tk": "türkmen dili",
"tw": "Twi",
"wo": "Wolof",
"el": "Greek (Ελληνικά)",
"be": "Belarusian (беларуская)",
"bg": "Bulgarian (български)",
"ky": "Kyrgyz (кыргызча)",
"kk": "Kazakh (қазақ тілі)",
"mk": "Macedonian (македонски)",
"mn": "монгол",
"sr": "Serbian (српски)",
"tt": "Tatar (татар)",
"tg": "Tajik (тоҷикӣ)",
"uk": "Ukrainian (українська)",
"ka": "Georgian (ქართული)",
"hy": "Armenian (հայերեն)",
"yi": "ייִדיש (jewish)",
"iw": "Abrit (עברית)",
"ug": "Uyghur (ئۇيغۇرچە)",
"ur": "Urdu - اردو",
"ps": "Pashto (پښتو)",
"sd": "سنڌي (Sindhi)",
"fa": "Persian (فارسی)",
"ckb": "کوردیی ناوەندی",
"ti": "Tigrinya (ትግርኛ)",
"am": "Amharic (አማርኛ)",
"ne": "Nepali (नेपाली)",
"mr": "Marathi (मराठी)",
"hi": "Hindi (हिन्दी)",
"bn": "Bengali (বাংলা)",
"pa": "ਪੰਜਾਬੀ",
"gu": "Gujarati (ગુજરાતી)",
"or": "Oriya (ଓଡ଼ିଆ)",
"ta": "Tamil (தமிழ்)",
"te": "Telugu (తెలుగు)",
"kn": "Kannada (ಕನ್ನಡ)",
"ml": "മലയാളം",
"si": "the Sinhala (සිංහල)",
"lo": "He ລາວ",
"my": "Myanmar (မြန်မာ)",
"km": "Khmer (ខ្មែរ)",
"chr": "ᏣᎳᎩ"
}
}
{
"status": "error",
"msg": "Unauthenticated"
}
Example request:
curl --location --request GET 'https://api.serphouse.com/language/list/google' \
--header 'Authorization: Bearer <YOUR_API_KEY>'
require "uri"
require "net/http"
url = URI("https://api.serphouse.com/language/list/google")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = "Bearer <YOUR_API_KEY>"
response = https.request(request)
puts response.read_body
import requests
url = "https://api.serphouse.com/language/list/google"
payload={}
headers = {
'Authorization': 'Bearer <YOUR_API_KEY>'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
var axios = require('axios');
var config = {
method: 'get',
url: 'https://api.serphouse.com/language/list/google',
headers: {
'Authorization': 'Bearer <YOUR_API_KEY>'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
<?php
$serphouse = new SERPHouse\SERPHouseClient('YOUR_API_KEY');
$res = $serphouse->languages->list(['type' => 'google']);
echo $res->getResponse();
OkHttpClient client = new OkHttpClient().newBuilder().build();
Request request = new Request.Builder()
.url("https://api.serphouse.com/language/list/google")
.get()
.addHeader("Authorization", "Bearer <YOUR_API_KEY>")
.build();
Response response = client.newCall(request).execute();
System.out.println(response.body().string());
var myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer <YOUR_API_KEY>");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.serphouse.com/language/list/google", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.serphouse.com/language/list/google"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer <YOUR_API_KEY>")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
var client = new RestClient("https://api.serphouse.com/language/list/google");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <YOUR_API_KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
Last updated