PHP finding a requesting url : I'm writing an API. I just want certain url addresses to access this API. How do I find the url addresses that try to use the API?.

I want to know the url addresses that try to access the api server address with file_get_contents yada-like methods.

Thanks :)