SERPHouse
HomePricingAPI PlaygroundLogin
  • Introduction
    • Registration
    • About the SERP API
    • HTTP Status Codes
    • Authentication
    • Rate Limits
    • Webhook
    • Libraries
  • SERP API
    • Getting Started
    • Live (Using HTTP GET method)
    • Live (Using HTTP POST method)
    • Schedule SERP
    • Check SERP Status
    • Get SERP Result
  • Extra APIs
    • Domains List
    • Languages List
    • Locations List
    • Account Info
  • Trend API
    • Trend Search
    • Schedule Search
    • TimeZone List
    • Categories list
    • Country and State list
    • Language list
    • Get Search Result
    • Check Search Status
Powered by GitBook
On this page
  • Get a list of domains.
  • Example request:

Was this helpful?

  1. Extra APIs

Domains List

Get full list of supported domain by our serp api, This list also contains bing domain to perform SERP over bing.

As a response of the API server you will get the JSON array, There will be the information about available search engines domains.

Requires authentication

Get a list of domains.

GET https://api.serphouse.com/domain/list

Headers

Name
Type
Description

Authorization*

String

Bearer <YOUR_API_KEY>

{
    "status": "success",
    "msg": "",
    "results": [
        "bing.com",
        "google.com.af",
        "google.al",
        "google.dz",
        "google.as",
        "google.co.ke",
        "google.ad",
        "google.co.ao",
        "google.com.ai",
        "google.com.ag",
        "google.im",
        "google.com.ar",
        "google.am",
        "google.com.au",
        "google.at",
        "google.hn",
        "google.az",
        "google.bs",
        "google.com.bh",
        "google.com.bd",
        "google.com.my",
        "google.by",
        "google.be",
        "google.com.bz",
        "google.bj",
        "google.com.et",
        "google.bt",
        "google.com.bo",
        "google.ba",
        "google.co.bw",
        "google.mg",
        "google.com.br",
        "google.vg",
        "google.com.bn",
        "google.bg",
        "google.dk",
        "google.bf",
        "google.bi",
        "google.com.kh",
        "google.cm",
        "google.co.il",
        "google.ca",
        "google.cv",
        "google.cat",
        "google.cf",
        "google.td",
        "google.cl",
        "google.com.hk",
        "google.com.co",
        "google.co.ck",
        "google.co.cr",
        "google.ci",
        "google.hr",
        "google.com.cu",
        "google.com.cy",
        "google.cz",
        "google.dm",
        "google.com.do",
        "google.com.ec",
        "google.com.eg",
        "google.com.sv",
        "google.com.fj",
        "google.fi",
        "google.fr",
        "google.ga",
        "google.gm",
        "google.de",
        "google.com.gh",
        "google.com.gi",
        "google.gr",
        "google.dj",
        "google.gl",
        "google.gp",
        "google.com.gt",
        "google.gg",
        "google.gy",
        "google.hu",
        "google.is",
        "google.co.in",
        "google.co.id",
        "google.iq",
        "google.it",
        "google.com.jm",
        "google.co.jp",
        "google.je",
        "google.jo",
        "google.ki",
        "google.com.kw",
        "google.kg",
        "google.la",
        "google.lv",
        "google.com.lb",
        "google.co.ls",
        "google.com.ly",
        "google.li",
        "google.lt",
        "google.lu",
        "google.ml",
        "google.com.mt",
        "google.mu",
        "google.com.mx",
        "google.fm",
        "google.md",
        "google.mn",
        "google.me",
        "google.ms",
        "google.mw",
        "google.co.ma",
        "google.co.mz",
        "google.com.mm",
        "google.com.na",
        "google.cd",
        "google.nr",
        "google.com.np",
        "google.nl",
        "google.co.nz",
        "google.ee",
        "google.com.ni",
        "google.ne",
        "google.com.ng",
        "google.nu",
        "google.com.nf",
        "google.no",
        "google.com.om",
        "google.com.pk",
        "google.pn",
        "google.tt",
        "google.co.zm",
        "google.ps",
        "google.com.pa",
        "google.com.pg",
        "google.com.py",
        "google.com.pe",
        "google.com.ph",
        "google.pl",
        "google.pt",
        "google.com.pr",
        "google.com.qa",
        "google.mv",
        "google.cg",
        "google.ro",
        "google.ru",
        "google.rw",
        "google.sh",
        "google.com.vc",
        "google.ws",
        "google.sm",
        "google.st",
        "google.com.sa",
        "google.com.tr",
        "google.sn",
        "google.rs",
        "google.sc",
        "google.com.sl",
        "google.com.tj",
        "google.com.sg",
        "google.sk",
        "google.si",
        "google.com.sb",
        "google.so",
        "google.co.za",
        "google.co.kr",
        "google.es",
        "google.lk",
        "google.se",
        "google.ch",
        "google.com.tw",
        "google.co.tz",
        "google.co.th",
        "google.tl",
        "google.tg",
        "google.tk",
        "google.tm",
        "google.co.ug",
        "google.com.ua",
        "google.ae",
        "google.co.uk",
        "google.com.uy",
        "google.co.uz",
        "google.vu",
        "google.co.ve",
        "google.com.vn",
        "google.co.zw",
        "google.ge",
        "google.co.vi",
        "google.tn",
        "google.com",
        "google.to",
        "google.mk",
        "google.ht",
        "google.ie",
        "google.kz",
        "be.yahoo.com",
        "fr.yahoo.com",
        "br.yahoo.com",
        "ca.yahoo.com",
        "de.yahoo.com",
        "es.yahoo.com",
        "fr.yahoo.com",
        "in.yahoo.com",
        "id.yahoo.com",
        "ie.yahoo.com",
        "it.yahoo.com",
        "nl.yahoo.com",
        "no.yahoo.com",
        "at.yahoo.com",
        "ph.yahoo.com",
        "pl.yahoo.com",
        "qc.yahoo.com",
        "ro.yahoo.com",
        "ch.yahoo.com",
        "sg.yahoo.com",
        "za.yahoo.com",
        "fi.yahoo.com",
        "se.yahoo.com",
        "tr.yahoo.com",
        "uk.yahoo.com",
        "vn.yahoo.com",
        "gr.yahoo.com",
        "ru.yahoo.com",
        "ua.yahoo.com",
        "il.yahoo.com",
        "uk.yahoo.com",
        "hk.yahoo.com",
        "tw.yahoo.com",
        "malaysia.yahoo.com",
        "espanol.yahoo.com"
    ]
}
{
    "status": "error",
    "msg": "Unauthenticated"
}

Example request:

curl --location --request GET 'https://api.serphouse.com/domain/list' \
--header 'Authorization: Bearer <YOUR_API_KEY>'
require "uri"
require "net/http"

url = URI("https://api.serphouse.com/domain/list")

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/domain/list"

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/domain/list',
  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->domains->list();
echo $res->getResponse();
OkHttpClient client = new OkHttpClient().newBuilder().build();
Request request = new Request.Builder()
  .url("https://api.serphouse.com/domain/list")
  .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/domain/list", 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/domain/list"
  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))
}o
var client = new RestClient("https://api.serphouse.com/domain/list");
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);
PreviousGet SERP ResultNextLanguages List

Last updated 1 year ago

Was this helpful?