# A free API for converting lat and long coordinates got by an location sensor to city

**URL:** https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679
**Category:** Questions about Thunkable X
**Tags:** beginner, webapi
**Created:** [October 6, 2020, 7:31am UTC](https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679 "2020-10-06T07:31:19Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![v.krishna](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/v.krishna/32/84811_2.png) [@v.krishna](https://community.thunkable.com/u/v.krishna)
#### Post date: [October 6, 2020, 7:31am UTC](https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679/1 "2020-10-06T07:31:19Z")

</div>

Hi, actually I need an API which will convert latitude and longitude coordinates got by the sensor to the city on that specific coordinates

---

<div class="post-metadata">

### Author: ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)
#### Post date: [October 6, 2020, 10:08am UTC](https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679/2 "2020-10-06T10:08:58Z")

</div>

Here is a link to Google’s Reverse Geocoding Web API

> **[Overview  |  Geocoding API  |  Google Developers](https://developers.google.com/maps/documentation/geocoding/overview#ReverseGeocoding)**
>
> Geocoding converts addresses into geographic coordinates to be placed on a map. Reverse Geocoding finds an address based on geographic coordinates or place IDs.

---

<div class="post-metadata">

### Author: ![v.krishna](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/v.krishna/32/84811_2.png) [@v.krishna](https://community.thunkable.com/u/v.krishna)
#### Post date: [October 8, 2020, 4:33am UTC](https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679/4 "2020-10-08T04:33:14Z")

</div>

thanks@drted

@drted but the api is asking some money , but I need a free of cost api

---

<div class="post-metadata">

### Author: ![v.krishna](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/v.krishna/32/84811_2.png) [@v.krishna](https://community.thunkable.com/u/v.krishna)
#### Post date: [October 8, 2020, 4:44am UTC](https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679/5 "2020-10-08T04:44:14Z")

</div>

I think this solved becoz I got an api called big data cloud

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [October 8, 2020, 5:51am UTC](https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679/6 "2020-10-08T05:51:12Z")

</div>

@eeswarvedampudiwnq

Two things that might be troubling about that service:

1. They have a warning that anyone using a lat/lon pair that does **not** come from the device’s current location will be banned. If you only need the location sensor data to be used in the API call, I don’t think you’ll run into a problem with that rule.
2. Their [sample JSON](https://www.bigdatacloud.com/geocoding-apis/free-reverse-geocode-to-city-api) retrieves the location of Google’s headquarters and lists the city as “Santa Clara County.” That is not a city. It’s a county. The city should be Mountain View, CA. So I’d want to be sure the service actually works as described.

I’m using OpenWeatherMap’s API. When I do an API call for the same lat/lon pair for Google’s headquarters, the result I get for the city name is “Mountain View”.

[OpenWeatherMap’s API](https://openweathermap.org/api) is free for up to 60 calls/minute and 1,000,000 calls/month.

---

<div class="post-metadata">

### Author: ![Pedro\_Alcaide](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@Pedro\_Alcaide](https://community.thunkable.com/u/Pedro_Alcaide)
#### Post date: [October 8, 2020, 3:51pm UTC](https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679/7 "2020-10-08T15:51:59Z")

</div>

> [@How to get an address with latitude and longitude](http://community.thunkable.com/t/how-to-get-an-address-with-latitude-and-longitude/841571):
>
> can you help me, please How can I get an address with latitude and longitude?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:23pm UTC](https://community.thunkable.com/t/a-free-api-for-converting-lat-and-long-coordinates-got-by-an-location-sensor-to-city/877679/8 "2024-11-08T12:23:34Z")

</div>


