Building an API

What are the best languages to use for creating an API that will be used for live validation on another website? Basically, a user would interact on another web site, then a validation would be sent to my API, and then it would return the response.

What language would be the fastest and most reliable for something like this?

Thanks!