After a quick google search I didn't see any APIs but this stack overflow post turned up which might be helpful: http://stackoverflow.com/questions/7269935/is-there-a-voice-...
The search term "voice authentication" might be better for you than "voice recognition" if I understand you correctly.