1. Onboarding Process for MetaDefender Cloud API Users

Create a New OPSWAT Account

  • Go to the registration page: https://go.opswat.com/communityRegistration

  • Fill in the form

  • Submit the form, and you will receive a confirmation email

  • Confirm activation by clicking the link in the confirmation email

  • Note that an OPSWAT account grants you free access to other OPSWAT products, such as:

images/download/attachments/26169936/image2018-6-18_22-23-2.png

Obtain Your API Key

images/download/attachments/26169936/image2018-6-18_22-24-25.png

If you have purchased a commercial license of MetaDefender Cloud, the flag "Paid user" will be set to "Yes," and you will see your expiration date and purchased usage limits.

Test Your API Key with Our APIs

  • MetaDefender Cloud offers a rich set of publicly available APIs – see our documentation for the complete list

  • View the hash lookup API, and copy your API key from your account to the example curl commands listed on the right

  • If you encounter any problems during this process, you can contact OPSWAT via:

  • Every response from MetaDefender Cloud APIs contains Rate Limiting headers that tell you what your current usage is and when it will restart

# Single Hash Lookup
# Documentation: https://www.metadefender.com/public-api#!/retrieve_single
$ curl -vvvv https://api.metadefender.com/v2/hash/66DA1A91E1ED5D59BECFAD85F53C05F9 -H 'apikey: YOUR_API_KEY'
 
# Bulk Hash Lookup
# Documentation: https://www.metadefender.com/public-api#!/retrieve-multiple-scan-reports-using-data-hash
$ curl -vvvv -XPOST https://api.metadefender.com/v2/hash -H "Content-Type: application/json" -d '{"hash": ["66DA1A91E1ED5D59BECFAD85F53C05F9"]}' -H 'apikey: YOUR_API_KEY'