KEKKAI mainly provides the following three HTTP apis:
- Transaction Simulation
- Signature Analysis
- Token Risk Detection
- Website Risk Detection
- Approval Infos
API Key
You will need an API key to use the API, click on Get API Key to request one.
Transaction Simulation
Try sending a request to get asset transfer information about token swap transactions.
curl --request POST \
--url https://api.kekkai.io/open-apis/transaction-simulation/asset-changes \
--header 'X-API-KEY: docs-demo' \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--data chainId=1 \
--data from=0xd8da6bf26964af9d7eed9e03e53415d37aa96045 \
--data to=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
--data data=0xa9059cbb000000000000000000000000fc43f5f9dd45258b3aff31bdbe6561d97e8b71de00000000000000000000000000000000000000000000000000000000000f4240 \
--data value=0x0 \
--data gas=0x13880 \
--data riskDetection=false
Token Risk Detection
Try sending a request to get risk information about an nft.
curl --request GET \
--url 'https://api.kekkai.io/open-apis/risk-detection/token?chainId=1&contract=0x2d33bfe1c867346543ac245396dfc6c3ebc8534f&tokenId=1244' \
--header 'X-API-KEY: docs-demo' \
--header 'accept: application/json'
Website Risk Detection
Try sending a request to get risk information about an dapp website.
curl --request GET \
--url 'https://api.kekkai.io/open-apis/risk-detection/website?url=https%3A%2F%2F0pen-sea.top' \
--header 'accept: application/json'

