## Get URL scan `url_scanner.scans.get(strscan_id, ScanGetParams**kwargs) -> ScanGetResponse` **get** `/accounts/{account_id}/urlscanner/v2/result/{scan_id}` Get URL scan by uuid ### Parameters - `account_id: str` Account ID. - `scan_id: str` Scan UUID. ### Returns - `class ScanGetResponse: …` - `data: Data` - `console: List[DataConsole]` - `message: DataConsoleMessage` - `level: str` - `source: str` - `text: str` - `url: str` - `cookies: List[DataCookie]` - `domain: str` - `expires: float` - `http_only: bool` - `name: str` - `path: str` - `priority: str` - `same_party: bool` - `secure: bool` - `session: bool` - `size: float` - `source_port: float` - `source_scheme: str` - `value: str` - `globals: List[DataGlobal]` - `prop: str` - `type: str` - `links: List[DataLink]` - `href: str` - `text: str` - `performance: List[DataPerformance]` - `duration: float` - `entry_type: str` - `name: str` - `start_time: float` - `requests: List[DataRequest]` - `request: DataRequestRequest` - `document_url: str` - `has_user_gesture: bool` - `initiator: DataRequestRequestInitiator` - `host: str` - `type: str` - `url: str` - `redirect_has_extra_info: bool` - `request: DataRequestRequestRequest` - `initial_priority: str` - `is_same_site: bool` - `method: str` - `mixed_content_type: str` - `referrer_policy: str` - `url: str` - `headers: Optional[object]` - `request_id: str` - `type: str` - `wall_time: float` - `frame_id: Optional[str]` - `loader_id: Optional[str]` - `primary_request: Optional[bool]` - `redirect_response: Optional[DataRequestRequestRedirectResponse]` - `charset: str` - `mime_type: str` - `protocol: str` - `remote_ip_address: str` - `remote_port: float` - `security_headers: List[DataRequestRequestRedirectResponseSecurityHeader]` - `name: str` - `value: str` - `security_state: str` - `status: float` - `status_text: str` - `url: str` - `headers: Optional[object]` - `response: DataRequestResponse` - `asn: DataRequestResponseASN` - `asn: str` - `country: str` - `description: str` - `ip: str` - `name: str` - `org: str` - `data_length: float` - `encoded_data_length: float` - `geoip: DataRequestResponseGeoip` - `city: str` - `country: str` - `country_name: str` - `geoname_id: str` - `ll: List[float]` - `region: str` - `has_extra_info: bool` - `request_id: str` - `response: DataRequestResponseResponse` - `charset: str` - `mime_type: str` - `protocol: str` - `remote_ip_address: str` - `remote_port: float` - `security_details: DataRequestResponseResponseSecurityDetails` - `certificate_id: float` - `certificate_transparency_compliance: str` - `cipher: str` - `encrypted_client_hello: bool` - `issuer: str` - `key_exchange: str` - `key_exchange_group: str` - `protocol: str` - `san_list: List[str]` - `server_signature_algorithm: float` - `subject_name: str` - `valid_from: float` - `valid_to: float` - `security_headers: List[DataRequestResponseResponseSecurityHeader]` - `name: str` - `value: str` - `security_state: str` - `status: float` - `status_text: str` - `url: str` - `headers: Optional[object]` - `size: float` - `type: str` - `content_available: Optional[bool]` - `hash: Optional[str]` - `requests: Optional[List[DataRequestRequest]]` - `document_url: str` - `frame_id: str` - `has_user_gesture: bool` - `initiator: DataRequestRequestInitiator` - `type: str` - `loader_id: str` - `redirect_has_extra_info: bool` - `request: DataRequestRequestRequest` - `headers: DataRequestRequestRequestHeaders` - `name: str` - `initial_priority: str` - `is_same_site: bool` - `method: str` - `mixed_content_type: str` - `referrer_policy: str` - `url: str` - `request_id: str` - `type: str` - `wall_time: float` - `lists: Lists` - `asns: List[str]` - `certificates: List[ListsCertificate]` - `issuer: str` - `subject_name: str` - `valid_from: float` - `valid_to: float` - `continents: List[str]` - `countries: List[str]` - `domains: List[str]` - `hashes: List[str]` - `ips: List[str]` - `link_domains: List[str]` - `servers: List[str]` - `urls: List[str]` - `meta: Meta` - `processors: MetaProcessors` - `asn: MetaProcessorsASN` - `data: List[MetaProcessorsASNData]` - `asn: str` - `country: str` - `description: str` - `ip: str` - `name: str` - `dns: MetaProcessorsDNS` - `data: List[MetaProcessorsDNSData]` - `address: str` - `dnssec_valid: bool` - `name: str` - `type: str` - `domain_categories: MetaProcessorsDomainCategories` - `data: List[MetaProcessorsDomainCategoriesData]` - `inherited: object` - `is_primary: bool` - `name: str` - `geoip: MetaProcessorsGeoip` - `data: List[MetaProcessorsGeoipData]` - `geoip: MetaProcessorsGeoipDataGeoip` - `city: str` - `country: str` - `country_name: str` - `ll: List[float]` - `region: str` - `ip: str` - `phishing: MetaProcessorsPhishing` - `data: List[str]` - `radar_rank: MetaProcessorsRadarRank` - `data: List[MetaProcessorsRadarRankData]` - `bucket: str` - `hostname: str` - `rank: Optional[float]` - `wappa: MetaProcessorsWappa` - `data: List[MetaProcessorsWappaData]` - `app: str` - `categories: List[MetaProcessorsWappaDataCategory]` - `name: str` - `priority: float` - `confidence: List[MetaProcessorsWappaDataConfidence]` - `confidence: float` - `name: str` - `pattern: str` - `pattern_type: str` - `confidence_total: float` - `icon: str` - `website: str` - `phishing_v2: Optional[MetaProcessorsPhishingV2]` - `data: List[str]` - `robots_txt: Optional[MetaProcessorsRobotsTXT]` - `data: List[MetaProcessorsRobotsTXTData]` - `rules: MetaProcessorsRobotsTXTDataRules` - `api_empty: MetaProcessorsRobotsTXTDataRulesapi_empty` - `allow: List[str]` - `disallow: List[str]` - `content_signal: Optional[MetaProcessorsRobotsTXTDataRulesapi_emptyContentSignal]` - `ai_input: Optional[str]` - `ai_train: Optional[str]` - `search: Optional[str]` - `crawl_delay: Optional[float]` - `sitemaps: List[str]` - `hash: Optional[str]` - `url_categories: Optional[MetaProcessorsURLCategories]` - `data: List[MetaProcessorsURLCategoriesData]` - `content: List[MetaProcessorsURLCategoriesDataContent]` - `id: float` - `name: str` - `super_category_id: float` - `inherited: MetaProcessorsURLCategoriesDataInherited` - `content: List[MetaProcessorsURLCategoriesDataInheritedContent]` - `id: float` - `name: str` - `super_category_id: float` - `from_: str` - `risks: List[MetaProcessorsURLCategoriesDataInheritedRisk]` - `id: float` - `name: str` - `super_category_id: float` - `name: str` - `risks: List[MetaProcessorsURLCategoriesDataRisk]` - `id: float` - `name: str` - `super_category_id: float` - `page: Page` - `apex_domain: str` - `asn: str` - `asnname: str` - `city: str` - `country: str` - `domain: str` - `ip: str` - `mime_type: str` - `server: str` - `status: str` - `title: str` - `tls_age_days: float` - `tls_issuer: str` - `tls_valid_days: float` - `tls_valid_from: str` - `url: str` - `screenshot: Optional[PageScreenshot]` - `dhash: str` - `mm3_hash: float` - `name: str` - `phash: str` - `scanner: Scanner` - `colo: str` - `country: str` - `stats: Stats` - `domain_stats: List[StatsDomainStat]` - `count: float` - `countries: List[str]` - `domain: str` - `encoded_size: float` - `index: float` - `initiators: List[str]` - `ips: List[str]` - `redirects: float` - `size: float` - `ip_stats: List[StatsIPStat]` - `asn: StatsIPStatASN` - `asn: str` - `country: str` - `description: str` - `ip: str` - `name: str` - `org: str` - `countries: List[str]` - `domains: List[str]` - `encoded_size: float` - `geoip: StatsIPStatGeoip` - `city: str` - `country: str` - `country_name: str` - `ll: List[float]` - `region: str` - `index: float` - `ip: str` - `ipv6: bool` - `redirects: float` - `requests: float` - `size: float` - `count: Optional[float]` - `i_pv6_percentage: float` - `malicious: float` - `protocol_stats: List[StatsProtocolStat]` - `count: float` - `countries: List[str]` - `encoded_size: float` - `ips: List[str]` - `protocol: str` - `size: float` - `resource_stats: List[StatsResourceStat]` - `compression: float` - `count: float` - `countries: List[str]` - `encoded_size: float` - `ips: List[str]` - `percentage: float` - `size: float` - `type: str` - `secure_percentage: float` - `secure_requests: float` - `server_stats: List[StatsServerStat]` - `count: float` - `countries: List[str]` - `encoded_size: float` - `ips: List[str]` - `server: str` - `size: float` - `tls_stats: List[StatsTLSStat]` - `count: float` - `countries: List[str]` - `encoded_size: float` - `ips: List[str]` - `protocols: StatsTLSStatProtocols` - `tls_1_3_aes_128_gcm: float` - `security_state: str` - `size: float` - `total_links: float` - `uniq_asns: float` - `uniq_countries: float` - `task: Task` - `apex_domain: str` - `domain: str` - `dom_url: str` - `method: str` - `options: TaskOptions` - `custom_headers: Optional[object]` Custom headers set. - `screenshots_resolutions: Optional[List[str]]` - `report_url: str` - `screenshot_url: str` - `source: str` - `success: bool` - `time: str` - `url: str` - `uuid: str` - `visibility: str` - `verdicts: Verdicts` - `overall: VerdictsOverall` - `categories: List[str]` - `has_verdicts: bool` - `malicious: bool` - `tags: List[str]` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) scan = client.url_scanner.scans.get( scan_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", account_id="account_id", ) print(scan.data) ``` #### Response ```json { "data": { "console": [ { "message": { "level": "level", "source": "source", "text": "text", "url": "url" } } ], "cookies": [ { "domain": "domain", "expires": 0, "httpOnly": true, "name": "name", "path": "path", "priority": "priority", "sameParty": true, "secure": true, "session": true, "size": 0, "sourcePort": 0, "sourceScheme": "sourceScheme", "value": "value" } ], "globals": [ { "prop": "prop", "type": "type" } ], "links": [ { "href": "href", "text": "text" } ], "performance": [ { "duration": 0, "entryType": "entryType", "name": "name", "startTime": 0 } ], "requests": [ { "request": { "documentURL": "documentURL", "hasUserGesture": true, "initiator": { "host": "host", "type": "type", "url": "url" }, "redirectHasExtraInfo": true, "request": { "initialPriority": "initialPriority", "isSameSite": true, "method": "method", "mixedContentType": "mixedContentType", "referrerPolicy": "referrerPolicy", "url": "url", "headers": {} }, "requestId": "requestId", "type": "type", "wallTime": 0, "frameId": "frameId", "loaderId": "loaderId", "primaryRequest": true, "redirectResponse": { "charset": "charset", "mimeType": "mimeType", "protocol": "protocol", "remoteIPAddress": "remoteIPAddress", "remotePort": 0, "securityHeaders": [ { "name": "name", "value": "value" } ], "securityState": "securityState", "status": 0, "statusText": "statusText", "url": "url", "headers": {} } }, "response": { "asn": { "asn": "asn", "country": "country", "description": "description", "ip": "ip", "name": "name", "org": "org" }, "dataLength": 0, "encodedDataLength": 0, "geoip": { "city": "city", "country": "country", "country_name": "country_name", "geonameId": "geonameId", "ll": [ 0 ], "region": "region" }, "hasExtraInfo": true, "requestId": "requestId", "response": { "charset": "charset", "mimeType": "mimeType", "protocol": "protocol", "remoteIPAddress": "remoteIPAddress", "remotePort": 0, "securityDetails": { "certificateId": 0, "certificateTransparencyCompliance": "certificateTransparencyCompliance", "cipher": "cipher", "encryptedClientHello": true, "issuer": "issuer", "keyExchange": "keyExchange", "keyExchangeGroup": "keyExchangeGroup", "protocol": "protocol", "sanList": [ "string" ], "serverSignatureAlgorithm": 0, "subjectName": "subjectName", "validFrom": 0, "validTo": 0 }, "securityHeaders": [ { "name": "name", "value": "value" } ], "securityState": "securityState", "status": 0, "statusText": "statusText", "url": "url", "headers": {} }, "size": 0, "type": "type", "contentAvailable": true, "hash": "hash" }, "requests": [ { "documentURL": "documentURL", "frameId": "frameId", "hasUserGesture": true, "initiator": { "type": "type" }, "loaderId": "loaderId", "redirectHasExtraInfo": true, "request": { "headers": { "name": "name" }, "initialPriority": "initialPriority", "isSameSite": true, "method": "method", "mixedContentType": "mixedContentType", "referrerPolicy": "referrerPolicy", "url": "url" }, "requestId": "requestId", "type": "type", "wallTime": 0 } ] } ] }, "lists": { "asns": [ "string" ], "certificates": [ { "issuer": "issuer", "subjectName": "subjectName", "validFrom": 0, "validTo": 0 } ], "continents": [ "string" ], "countries": [ "string" ], "domains": [ "string" ], "hashes": [ "string" ], "ips": [ "string" ], "linkDomains": [ "string" ], "servers": [ "string" ], "urls": [ "string" ] }, "meta": { "processors": { "asn": { "data": [ { "asn": "asn", "country": "country", "description": "description", "ip": "ip", "name": "name" } ] }, "dns": { "data": [ { "address": "address", "dnssec_valid": true, "name": "name", "type": "type" } ] }, "domainCategories": { "data": [ { "inherited": {}, "isPrimary": true, "name": "name" } ] }, "geoip": { "data": [ { "geoip": { "city": "city", "country": "country", "country_name": "country_name", "ll": [ 0 ], "region": "region" }, "ip": "ip" } ] }, "phishing": { "data": [ "string" ] }, "radarRank": { "data": [ { "bucket": "bucket", "hostname": "hostname", "rank": 0 } ] }, "wappa": { "data": [ { "app": "app", "categories": [ { "name": "name", "priority": 0 } ], "confidence": [ { "confidence": 0, "name": "name", "pattern": "pattern", "patternType": "patternType" } ], "confidenceTotal": 0, "icon": "icon", "website": "website" } ] }, "phishing_v2": { "data": [ "string" ] }, "robotsTxt": { "data": [ { "rules": { "*": { "allow": [ "string" ], "disallow": [ "string" ], "contentSignal": { "ai-input": "no", "ai-train": "yes", "search": "yes" }, "crawlDelay": 0 } }, "sitemaps": [ "string" ], "hash": "hash" } ] }, "urlCategories": { "data": [ { "content": [ { "id": 0, "name": "name", "super_category_id": 0 } ], "inherited": { "content": [ { "id": 0, "name": "name", "super_category_id": 0 } ], "from": "from", "risks": [ { "id": 0, "name": "name", "super_category_id": 0 } ] }, "name": "name", "risks": [ { "id": 0, "name": "name", "super_category_id": 0 } ] } ] } } }, "page": { "apexDomain": "apexDomain", "asn": "asn", "asnname": "asnname", "city": "city", "country": "country", "domain": "domain", "ip": "ip", "mimeType": "mimeType", "server": "server", "status": "200", "title": "title", "tlsAgeDays": 0, "tlsIssuer": "tlsIssuer", "tlsValidDays": 0, "tlsValidFrom": "tlsValidFrom", "url": "url", "screenshot": { "dhash": "dhash", "mm3Hash": 0, "name": "name", "phash": "phash" } }, "scanner": { "colo": "colo", "country": "country" }, "stats": { "domainStats": [ { "count": 0, "countries": [ "string" ], "domain": "domain", "encodedSize": 0, "index": 0, "initiators": [ "string" ], "ips": [ "string" ], "redirects": 0, "size": 0 } ], "ipStats": [ { "asn": { "asn": "asn", "country": "country", "description": "description", "ip": "ip", "name": "name", "org": "org" }, "countries": [ "string" ], "domains": [ "string" ], "encodedSize": 0, "geoip": { "city": "city", "country": "country", "country_name": "country_name", "ll": [ 0 ], "region": "region" }, "index": 0, "ip": "ip", "ipv6": true, "redirects": 0, "requests": 0, "size": 0, "count": 0 } ], "IPv6Percentage": 0, "malicious": 0, "protocolStats": [ { "count": 0, "countries": [ "string" ], "encodedSize": 0, "ips": [ "string" ], "protocol": "protocol", "size": 0 } ], "resourceStats": [ { "compression": 0, "count": 0, "countries": [ "string" ], "encodedSize": 0, "ips": [ "string" ], "percentage": 0, "size": 0, "type": "type" } ], "securePercentage": 0, "secureRequests": 0, "serverStats": [ { "count": 0, "countries": [ "string" ], "encodedSize": 0, "ips": [ "string" ], "server": "server", "size": 0 } ], "tlsStats": [ { "count": 0, "countries": [ "string" ], "encodedSize": 0, "ips": [ "string" ], "protocols": { "TLS 1.3 / AES_128_GCM": 0 }, "securityState": "securityState", "size": 0 } ], "totalLinks": 0, "uniqASNs": 0, "uniqCountries": 0 }, "task": { "apexDomain": "apexDomain", "domain": "domain", "domURL": "domURL", "method": "method", "options": { "customHeaders": {}, "screenshotsResolutions": [ "string" ] }, "reportURL": "reportURL", "screenshotURL": "screenshotURL", "source": "source", "success": true, "time": "time", "url": "url", "uuid": "uuid", "visibility": "visibility" }, "verdicts": { "overall": { "categories": [ "string" ], "hasVerdicts": true, "malicious": true, "tags": [ "string" ] } } } ```