API added to export results