Create Users API support

Is there a way to export the list of users so I can script to check against another database for any new users needed to be imported? Instead of just keep trying to add 600+ users everytime with 599 errors?