Discover/geoportal.mp.gov.in API
live

geoportal.mp.gov.in APIgeoportal.mp.gov.in

Access district, tehsil, and village boundaries, road networks, and forest data for Madhya Pradesh via 8 structured GeoJSON endpoints.

Endpoints
8
Updated
3mo ago
Try it

No input parameters required.

api.parse.bot/scraper/8dea8cbf-95f7-4067-8148-06ef8f2ee39f/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/8dea8cbf-95f7-4067-8148-06ef8f2ee39f/get_service_catalog' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 8 totalclick to expand

Fetches a summary of available GIS services and folders from the NIC GIS server. Returns the root service catalog listing all MapServer services available.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "nic_catalog": "object containing currentVersion, folders array, and services array"
  },
  "sample": {
    "data": {
      "nic_catalog": {
        "folders": [
          "Hosted",
          "MyServerFolder",
          "nicstreet",
          "school",
          "Utilities"
        ],
        "services": [
          {
            "name": "admin2024",
            "type": "MapServer"
          },
          {
            "name": "roadnetwork",
            "type": "MapServer"
          }
        ],
        "currentVersion": 10.91
      }
    },
    "status": "success"
  }
}

About the geoportal.mp.gov.in API

This API exposes 8 endpoints covering geospatial data for Madhya Pradesh sourced from the NIC GIS server at geoportal.mp.gov.in. Use get_district_boundaries to retrieve polygon geometries for all 55 districts as GeoJSON FeatureCollections, or drill down to tehsil and village level with dedicated endpoints. Road network polylines, forest layer data, and the full administrative layer catalog are also available as structured JSON responses.

Administrative Boundary Data

get_districts returns a flat list of all 55 districts in Madhya Pradesh, each record including dtname, stcode11, dtcode11, dist_lgd, and objectid. Results are sorted alphabetically. For polygon geometries, get_district_boundaries accepts an optional district_name parameter (case-insensitive) to filter to a single district or return all districts as a GeoJSON FeatureCollection in WGS84 (EPSG:4326). Subdistrict (Tehsil) polygons follow the same pattern via get_subdistrict_boundaries, which surfaces sdtname, dtname, and subdt_lgd per feature, capped at 200 features per response.

Village and Road Data

get_village_boundaries requires a district_name parameter and returns up to 100 village polygon features per call, each carrying vilname11, sdtname, dtname, vil_lgd, and block_name — enough to reconstruct the full administrative hierarchy from state down to village. Road network data comes from get_road_network, which returns the first 100 road features as esriGeometryPolyline objects with attributes including road type, name, class code, and length in meters, plus a fields array describing each attribute's name, type, and alias.

Service Catalog and Forest Layers

get_service_catalog queries the root NIC GIS server and returns currentVersion, a folders array, and a services array — useful for discovering what MapServer services are available before targeting specific layers. get_administrative_layers lists every layer in the admin2024 MapServer, including layer id, name, type, geometryType, and parentLayerId. Forest data is available through get_forest_data, which accepts an optional service_path parameter (defaulting to MP_Forest_Data/MapServer/0) and returns fields, features, and displayFieldName arrays.

Common use cases
  • Render district boundary maps of Madhya Pradesh using GeoJSON polygons from get_district_boundaries.
  • Build an administrative hierarchy lookup from state to village using dtname, sdtname, and vilname11 fields.
  • Plot road networks on a map using polyline geometries and road class codes from get_road_network.
  • Discover available GIS layers before querying by inspecting the get_service_catalog and get_administrative_layers responses.
  • Filter tehsil boundaries by parent district using the district_name param in get_subdistrict_boundaries.
  • Cross-reference village LGD codes (vil_lgd) with national Local Government Directory datasets.
  • Analyze forest coverage distribution across MP districts using layer data from get_forest_data.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does geoportal.mp.gov.in have an official developer API?+
The portal runs on NIC's ArcGIS MapServer infrastructure, which exposes some standard REST service endpoints, but there is no publicly documented developer API with keys, versioning, or usage terms aimed at third-party developers.
What does `get_village_boundaries` return, and is there a pagination option?+
get_village_boundaries returns up to 100 village polygon features per call for a given district, each with vilname11, sdtname, dtname, vil_lgd, and block_name properties. There is no pagination parameter exposed — the 100-feature cap is a fixed limit of the current endpoint. Districts with more than 100 villages will return a partial result set.
Does the API cover other Indian states beyond Madhya Pradesh?+
Not currently. All endpoints return data scoped to Madhya Pradesh from the NIC GIS server at geoportal.mp.gov.in. You can fork this API on Parse and revise it to point at other state geoportals or national-level NIC GIS services to add coverage for additional states.
Is satellite imagery or raster data available through this API?+
Not currently. The API returns vector data — polygon boundaries, polyline road networks, and tabular attribute records. Raster or satellite imagery layers are not exposed. You can fork this API on Parse and revise it to add endpoints targeting any raster tile or WMS layers present on the NIC GIS server.
How current is the administrative boundary data?+
The data originates from the NIC admin2024 MapServer, suggesting a 2024 administrative boundary dataset. The API reflects whatever version the source GIS server currently serves; there is no historical snapshot or changelog endpoint available.
Page content last updated . Spec covers 8 endpoints from geoportal.mp.gov.in.
Related APIs in Maps GeoSee all →
angieslist.com API
Search for home service professionals on Angi and access their detailed profiles including reviews, contact information, and photos to find the right contractor for your project. Quickly compare multiple service providers by viewing their ratings, customer feedback, and verified business details all in one place.
yellowpages-uae.com API
Search and discover UAE businesses with instant access to contact details, locations, and branch information from the Yellow Pages UAE directory. Find companies by name, get detailed business profiles, explore multiple branches, and browse available cities all in one place.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
58.com Housing API
Access real-time housing market data from 58.com (58同城), China's largest classifieds platform. Search house price trends across 31+ major Chinese cities at city, district, and neighborhood levels, and browse hot new property developments with prices, floor plans, and location details.
x-kom.pl API
Access product data from x-kom.pl, a major Polish electronics retailer. Search products by keyword or category, retrieve detailed product pages, customer reviews, Q&A, promotions, flash deals, and physical store locations.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.
Geoportal MP API – Madhya Pradesh GIS Data · Parse