Skip to main content Skip to office menu Skip to footer
Capital IconMinnesota Legislature

Geographic Information Services | Legislative District Lookup API

1. Endpoint Overview

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.

2. Endpoint URL

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

3. Query Parameters

  • lat – required – Latitude in decimal degrees (e.g., 44.955097)
  • lng – required – Longitude in decimal degrees (e.g., -93.102211)

4. Example Usage

Browser

Paste the full URL into any modern browser to see the GeoJSON response directly or download it.

JavaScript (Fetch)

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));

Command Line (cURL)

curl "https://gis.lcc.mn.gov/api/?lat=44.955097&lng=-93.102211"

Python (requests)

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)

5. Response Format

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"
      }
    },
    ...
  ]
}

6. Terms of Use

See the Terms of Use for acceptable use and attribution guidelines.