EVM Token Security
curl --request POST \
--url https://service.hashdit.io/v2/hashdit/token-security \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"chainId": "56",
"address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"
}
'import requests
url = "https://service.hashdit.io/v2/hashdit/token-security"
payload = {
"chainId": "56",
"address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"
}
headers = {
"X-API-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({chainId: '56', address: '0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82'})
};
fetch('https://service.hashdit.io/v2/hashdit/token-security', 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://service.hashdit.io/v2/hashdit/token-security",
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([
'chainId' => '56',
'address' => '0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <x-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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://service.hashdit.io/v2/hashdit/token-security"
payload := strings.NewReader("{\n \"chainId\": \"56\",\n \"address\": \"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<x-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))
}HttpResponse<String> response = Unirest.post("https://service.hashdit.io/v2/hashdit/token-security")
.header("X-API-Key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"chainId\": \"56\",\n \"address\": \"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://service.hashdit.io/v2/hashdit/token-security")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"chainId\": \"56\",\n \"address\": \"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82\"\n}"
response = http.request(request)
puts response.read_body{
"code": "0",
"status": "ok",
"data": {
"address": "bsc:0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",
"address_type": "ERC20",
"overall_risk_level": "No Obvious Risk",
"overall_score": "90",
"basic_info": {
"token_name": "PancakeSwap Token",
"token_symbol": "Cake",
"token_decimals": "18",
"days_deployed": "1913",
"is_mintable": "1",
"is_in_dex": "1",
"verified": "1"
},
"privileges": {
"owner_address": "0x73feaa1eE314F8c655E354234017bE2193C9E24E",
"owner_type": "contract",
"dev_malicious": "0"
},
"security_risks": {
"is_honeypot": "0",
"hidden_owner": "0",
"self_destruct": "0",
"unlimited_mintable": "1"
},
"token_market": {
"holders_count": "1870482",
"owner_token_percent": "0.0024",
"holders_concentration": {
"top1_eoa_concentration": "0.0017",
"top5_eoa_concentration": "0.0017"
}
},
"trade_analysis": {
"sell_tax": "0.0000",
"transfer_tax": "0.0000"
},
"transfer_restrictions": {
"is_anti_whale": "0",
"transfer_pausable": "0",
"transfer_blacklist": "0"
},
"threat_intelligence": {
"risk_level": "0",
"trust_level": "3"
},
"scanned_time": 1766092636
}
}{
"code": "<string>",
"status": "<string>"
}{
"code": "403",
"message": "invalid apiKey: apiKey invalid",
"apiKey": ""
}{
"code": "429",
"status": "error",
"message": "Rate limit exceeded"
}EVM Token Security
EVM Token Security
Performs a comprehensive security and market analysis of an EVM-compatible token (e.g. ERC-20). The API evaluates contract privileges, minting capabilities, honeypot risks, ownership controls, market liquidity, holder distribution, transfer restrictions, and threat intelligence to determine the token’s overall risk profile.
POST
/
v2
/
hashdit
/
token-security
EVM Token Security
curl --request POST \
--url https://service.hashdit.io/v2/hashdit/token-security \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"chainId": "56",
"address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"
}
'import requests
url = "https://service.hashdit.io/v2/hashdit/token-security"
payload = {
"chainId": "56",
"address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"
}
headers = {
"X-API-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({chainId: '56', address: '0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82'})
};
fetch('https://service.hashdit.io/v2/hashdit/token-security', 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://service.hashdit.io/v2/hashdit/token-security",
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([
'chainId' => '56',
'address' => '0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <x-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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://service.hashdit.io/v2/hashdit/token-security"
payload := strings.NewReader("{\n \"chainId\": \"56\",\n \"address\": \"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<x-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))
}HttpResponse<String> response = Unirest.post("https://service.hashdit.io/v2/hashdit/token-security")
.header("X-API-Key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"chainId\": \"56\",\n \"address\": \"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://service.hashdit.io/v2/hashdit/token-security")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"chainId\": \"56\",\n \"address\": \"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82\"\n}"
response = http.request(request)
puts response.read_body{
"code": "0",
"status": "ok",
"data": {
"address": "bsc:0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",
"address_type": "ERC20",
"overall_risk_level": "No Obvious Risk",
"overall_score": "90",
"basic_info": {
"token_name": "PancakeSwap Token",
"token_symbol": "Cake",
"token_decimals": "18",
"days_deployed": "1913",
"is_mintable": "1",
"is_in_dex": "1",
"verified": "1"
},
"privileges": {
"owner_address": "0x73feaa1eE314F8c655E354234017bE2193C9E24E",
"owner_type": "contract",
"dev_malicious": "0"
},
"security_risks": {
"is_honeypot": "0",
"hidden_owner": "0",
"self_destruct": "0",
"unlimited_mintable": "1"
},
"token_market": {
"holders_count": "1870482",
"owner_token_percent": "0.0024",
"holders_concentration": {
"top1_eoa_concentration": "0.0017",
"top5_eoa_concentration": "0.0017"
}
},
"trade_analysis": {
"sell_tax": "0.0000",
"transfer_tax": "0.0000"
},
"transfer_restrictions": {
"is_anti_whale": "0",
"transfer_pausable": "0",
"transfer_blacklist": "0"
},
"threat_intelligence": {
"risk_level": "0",
"trust_level": "3"
},
"scanned_time": 1766092636
}
}{
"code": "<string>",
"status": "<string>"
}{
"code": "403",
"message": "invalid apiKey: apiKey invalid",
"apiKey": ""
}{
"code": "429",
"status": "error",
"message": "Rate limit exceeded"
}Headers
Your HashDit API key
Body
application/json
Token contract address to analyze
The network chain ID. See Supported Chains for a complete list of supported networks for this endpoint.
Example:
"56"
Token contract address.
Example:
"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"
Was this page helpful?
⌘I