Who Hosts This API
who-hosts-this · IoT
Discover the hosting provider for any web site
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
Discover the hosting provider for a web site
Discover the hosting provider for a web site
https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Detect?url=https://example.com
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Detect?url=https%3A%2F%2Fexample.com"
import requests
params = {
"url": "https://example.com"
}
response = requests.get(
"https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Detect",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Detect');
url.searchParams.set('url', 'https://example.com');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Detect")
q := baseURL.Query()
q.Set("url", "https://example.com")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
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/who-hosts-this.com/0.0.1/Detect")
uri.query = URI.encode_www_form({
"url" => "https://example.com"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Detect?" . http_build_query([
"url" => "https://example.com"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
View usage details for the current billing period
View usage details for the current billing period
https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Status
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Status"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Status",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Status'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Status"
req, _ := http.NewRequest("GET", targetURL, nil)
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/who-hosts-this.com/0.0.1/Status")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/who-hosts-this.com/0.0.1/Status";
$opts = ["http" => [
"method" => "GET",
]];
$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 Who Hosts This API?
Who Hosts This API is a IoT API. Developers commonly use iot APIs for:
- collecting and streaming sensor and device data
- monitoring and controlling connected devices
- building smart-home and industrial dashboards
- processing device telemetry at scale
- automating device provisioning and alerting
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Who Hosts This API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide