Submit Multiple Website Links to WildFire (API)

Use this resource to submit multiple website URLs (up to 1000) for WildFire analysis. This resource is preferable when you have a large list of URLs to be analyzed.

Resource

/submit/links/
Code copied to clipboard
Unable to copy due to lack of browser support.

Request Parameters

Use the following request parameters when you submit website URLs for WildFire analysis:
Parameters
Description
Example
apikey
Code copied to clipboard
Unable to copy due to lack of browser support.
(Required) API key
Example:
apikey=b0e0e395614d46170ee7498452967c71
Code copied to clipboard
Unable to copy due to lack of browser support.
file
Code copied to clipboard
Unable to copy due to lack of browser support.
(Required) Local path to text file that contains up to 1000 URLs
Example:
file=@c:\websitelist.txt
Code copied to clipboard
Unable to copy due to lack of browser support.
All links must be in a single text file. The file should first include panlnk at the top of the file and can have the following types of line endings: \r\n, \r, and, \n. Example contents of file:
panlnk http://example.com 
Code copied to clipboard
Unable to copy due to lack of browser support.

Example Request

Make a POST request to the /submit/links resource and include the API key with the file path that contains a list of links. The file should first include panlnk at the top of the file:
panlnk 
http://example.com 
http://example.net
Code copied to clipboard
Unable to copy due to lack of browser support.
The text file that you create can have the following types of line endings: \r\n, \r, and, \n. In the request, include the API key and the path to the local file:
curl
-F 'apikey=b0e0e395614d46170ee7498452967c71' -F 'file=@websitelist.txt' 'https://wildfire.paloaltonetworks.com/publicapi/submit/links'
Code copied to clipboard
Unable to copy due to lack of browser support.
The XML response contains the original URLs along with the SHA256 and MD5 hash:
<wildfire> 
  <submit-link-info> 
    <url>http://example.com</url> 
    <sha256>f0e6a6a97042a4f1f1c87f5f7d44315b2d852c2df5c7991cc66241bf7072d1c4</sha256> 
    <md5>a9b9f04336ce0181a08e774e01113b31</md5> 
  </submit-link-info> 
  <submit-link-info> 
    <url>http://example.net</url> 
    <sha256>1a451f9b7ac34a1eaca15f23de263901ae343f60de9d7c324cadaaee3a380255</sha256> 
    <md5>cd36281827c9cdf2d40b45194ab30f02</md5> 
  </submit-link-info> 
</wildfire> 
Code copied to clipboard
Unable to copy due to lack of browser support.

Related Documentation