Last updated

urlscan.io Result API Reference

The Result API allows retrieving the metadata generated by each scan. The metadata is a JSON object with different top-level keys. Some of the information in the object is redundant and only repeated for convenience. The best way to explore the available data in the Result API is to perform a scan and look at its API output.

Result API Fields

The Result API returns a JSON object for each scan which has the following top-level keys:

  • task: Information about the submission: Time, method, options, links to screenshot/DOM.
  • page: High-level information about the page: Geolocation, IP, PTR.
  • lists: Lists of domains, IPs, URLs, ASNs, servers, hashes.
  • data: All of the requests/responses, links, cookies, messages.
  • meta: Processor output: ASN, GeoIP, AdBlock, Google Safe Browsing.
  • stats: Computed stats (by type, protocol, IP, etc.).
  • verdicts: Verdicts about malicious content, with subkeys urlscan, engines, community.

You will notice that some fields are purely derivative (like the stats and lists) and made for easy consumption while other fields carry the raw data such as the "data" and "task" fields. The following is not a comprehensive list of all fields and sub-keys but should give you a good idea about where to look for what piece of information.

Field NameTypeNotes / Possible Values
task.apexDomainStringThe registered second-level domain of the task hostname
task.methodStringThe method of how the URL was tasked (api or manual or automatic)
task.optionsObjectOptions supplied to the scan (not standardised yet)
task.tags[String]User-supplied tags submitted during submission
task.timeISO-8601 timestampTime the scan was created
task.urlURL (String)The URL that was tasked
task.uuidUUIDThe unique ID of the scan
task.visibilityStringVisibility of the task
page.apexDomainStringThe registered second-level domain of the page hostname
page.asnnameStringAS (Autonomous System) name of the primary IP
page.asnStringAS (Autonomous System) number of the primary IP
page.cityStringGeoIP City Information about the IP contacted for the primary request
page.countryStringGeoIP Country Information about the IP contacted for the primary request
page.domainStringHostname from page.url
page.ipIPv4 / IPv6IP contacted for the primary request
page.mimeTypeStringPage MIME type
page.ptrIPv4 / IPv6DNS PTR record for the primary IP
page.redirectedStringWhether the page was redirected
page.serverStringHTTP "Server" header of the primary request response
page.statusStringHTTP response code for primary page
page.titleStringTitle of the website
page.tlsAgeDaysIntegerAge of the TLS certificate at the time of scanning
page.tlsIssuerStringTLS issuer name for the TLS cert of the page
page.tlsValidDaysIntegerValidity period of the TLS certificate in days
page.tlsValidFromISO-8601 timestampISO 8601 timestamp of valid-from date for page TLS certificate
page.umbrellaRankIntegerCisco Umbrella rank of the page hostname
page.urlURL (String)The URL of the "primary request", i.e., the HTML document loaded last after all redirects
data.requests[Object]Individual HTTP transactions during page navigation (+ metadata)
data.cookies[Object]Cookies set by the page with associated metadata
data.console[Object]Console messages during page navigation
data.links[Object]Links and link text contained on the fully loaded page
data.timingObjectTiming entries for various lifecycle events
data.globals[Object]JavaScript non-standard global variable names and types on the fully loaded page
meta.processors.asn.data[Object]IP ASN annotation for every IP contacted during page navigation
meta.processors.download.data[Object]List of files that were downloaded by the website
meta.processors.geoip.data[Object]GeoIP annotation for every IP contacted during page navigation
meta.processors.rdns.data[Object]DNS PTR records for every hostname contacted during page navigation
meta.processors.umbrella.data[Object]Cisco Umbrella Top 1 Million annotation per hostname
meta.processors.wappa.data[Object]Wappalyzer technology detection for fully loaded page
lists.ips[IPv4/IPv6]IPs contacted
lists.countries[ISO-3166]GeoIP country of IPs contacted
lists.ips[IPv4/IPv6]IPs contacted
lists.asns[Integer]AS Numbers contacted
lists.domains[String]Hostnames contacted
lists.server[String]Unique HTTP "Server" headers of responses
lists.urls[URL]URLs requested
lists.linkDomains[String]Unique hostnames of links
lists.certificates[Object]TLS Certificates of responses
lists.hashes[String]SHA256s hashes of HTTP response bodies
verdicts.urlscan.scoreIntegerMaliciousness score (-100 to 100, with -100 being legitimate and 100 being malicious)
verdicts.urlscan.categories[String]Maliciousness categories (e.g., "phishing")
verdicts.urlscan.brands[Object]Brand detections
verdicts.urlscan.brands[].keyStringBrand key
verdicts.urlscan.brands[].nameStringBrand name
verdicts.urlscan.brands[].country[String]Brand countries (ISO-3166)
verdicts.urlscan.brands[].vertical[String]Brand industry verticals
labels[String]System Labels (see above) - Only in urlscan Pro
usertags[String]User Tags (see above) - Only in urlscan Pro
metatags[String]Meta hits for this item - Only in urlscan Pro (Attention: This field is called meta in the Search API)