API : فحص أي ملف مع التجزئة وMIME الحقيقي وإشارة أولية لمكافحة الفيروسات والبيانات الوصفية ومعلومات الوسائط وقواعد الكشف ومعاينة OCR.
- Create a free account
- Click on the link you receive by email to confirm your address
- Generate a token with credentials
- Use the token to start the process asynchronously
- So to follow the progress, you do a simple GET(you can make this http call every 10 seconds):
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
actionResultsDownloadURLs contains the authenticated URLs for downloading each generated result file.
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.
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 :
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