Get a company's identity, brand, and every public contact detail for any domain
curl --request GET \
--url https://scoutlayer.io/api/v1/domain/{domain} \
--header 'X-API-Key: <api-key>'import requests
url = "https://scoutlayer.io/api/v1/domain/{domain}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://scoutlayer.io/api/v1/domain/{domain}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scoutlayer.io/api/v1/domain/{domain}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scoutlayer.io/api/v1/domain/{domain}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scoutlayer.io/api/v1/domain/{domain}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scoutlayer.io/api/v1/domain/{domain}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "ok",
"domain": "<string>",
"information": {
"name": "<string>",
"legal_name": "Example Technologies, Inc.",
"website": "<string>",
"title": "<string>",
"description": "<string>",
"language": "<string>",
"logo": {
"url": "<string>",
"width": 123,
"height": 123
},
"favicon": {
"url": "<string>"
},
"address": {
"street": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>",
"country": "<string>",
"country_code": "US",
"formatted": "<string>"
},
"brand": {
"primary_color": "#635bff",
"colors": [
"<string>"
]
},
"og_image": "<string>"
},
"best_contact": {
"type": "person_email",
"value": "<string>",
"person_id": "<string>",
"name": "<string>",
"role": "<string>",
"confidence": 0.5,
"source_urls": [
"<string>"
],
"email_source": "observed"
},
"emails": [
{
"email": "<string>",
"type": "personal",
"person_id": "<string>",
"confidence": 0.5,
"source_urls": [
"<string>"
]
}
],
"phones": [
{
"phone": "<string>",
"type": "business",
"confidence": 0.5,
"source_urls": [
"<string>"
]
}
],
"socials": [
{
"platform": "linkedin",
"url": "<string>",
"handle": "<string>",
"source_urls": [
"<string>"
]
}
],
"people": [
{
"id": "<string>",
"name": "<string>",
"role": "<string>",
"email": "<string>",
"confidence": 0.5,
"source_urls": [
"<string>"
],
"email_source": "observed",
"linkedin_url": "<string>"
}
],
"pages": [
{
"type": "contact",
"url": "<string>",
"title": "<string>"
}
],
"summary": {
"has_contact": true,
"has_email": true,
"email_count": 123,
"phone_count": 123,
"social_count": 123,
"people_count": 123
},
"meta": {
"credits_consumed": 123,
"fetched_at": "<string>",
"processing_ms": 123
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}Domain Context
Website Contact Finder API
Get a company’s identity, brand, and every public contact detail for any domain
GET
/
v1
/
domain
/
{domain}
Get a company's identity, brand, and every public contact detail for any domain
curl --request GET \
--url https://scoutlayer.io/api/v1/domain/{domain} \
--header 'X-API-Key: <api-key>'import requests
url = "https://scoutlayer.io/api/v1/domain/{domain}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://scoutlayer.io/api/v1/domain/{domain}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scoutlayer.io/api/v1/domain/{domain}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scoutlayer.io/api/v1/domain/{domain}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scoutlayer.io/api/v1/domain/{domain}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scoutlayer.io/api/v1/domain/{domain}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "ok",
"domain": "<string>",
"information": {
"name": "<string>",
"legal_name": "Example Technologies, Inc.",
"website": "<string>",
"title": "<string>",
"description": "<string>",
"language": "<string>",
"logo": {
"url": "<string>",
"width": 123,
"height": 123
},
"favicon": {
"url": "<string>"
},
"address": {
"street": "<string>",
"city": "<string>",
"region": "<string>",
"postal_code": "<string>",
"country": "<string>",
"country_code": "US",
"formatted": "<string>"
},
"brand": {
"primary_color": "#635bff",
"colors": [
"<string>"
]
},
"og_image": "<string>"
},
"best_contact": {
"type": "person_email",
"value": "<string>",
"person_id": "<string>",
"name": "<string>",
"role": "<string>",
"confidence": 0.5,
"source_urls": [
"<string>"
],
"email_source": "observed"
},
"emails": [
{
"email": "<string>",
"type": "personal",
"person_id": "<string>",
"confidence": 0.5,
"source_urls": [
"<string>"
]
}
],
"phones": [
{
"phone": "<string>",
"type": "business",
"confidence": 0.5,
"source_urls": [
"<string>"
]
}
],
"socials": [
{
"platform": "linkedin",
"url": "<string>",
"handle": "<string>",
"source_urls": [
"<string>"
]
}
],
"people": [
{
"id": "<string>",
"name": "<string>",
"role": "<string>",
"email": "<string>",
"confidence": 0.5,
"source_urls": [
"<string>"
],
"email_source": "observed",
"linkedin_url": "<string>"
}
],
"pages": [
{
"type": "contact",
"url": "<string>",
"title": "<string>"
}
],
"summary": {
"has_contact": true,
"has_email": true,
"email_count": 123,
"phone_count": 123,
"social_count": 123,
"people_count": 123
},
"meta": {
"credits_consumed": 123,
"fetched_at": "<string>",
"processing_ms": 123
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "<string>"
}
}Overview
1 credit per callAuthorizations
ApiKeyAuthBearerAuth
API key passed as the X-API-Key request header. Recommended for server-to-server calls.
Path Parameters
Minimum string length:
1Example:
"stripe.com"
Query Parameters
How many of the site's own pages to read, 1-20. Default 8, which covers the conventional contact pages on almost every site.
Example:
"8"
Response
Get a company's identity, brand, and every public contact detail for any domain
Available options:
ok, error Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes