Input Schema
{
"discoverable": true,
"method": "GET",
"queryParams": {
"address": {
"description": "Token contract address to analyze",
"type": "string"
},
"chain": {
"description": "Chain name where the token is deployed. Use /api/v1/chains to get the list of available chains.",
"enum": [
"ethereum",
"bsc",
"optimism",
"polygon",
"arbitrum_one",
"moonbeam",
"moonriver",
"cronos",
"bit_torrent",
"celo",
"gnosis",
"arbitrum_nova",
"base",
"polygon_zkevm",
"linea",
"frax",
"avalanche_c_chain",
"blast",
"mantle",
"taiko",
"xdc",
"ape",
"world",
"unichain",
"sonic",
"sophon",
"abstract",
"berachain",
"memecore",
"swellchain"
],
"type": "string"
}
},
"type": "http"
}
Output Schema
{
"properties": {
"address": {
"description": "Token contract address that was analyzed",
"type": "string"
},
"chain_id": {
"description": "Chain ID where the token is deployed",
"type": "string"
},
"execution_time": {
"description": "Time taken to execute the analysis in seconds",
"type": "number"
},
"info": {
"description": "Additional information about the token contract",
"properties": {
"implementation_address": {
"description": "Implementation contract address (null if not a proxy)",
"type": [
"string",
"null"
]
},
"is_erc20": {
"description": "Whether the contract is ERC20 compliant",
"type": "boolean"
},
"is_proxy": {
"description": "Whether the contract uses a proxy pattern",
"type": "boolean"
},
"is_verified": {
"description": "Whether the contract source code is verified",
"type": "boolean"
},
"proxy_address": {
"description": "Proxy contract address",
"type": "string"
}
},
"type": "object"
},
"market_endorsed": {
"description": "Whether the token is market endorsed",
"type": "boolean"
},
"query_name": {
"description": "Name of the analysis query",
"type": "string"
},
"query_version": {
"description": "Version of the analysis query",
"type": "string"
},
"results": {
"description": "Array of risk analysis results for the token",
"items": {
"properties": {
"code_snippets": {
"description": "Code snippets demonstrating the risk (null if not applicable)",
"items": {
"properties": {
"contract_code": {
"description": "Full contract code snippet",
"type": "string"
},
"function_code": {
"description": "Function code snippet",
"type": "string"
},
"instruction_code": {
"description": "Specific instruction or line of code",
"type": "string"
}
},
"type": "object"
},
"type": [
"array",
"null"
]
},
"description": {
"description": "Detailed description of the risk",
"type": "string"
},
"key": {
"description": "Unique identifier for the risk check",
"type": "string"
},
"severity": {
"description": "Severity level of the risk",
"type": "string"
},
"sub_title": {
"description": "Subtitle providing additional context",
"type": "string"
},
"title": {
"description": "Title of the risk",
"type": "string"
},
"value": {
"description": "Boolean indicating if the risk is present",
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"score": {
"description": "Overall risk score",
"type": "number"
}
},
"required": [
"address",
"chain_id",
"query_name",
"results",
"info"
],
"type": "object"
}