Lookalike Domain
/api/lookalike/domain/:domain
Given a domain name, search newly-observed domains for lookalike domains. This endpoint finds newly-observed domain names with a Levenshtein distance of 2 or less from the given domain name.
Only available to advanced individual or enterprise users
Path Parameters
domainstring Required
Domain to find
Query Parameters
limitinteger
Limit the Number of Results
Default: 250, Min: 1, Max: 250lookbackinteger
Only search newly-observed domains from the past N days
Usage
API Key
API Keys are authenticated using the
"Authorization: BEARER <YOUR_API_KEY>"
scheme. Add this to your HTTP headers when making a request.
curl
1
2
curl -X GET -H "Authorization: BEARER <YOUR_API_KEY>" \ 'https://app.validin.com/api/lookalike/domain/:domain'
python
1
2
3
4
5
6
import requests api_key = "<YOUR_API_KEY>" headers = {"content-type":"application/json", "Authorization": f"BEARER {api_key}"} url = "https://app.validin.com/api/lookalike/domain/:domain" response = requests.get(url, headers=headers) print(response.text)
go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package main import ( "fmt" "net/http" "io" ) func main () { url := "https://app.validin.com/api/lookalike/domain/:domain" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "BEARER <YOUR_API_KEY>") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
ruby
1
2
3
4
5
6
7
8
9
require 'net/http' http = Net::HTTP.new("app.validin.com", 443) http.use_ssl = true api_key = "<YOUR_API_KEY>" headers = {'Content-Type' => 'application/json', 'Authorization' => "Bearer #{api_key}"} request = Net::HTTP::Get.new("/api/lookalike/domain/:domain", headers) response = http.request(request) puts response.body
Response
200 OK
Input all required parameters, populate your API Key, and then click
Run Query
to try an API call and see the response here.