The Scan API Service provides endpoints to check and validate transactions and wallets for compliance and potential risks. It integrates with blockchain networks to retrieve transaction and wallet details and analyzes their safety level.
The service is available at the following base URL:
https://anti-scamapi.starcompliance.io
/api/v1/scan/transactionPOSTAuthorization header./api/v1/scan/walletPOSTAuthorization header.{
"hash": "0xabc123...",
"network": "ETH",
"token": "USDT"
}
{
"alertLevel": "HIGH",
"amount": "5000",
"fromAddress": "0xabc123...",
"hash": "0xabc123...",
"reportId": "12345",
"toAddress": "0xdef456...",
"scanStatus": "VERIFIED"
}
{
"address": "0xdef456...",
"network": "ETH"
}
{
"address": "0xdef456...",
"alertLevel": "LOW",
"reportId": "67890",
"scanStatus": "VERIFIED"
}
All requests require an API token passed in the Authorization header:
Authorization: Bearer <API_TOKEN>
The API uses standard HTTP status codes to indicate success or failure:
200 OK: Successful request.401 Unauthorized: API token missing or invalid.403 Forbidden: Access to the resource is forbidden.404 Not Found: The requested resource does not exist.Refer to the OpenAPI YAML Specification for full technical details.
API methods for submitting and checking your transactions and wallets. Responses for asynchronously processed requests will be delivered to the URL specified in the webhookUrl field, using the same schema as the synchronous response.
Returns checked transaction with reportID.
| async | boolean Default: false Flag to specify how request is processed. If set to true response will be sent to URL from webhookUrl field. |
| Authorization required | string Example: Bearer access_token API Token |
request
| hash | string |
| network | string Value: "TRX" |
| token | string Value: "USDT" |
| webhookUrl | string |
{- "hash": "string",
- "network": "TRX",
- "token": "USDT",
- "webhookUrl": "string"
}Returns checked wallet info with reportID.
| Authorization required | string Example: Bearer access_token API Token |
request
| address | string |
| network | string Value: "TRX" |
| token | string Value: "USDT" |
{- "address": "string",
- "network": "TRX",
- "token": "USDT"
}