analyze_token_website
curl --request POST \
--url https://pro-api.nikiwa.com/api/tools/analyze_token_website \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token_address": "<string>",
"network": "ethereum"
}
'import requests
url = "https://pro-api.nikiwa.com/api/tools/analyze_token_website"
payload = {
"token_address": "<string>",
"network": "ethereum"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({token_address: '<string>', network: 'ethereum'})
};
fetch('https://pro-api.nikiwa.com/api/tools/analyze_token_website', 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://pro-api.nikiwa.com/api/tools/analyze_token_website",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'token_address' => '<string>',
'network' => 'ethereum'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pro-api.nikiwa.com/api/tools/analyze_token_website"
payload := strings.NewReader("{\n \"token_address\": \"<string>\",\n \"network\": \"ethereum\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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))
}HttpResponse<String> response = Unirest.post("https://pro-api.nikiwa.com/api/tools/analyze_token_website")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"token_address\": \"<string>\",\n \"network\": \"ethereum\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pro-api.nikiwa.com/api/tools/analyze_token_website")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"token_address\": \"<string>\",\n \"network\": \"ethereum\"\n}"
response = http.request(request)
puts response.read_body{
"type": "domain_analysis",
"token_address": "0x3333333333333333333333333333333333333333",
"metadata": {
"token_address": "0x3333333333333333333333333333333333333333",
"chain": "ethereum"
},
"data": {
"domain": "example.com",
"domain_age_days": 365,
"creation_date": "2025-01-31T00:00:00+00:00",
"expiration_date": "2027-01-31T00:00:00+00:00",
"registrar": "Example Registrar",
"is_privacy_protected": true,
"blocklist": {},
"error": null
}
}Tools
analyze_token_website
Token website/domain analysis: whois age/privacy/registry + blocklist signals.
POST
/
api
/
tools
/
analyze_token_website
analyze_token_website
curl --request POST \
--url https://pro-api.nikiwa.com/api/tools/analyze_token_website \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token_address": "<string>",
"network": "ethereum"
}
'import requests
url = "https://pro-api.nikiwa.com/api/tools/analyze_token_website"
payload = {
"token_address": "<string>",
"network": "ethereum"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({token_address: '<string>', network: 'ethereum'})
};
fetch('https://pro-api.nikiwa.com/api/tools/analyze_token_website', 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://pro-api.nikiwa.com/api/tools/analyze_token_website",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'token_address' => '<string>',
'network' => 'ethereum'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pro-api.nikiwa.com/api/tools/analyze_token_website"
payload := strings.NewReader("{\n \"token_address\": \"<string>\",\n \"network\": \"ethereum\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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))
}HttpResponse<String> response = Unirest.post("https://pro-api.nikiwa.com/api/tools/analyze_token_website")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"token_address\": \"<string>\",\n \"network\": \"ethereum\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pro-api.nikiwa.com/api/tools/analyze_token_website")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"token_address\": \"<string>\",\n \"network\": \"ethereum\"\n}"
response = http.request(request)
puts response.read_body{
"type": "domain_analysis",
"token_address": "0x3333333333333333333333333333333333333333",
"metadata": {
"token_address": "0x3333333333333333333333333333333333333333",
"chain": "ethereum"
},
"data": {
"domain": "example.com",
"domain_age_days": 365,
"creation_date": "2025-01-31T00:00:00+00:00",
"expiration_date": "2027-01-31T00:00:00+00:00",
"registrar": "Example Registrar",
"is_privacy_protected": true,
"blocklist": {},
"error": null
}
}Reading the result
The response example uses made-up values and shows selected fields. Fields vary by network and available data.-
The tool finds a website in the token’s metadata, then returns its domain registration and blocklist data under
data. -
domain_age_days, registration dates, andregistrarcan benull.is_privacy_protecteddescribes the registration, not whether the site is malicious. -
A top-level
erroris returned if no website can be found or the domain lookup fails.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Token website/domain analysis: whois age/privacy/registry + blocklist signals. Fields vary by network and available data. Check for status: no_data, status: error, or an error field even when HTTP status is 200. See Errors & status.
Response fields depend on the network and available data. The example shows selected fields; see Reading the result for details.
Was this page helpful?