This API allows you to determine which Minnesota House, Senate, and Congressional districts contain a given latitude and longitude point. The response is returned as a GeoJSON FeatureCollection.
Make a GET request to:
https://gis.lcc.mn.gov/api/?lat={latitude}&lng={longitude}
Example:
https://gis.lcc.mn.gov/api/?lat=44.955097&lng=-93.102211
lat
– required – Latitude in decimal degrees (e.g., 44.955097
)lng
– required – Longitude in decimal degrees (e.g., -93.102211
)Paste the full URL into any modern browser to see the GeoJSON response directly or download it.
fetch('https://gis.lcc.mn.gov/api/?lat=44.955097&lng=-93.102211')
.then(response => response.json())
.then(data => console.log('Legislator data:', data))
.catch(error => console.error('API Error:', error));
curl "https://gis.lcc.mn.gov/api/?lat=44.955097&lng=-93.102211"
import requests
response = requests.get('https://gis.lcc.mn.gov/api/index.php', params={
'lat': 44.955097,
'lng': -93.102211
})
if response.ok:
print("Legislator data:", response.json())
else:
print("Error:", response.status_code)
The API returns a GeoJSON FeatureCollection
containing the matching legislative districts.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": { "type": "Polygon", "coordinates": [...] },
"properties": {
"district": "65A",
"name": "Rep. Jane Doe",
"memid": "123",
"party": "DFL"
}
},
...
]
}
See the Terms of Use for acceptable use and attribution guidelines.