PHP? My guess is that you are using file_get_contents to query the API which is blocked on a lot of webhosts.
file_get_contents