Spectral scan API

Does anybody knows API to make programm like spectral scan?