Submit a Remote File to WildFire (API)

Submit a supported file type on a website for WildFire analysis. Use this resource for files hosted remotely and not website URLs.
The /submit/url resource is not available on the WildFire appliance.

Resource

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

Request Parameters

Use the following form parameters when you submit a single file 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.
url
Code copied to clipboard
Unable to copy due to lack of browser support.
(Required) Remote file URL path
Example:
url=http://www.pdf995.com/samples/pdf.pdf
Code copied to clipboard
Unable to copy due to lack of browser support.

Example Request

Make a POST request to the /submit/url resource and include the API key along with the URL file path to analyze, as shown in the following cURL command:
curl
-F 'apikey=b0e0e395614d46170ee7498452967c71' -F 'url=http://www.pdf995.com/samples/pdf.pdf' 'https://wildfire.paloaltonetworks.com/publicapi/submit/url'
Code copied to clipboard
Unable to copy due to lack of browser support.
The XML response contains the URL of the file along with the SHA256 and MD5 hash:
<wildfire> 
    <upload-file-info> 
<url>http://www.pdf995.com/samples/pdf.pdf</url> 
        <filetype>Adobe PDF document</filetype> 
        <filename></filename> 
        <sha256>857b6bb4c61fc81eee716b4cada4902f0ad73b1daa9a1fb75e005b38e62800b4</sha256> 
        <md5>a4b5f81544801fa2b6007bd5046f1d73</md5> 
        <size>312819</size> 
    </upload-file-info> 
</wildfire> 
Code copied to clipboard
Unable to copy due to lack of browser support.

Related Documentation