//Publications - 05 November 2021
Using the API (Malicious URL feed)
We now encourage automated access to the site to be done via our API. Only members may use our API.
Generating an API key
After logging in to the site, you will see the link 'Generate an API key' in the member portal. Click it and an API key will be generated. This is linked to your user account.
Example API usage code will be shown underneath your new key in both bash/curl and Python.
Each endpoint can also generate XML instead of txt, just by replacing the 'txt' part with 'xml',
1 means 1 day,
7 means 7 days