Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8593711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:03:15+00:00 2026-06-12T00:03:15+00:00

I am trying to scan URLs with VirusTotal service API but always receive response_code

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:03:16+00:00Added an answer on June 12, 2026 at 12:03 am

    Have received the answer from support:

    Hello,

    Perhaps the documentation is not clear enough.

    Whenever you send a URL for scanning, the URL might or might not be
    scanned in that same moment, what you are doing is you are enqueuing
    it for scanning. The response_code equal to one means that your
    enqueuing was successful and the scan will be performed as soon as
    possible (the API has a lower priority than the web interface).

    In order to retrieve the scan results you must come back at a later
    time and ask for them using:

    https://www.virustotal.com/documentation/public-api/#getting-url-scans

    The ideal work flow would be as follows:

    1) Check whether the URL was already scanned in the past using:

    https://www.virustotal.com/documentation/public-api/#getting-url-scans

    If it was indeed scanned and the scanning date is recent enough just
    use the report you just retrieved, if not go to [2].

    2) Ask for a scan using:

    https://www.virustotal.com/documentation/public-api/#scanning-urls

    3) Wait for a while (couple of hours to be on the safe side) and ask
    for the report on the URL:

    https://www.virustotal.com/documentation/private-api/#getting-url-scans

    If it still was not scanned just wait another while and poll the API
    at a later time.

    Hope this is clear, please do not hesitate to contact us if you still
    run into problems.

    Regards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to implement the Graham Scan in C++ but it doesn't work and
I'm trying to scan my application (window based with xib) for memory leaks, but
I am trying to scan through an NSMutableArray and remove all 0's. (They are
The language I am using is C I am trying to scan data from
I'm developing an application with BLE and am trying to constantly scan every known
I am trying to make a Java tool that will scan the structure of
I am trying to create a php file that would scan a directory, make
I'm trying to utilize setDebugFlags as recommended here to scan for opengl errors: http://developer.android.com/resources/articles/glsurfaceview.html
ok, so what i'm trying to do is to scan the previous folder. $scanned
A vulnerability scanning service regularly tests our site for PCI scan compliance. It has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.