## Get URL scan `client.urlScanner.scans.get(stringscanId, ScanGetParamsparams, RequestOptionsoptions?): ScanGetResponse` **get** `/accounts/{account_id}/urlscanner/v2/result/{scan_id}` Get URL scan by uuid ### Parameters - `scanId: string` Scan UUID. - `params: ScanGetParams` - `account_id: string` Account ID. ### Returns - `ScanGetResponse` - `data: Data` - `console: Array` - `message: Message` - `level: string` - `source: string` - `text: string` - `url: string` - `cookies: Array` - `domain: string` - `expires: number` - `httpOnly: boolean` - `name: string` - `path: string` - `priority: string` - `sameParty: boolean` - `secure: boolean` - `session: boolean` - `size: number` - `sourcePort: number` - `sourceScheme: string` - `value: string` - `globals: Array` - `prop: string` - `type: string` - `links: Array` - `href: string` - `text: string` - `performance: Array` - `duration: number` - `entryType: string` - `name: string` - `startTime: number` - `requests: Array` - `request: Request` - `documentURL: string` - `hasUserGesture: boolean` - `initiator: Initiator` - `host: string` - `type: string` - `url: string` - `redirectHasExtraInfo: boolean` - `request: Request` - `initialPriority: string` - `isSameSite: boolean` - `method: string` - `mixedContentType: string` - `referrerPolicy: string` - `url: string` - `headers?: unknown` - `requestId: string` - `type: string` - `wallTime: number` - `frameId?: string` - `loaderId?: string` - `primaryRequest?: boolean` - `redirectResponse?: RedirectResponse` - `charset: string` - `mimeType: string` - `protocol: string` - `remoteIPAddress: string` - `remotePort: number` - `securityHeaders: Array` - `name: string` - `value: string` - `securityState: string` - `status: number` - `statusText: string` - `url: string` - `headers?: unknown` - `response: Response` - `asn: ASN` - `asn: string` - `country: string` - `description: string` - `ip: string` - `name: string` - `org: string` - `dataLength: number` - `encodedDataLength: number` - `geoip: Geoip` - `city: string` - `country: string` - `country_name: string` - `geonameId: string` - `ll: Array` - `region: string` - `hasExtraInfo: boolean` - `requestId: string` - `response: Response` - `charset: string` - `mimeType: string` - `protocol: string` - `remoteIPAddress: string` - `remotePort: number` - `securityDetails: SecurityDetails` - `certificateId: number` - `certificateTransparencyCompliance: string` - `cipher: string` - `encryptedClientHello: boolean` - `issuer: string` - `keyExchange: string` - `keyExchangeGroup: string` - `protocol: string` - `sanList: Array` - `serverSignatureAlgorithm: number` - `subjectName: string` - `validFrom: number` - `validTo: number` - `securityHeaders: Array` - `name: string` - `value: string` - `securityState: string` - `status: number` - `statusText: string` - `url: string` - `headers?: unknown` - `size: number` - `type: string` - `contentAvailable?: boolean` - `hash?: string` - `requests?: Array` - `documentURL: string` - `frameId: string` - `hasUserGesture: boolean` - `initiator: Initiator` - `type: string` - `loaderId: string` - `redirectHasExtraInfo: boolean` - `request: Request` - `headers: Headers` - `name: string` - `initialPriority: string` - `isSameSite: boolean` - `method: string` - `mixedContentType: string` - `referrerPolicy: string` - `url: string` - `requestId: string` - `type: string` - `wallTime: number` - `lists: Lists` - `asns: Array` - `certificates: Array` - `issuer: string` - `subjectName: string` - `validFrom: number` - `validTo: number` - `continents: Array` - `countries: Array` - `domains: Array` - `hashes: Array` - `ips: Array` - `linkDomains: Array` - `servers: Array` - `urls: Array` - `meta: Meta` - `processors: Processors` - `asn: ASN` - `data: Array` - `asn: string` - `country: string` - `description: string` - `ip: string` - `name: string` - `dns: DNS` - `data: Array` - `address: string` - `dnssec_valid: boolean` - `name: string` - `type: string` - `domainCategories: DomainCategories` - `data: Array` - `inherited: unknown` - `isPrimary: boolean` - `name: string` - `geoip: Geoip` - `data: Array` - `geoip: Geoip` - `city: string` - `country: string` - `country_name: string` - `ll: Array` - `region: string` - `ip: string` - `phishing: Phishing` - `data: Array` - `radarRank: RadarRank` - `data: Array` - `bucket: string` - `hostname: string` - `rank?: number` - `wappa: Wappa` - `data: Array` - `app: string` - `categories: Array` - `name: string` - `priority: number` - `confidence: Array` - `confidence: number` - `name: string` - `pattern: string` - `patternType: string` - `confidenceTotal: number` - `icon: string` - `website: string` - `phishing_v2?: PhishingV2` - `data: Array` - `robotsTxt?: RobotsTXT` - `data: Array` - `rules: Rules` - `"*": _` - `allow: Array` - `disallow: Array` - `contentSignal?: ContentSignal` - `"ai-input"?: string` - `"ai-train"?: string` - `search?: string` - `crawlDelay?: number` - `sitemaps: Array` - `hash?: string` - `urlCategories?: URLCategories` - `data: Array` - `content: Array` - `id: number` - `name: string` - `super_category_id: number` - `inherited: Inherited` - `content: Array` - `id: number` - `name: string` - `super_category_id: number` - `from: string` - `risks: Array` - `id: number` - `name: string` - `super_category_id: number` - `name: string` - `risks: Array` - `id: number` - `name: string` - `super_category_id: number` - `page: Page` - `apexDomain: string` - `asn: string` - `asnname: string` - `city: string` - `country: string` - `domain: string` - `ip: string` - `mimeType: string` - `server: string` - `status: string` - `title: string` - `tlsAgeDays: number` - `tlsIssuer: string` - `tlsValidDays: number` - `tlsValidFrom: string` - `url: string` - `screenshot?: Screenshot` - `dhash: string` - `mm3Hash: number` - `name: string` - `phash: string` - `scanner: Scanner` - `colo: string` - `country: string` - `stats: Stats` - `domainStats: Array` - `count: number` - `countries: Array` - `domain: string` - `encodedSize: number` - `index: number` - `initiators: Array` - `ips: Array` - `redirects: number` - `size: number` - `ipStats: Array` - `asn: ASN` - `asn: string` - `country: string` - `description: string` - `ip: string` - `name: string` - `org: string` - `countries: Array` - `domains: Array` - `encodedSize: number` - `geoip: Geoip` - `city: string` - `country: string` - `country_name: string` - `ll: Array` - `region: string` - `index: number` - `ip: string` - `ipv6: boolean` - `redirects: number` - `requests: number` - `size: number` - `count?: number` - `IPv6Percentage: number` - `malicious: number` - `protocolStats: Array` - `count: number` - `countries: Array` - `encodedSize: number` - `ips: Array` - `protocol: string` - `size: number` - `resourceStats: Array` - `compression: number` - `count: number` - `countries: Array` - `encodedSize: number` - `ips: Array` - `percentage: number` - `size: number` - `type: string` - `securePercentage: number` - `secureRequests: number` - `serverStats: Array` - `count: number` - `countries: Array` - `encodedSize: number` - `ips: Array` - `server: string` - `size: number` - `tlsStats: Array` - `count: number` - `countries: Array` - `encodedSize: number` - `ips: Array` - `protocols: Protocols` - `"TLS 1.3 / AES_128_GCM": number` - `securityState: string` - `size: number` - `totalLinks: number` - `uniqASNs: number` - `uniqCountries: number` - `task: Task` - `apexDomain: string` - `domain: string` - `domURL: string` - `method: string` - `options: Options` - `customHeaders?: unknown` Custom headers set. - `screenshotsResolutions?: Array` - `reportURL: string` - `screenshotURL: string` - `source: string` - `success: boolean` - `time: string` - `url: string` - `uuid: string` - `visibility: string` - `verdicts: Verdicts` - `overall: Overall` - `categories: Array` - `hasVerdicts: boolean` - `malicious: boolean` - `tags: Array` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const scan = await client.urlScanner.scans.get('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { account_id: 'account_id', }); console.log(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" ] } } } ```