I have used geocode api from google maps. Gives the location details in result, which includes location boundary, country, and some location specific details (only names).
For example I'm looking for the details of the city "Dubai":
here is the link that returns details http://maps.googleapis.com/maps/api/geocode/xml?address=dubai&sensor=false
But I need airports near to the city Dubai.
Also note that i'm going to write the codes in php.