Web APIs are built around the HTTP protocol, on which any programming language can be used to access them. Python, R, Java, JavaScript, Ruby, and every other general purpose programming language has at least one HTTP library to make this process easier.
Continue Reading
I will suggest you to pick Python as the best language, more specifically, Django is the best tool to develop REST APIs.
Top 5 programming languages for backend web development are best: PHP, Python, Ruby, Java & Rust.