Antivirus
The Antivirus API scans a file for trojans, viruses, malware & other malicious threats.
A file to be scanned can be uploaded in the API call or referenced by URL. This API is billed based on the amount of data scanned. You may want to lookup the md5 prior to running a scan to optimize costs.
Perform an antivirus scan on the file located at the url provided.
GET
https://api.sitebot.com/api/v1/av/scan-url
Query Parameters
Name | Type | Description |
---|---|---|
url* | URL | The URL of a file to scan. |
callback | URL | Send the scan result to this URL. |
Headers
Name | Type | Description |
---|---|---|
x-key* | String | Your API Key. |
Perform an antivirus scan on the file uploaded.
POST
https://api-upload.sitebot.com/api/v1/av/scan-upload
Note: There is a unique hostname for this API endpoint.
Headers
Name | Type | Description |
---|---|---|
x-callback | URL | Send the scan result to this URL. |
x-key* | String | Your API Key. |
Lookup the antivirus summary of a md5 checksum.
GET
https://api.sitebot.com/api/v1/av/lookup
A successful lookup will have one of the following status values: "working", "pass", "fail", "error".
Query Parameters
Name | Type | Description |
---|---|---|
md5* | String | The md5 checksum of a file. |
Headers
Name | Type | Description |
---|---|---|
x-key* | String | Your API Key. |
Callback URL
An optional callback URL can be provided in the scan-url and scan-upload methods. When the scan completes the json body of the lookup method will be posted to the callback URL.
Example URL
Example Upload
Last updated