Languagelayer
Powerful Language Detection JSON API for Developers
{
"success":true,
"results":[
{
"language_code":"es",
"language_name":"Spanish",
"probability":23.312587636589,
"percentage":100,
"reliable_result":true
}
]
}
Response example. If you want to see more check the documentation.