TokenCanary provides RESTful API endpoints to access Uniswap V2 token security analytics programmatically. All responses are returned in JSON format.
Most endpoints require an API key. To obtain an API key, please register and visit theSettings page. Include your API key in the request headers as x-api-key
.
Returns a list of tokens that have been verified by our AI system as likely safe based on contract analysis, liquidity patterns, and trading history.
An array of token objects with details including address, name, symbol, created timestamp, verification score, and safety metrics.
fetch('https://api.tokencanary.com/api/analyses/ai_verified_tokens', {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
})
.then(response => response.json())
.then(data => console.log(data));
Retrieves tokens identified as potential honeypots - contracts that allow purchases but prevent selling, designed to trap investors.
An array of suspected honeypot tokens with contract addresses, detection timestamps, detection method, and risk score.
fetch('https://api.tokencanary.com/api/tokens/honeypot_raw_tokens', {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
})
.then(response => response.json())
.then(data => console.log(data));
Lists tokens that have locked liquidity but unverified contract source code, which presents a mixed risk profile - locked liquidity is positive, but unverified code is a risk factor.
An array of tokens with locked liquidity but unverified source code, including address, lock details, liquidity amount, and risk assessment.
fetch('https://api.tokencanary.com/api/tokens/locked_unverified', {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
})
.then(response => response.json())
.then(data => console.log(data));
© 2025 TokenCanary Analytics. This tool is for informational purposes only and should not be considered financial advice.