Welcome to your comprehensive guide on how to use the Malcore API! To get started, visit this link to access the Malcore API documentation. The API can be found at https://api.malcore.io/api/ENDPOINT-NAME, and you can view a complete list of available endpoints on the same page.
Before you can begin using the Malcore API, you'll need to create an account. To do so, simply sign up here. Once you've created an account, navigate to the API section within your account dashboard and generate an API key with just a click of a button.
Once you've generated your API key, you'll be able to access Malcore's API by including the header
apiKey in your requests. For instance, to upload a file using cURL, you can use the following command:
curl -F "filename1=@/path/to/file"
-H 'apiKey: MY-KEY"
It's worth noting that this specific API endpoint (/upload) supports a secondary header labeled
X-No-Poll. By default, this header is set to false, but you can set it to true to receive a UUID for performing status checks on analysis results. When set to false, the API will automatically check the status until analysis is completed.
To make your integration even easier, Malcore provides a Python SDK that can be found here. Be sure to check back periodically for updates to the SDK, including additional language support and performance enhancements.