UpGuard Support Center

How to bulk export vendor information

You can bulk export the name, primary domain, score and list of labels of all monitored vendors using the CyberRisk API.

Overview

If you need to export a list of monitored vendors, the CyberRisk API provides an endpoint to do so. The endpoint provides the name of each vendor, its primary domain, any labels associated with the vendor and its current CSR score. This guide shows you how to leverage this endpoint to export your monitored vendors to CSV.

To access the CyberRisk API, you will need to generate and access your API key. For more information on accessing your key, please refer to our guide on locating your API key in the article How to Bulk Import Vendors.

Building and Running the Export Script

Here we have provided a few sample scripts that generate a four-column CSV, with headers name, primary_domain, score, labels. If you don’t see your language of choice here, please contact UpGuard Support and we can provide more examples.

For more information on the endpoint we are using here, please visit List monitored vendors.

Ruby

Screen Shot 2019-05-08 at 2.57.34 pm

Bash/Curl

Screen Shot 2019-05-08 at 2.57.54 pm

Note: The above command uses the jq command, which you may need to install on your machine.