DarkSonar API Example Code Download Links to Example Code for our DarkSonar API endpoint are listed below DarkSonar (Python 3): Submits and retrieves a DarkSonar relative risk rating.