Downloading results: when it is present in an API response, actionResultsDownloadURLs contains the authenticated URLs for downloading each generated result file.

MXPROCESS

API : 检查任意文件的哈希值、真实 MIME、初步防病毒信号、元数据、媒体信息、检测规则结果和 OCR 预览。

    This API is simple to use. You just have to follow these steps

  • Create a free account
  • Click on the link you receive by email to confirm your address
  • Generate a token with credentials
  • You can use any language to make this CURL call. (Python, PHP, Java, JavaScript...) Need help ?



    If your credentials are correct, our server will provide you with a token as a response :
    YOUR_TOKEN is valid for one hour, its duration can be extended using YOUR_REFRESH_TOKEN

  • Use the token to start the process asynchronously
  • API Documentation, FileInspection
    Downloading results: when it is present in an API response, actionResultsDownloadURLs contains the authenticated URLs for downloading each generated result file.

    MXPROCESS

    Asynchronous API: universal file inspection

    Submit one non-empty file up to 50 MiB. The original is read but never moved, changed or deleted. The report is diagnostic: the antivirus engine result is a preliminary triage signal, and the included detection rule set is only a minimal starting set.

    Endpoint: POST https://mxprocess.com/api/files/start-process
    Authentication: Bearer JWT
    Cost: 12 tokens, charged after success.

    Start an inspection

    Save the returned id and poll /api/actions/get-action-infos/{id} with the same JWT. When complete, actionResults contains one authenticated downloadable *.inspection.json file.

    Initial response

    Completed report

    If an optional local tool is unavailable, its section is returned as not_run or null. An invalid cardinality, inaccessible file or file over 50 MiB is rejected before analysis.

    Contact us


    The API sends you a Json response to confirm that the process has started. take note of the "trackingUrl" field, it is the one that allows you to follow the process that you have launched. In this answer you also find the ID of your process, here in our example the ID is 643 :

  • So to follow the progress, you do a simple GET(you can make this http call every 10 seconds):


  • If the process is not yet completed, you will receive this type of response with "accomplished": false

    If the process is completed, you will receive this type of response with "accomplished": true. The actionResultsDownloadURLs field contains the authenticated URLs for downloading the generated results:

    Use each URL supplied in actionResultsDownloadURLs directly to download its corresponding result.


This documentation is not clear? (Python, PHP, Java, JavaScript...) Need help ?



Contact us This API is also available in synchronous mode : Developer API : FileInspection