There is a Python module for implementing the Overpass API to request OpenStreetMap data. Check this:
OpenStreetMap OverPass API Python Module
However, I must warn you that this is not supported, but as far as I know, there is no other API.
source
share