: Get URL Web Artifacts
Focus
Focus

Get URL Web Artifacts

Table of Contents

Get URL Web Artifacts

Use this resource to get the web artifacts found during analysis of the specified web page URL.

Resource

/get/webartifacts/

Request Parameters

Use the following form parameters when requesting URL analysis web artifacts:
Parameters
Description
Example
apikey
(Required for API key authentication) API key
Example:
apikey=<API KEY>
Authorization
(Required for token-based authentication) HTTP request header for token-based authentication. To obtain an access token, create a WildFire API token in Strata Cloud Manager, then generate an access token from the authentication service.
Example:
-H "Authorization: Bearer <ACCESS_TOKEN>"
agent
(Required for Prisma Access and Prisma Cloud Compute-based WildFire public API keys) Designates the API key type
Example:
agent=pcc
Options include:
  • pcc—for use with Prisma Cloud Compute-based WildFire public API keys
  • prismaaccessapi—for use with Prisma Access-based WildFire public API keys
url
(Required) The URL of the web page
Example:
url=http://www.google.com
types
Web artifact types
The following values can be specified in a comma-separated list.
Acceptable values:
  • screenshot
  • download_files

Example Request

Make a POST request to the /get/webartifacts resource and include the API key, the URL of the web page, and optionally include the specific web artifacts that you want to download (the default is all), similar to the following cURL command:
curl -F 'apikey=<API KEY>' -F 'url=http://www.google.com' -F 'types=download_files' -JO 'https://wildfire.paloaltonetworks.com/publicapi/get/webartifacts'
The response saves the URL web artifacts in a .tgz file package to your local system.

Example Request (Token-Based Authentication)

Alternatively, you can authenticate using a Bearer token instead of an API key. Make the same POST request to the /get/webartifacts resource, but replace the apikey form field with an Authorization header containing your access token:
curl -F 'url=http://www.thebadsite.com' -H 'Authorization: Bearer <ACCESS_TOKEN>' 'https://wildfire.paloaltonetworks.com/publicapi/get/webartifacts'