I am trying to scan URLs with VirusTotal service API but always receive response_code = 1 even if URL don’t exists:
stdClass Object
(
[permalink] => https://www.virustotal.com/url/a92faaf82a911b2fe10ecbc51c6432f903b2a66d0686d6be0eeec78abf17cded/analysis/1348649385/
[resource] => http://www.sdfjiodsffnsdklfjksdhf.com/
[url] => http://www.sdfjiodsffnsdklfjksdhf.com/
[response_code] => 1
[scan_date] => 2012-09-26 08:49:45
[scan_id] => a92faaf82a911b2fe10ecbc51c6432f903b2a66d0686d6be0eeec78abf17cded-1348649385
[verbose_msg] => Scan request successfully queued, come back later for the report
)
But in above manual they write:
“response_code: if the item you searched for was not present in VirusTotal’s dataset this result will be 0. If the requested item is still queued for analysis it will be -2. If the item was indeed present and it could be retrieved it will be 1. Any other case is detailed in the following sections.”
I am using VirusTotalApiV2 class for that.
Have received the answer from support: