Hi,
I am trying to get the address details via following API https://api.geoapify.com/v1/geocode/search?text=[place name]&apiKey=YOUR_API_KEY
Below is the Json response:
{“type”:“FeatureCollection”,“features”:[{“type”:“Feature”,“properties”:{“datasource”:{“sourcename”:“openstreetmap”,“attribution”:“© OpenStreetMap contributors”,“license”:“Open Database Licence”,“url”:“https://www.openstreetmap.org/copyright"},“name”:"Annai Arul Hospital”,“street”:“Tambaram-Sriperumbudur Highway”,“neighbourhood”:“Peerkankaranai”,“suburb”:“Perungalathur”,“city”:“Tambaram”,“county”:“Tambaram”,“state_district”:“Chengalpattu District”,“state”:“Tamil Nadu”,“postcode”:“600063”,“country”:“India”,“country_code”:“in”,“lon”:80.08801007859745,“lat”:12.9207815,“formatted”:“Annai Arul Hospital, Tambaram-Sriperumbudur Highway, Tambaram - 600063, Tamil Nadu, India”,“address_line1”:“Annai Arul Hospital”,“address_line2”:“Tambaram-Sriperumbudur Highway, Tambaram - 600063, Tamil Nadu, India”,“result_type”:“amenity”,“rank”:{“importance”:0.30100000000000005,“popularity”:1.6891035262901575,“confidence”:1,“match_type”:“full_match”},“place_id”:“51d85206f5a1055440590e863aac70d72940f00102f90125a4fe1b00000000c00201920313416e6e6169204172756c20486f73706974616c”},“bbox”:[80.0877133,12.9203822,80.0884227,12.9210841],“geometry”:{“type”:“Point”,“coordinates”:[80.08801007859745,12.9207815]}}],“query”:{“text”:“annai arul hospital”}}
I do not get any error but I get the reply as undefined.
Sharling the link Thunkable
Your input/assistance would be highly appreciated.