Boost your businesses with Mappls’ industry-leading optimisation APIs and SDKs to bring the best and most efficient ways to deliver goods, save time and increase profits.
(For use exclusively with Mappls Geo-Analytics Core APIs)
Geo-Analytics API is an API set that gives the users the power to display & style the data which is archived in Mappls' pan-India database and overlay it on Mappls' Interactive Maps JS API for web. Listing API is an API that gives the users information on the different layers & attributes available within Geo-Analytics Core APIs. This API acts as an assisting API to quickly get the necessary details that are required to accurately fetch the required overlays from the core Geo-Analytics APIs. Listing API is an API that provide list of attributes along with unique ID. User can get bounding box of the required feature/area as well.
This is the first production release of this API which contains the basic definitions, usages, parameters, and other information regarding the API. Further releases would add more functions and modifications.
For the complete list of attributes per layer as available within our APIs, contact apisupport@mappls.com.
https://geoanalytics.mapmyindia.com/listingapi?
This APIs follow OAuth2 based security. To know more on how to create your authorization tokens, please use our authorization token URL. More details available here.
GET
The API leverages OAuth 2.0 based security. Hence, the developer would need to send a request for access token using their client_id and client_secret to the OAuth API. Once validated from the OAuth API, the access_token and the token_type need to be sent as Authorization header with the value: “{token_type} {access_token}”.
JSON
Examples
Sample Input 1
https://geoanalytics.mapmyindia.com/listingapi?api=state&geo_bound_type=india&geo_bound=india&get_attr=stt_nme
Sample Output 1
{ "responseCode": 200, "version": "1.0.0", "total_feature_count": 36, "results": { "api_name": "state", "attribute": "stt_nme", "get_attr_values": [ { "geo_bound": "India", "get_attr_values": [ { "stt_nme": "ANDAMAN & NICOBAR ISLANDS" }, { "stt_nme": "ANDHRA PRADESH" }, { "stt_nme": "ARUNACHAL PRADESH" }, { "stt_nme": "ASSAM" }, { "stt_nme": "BIHAR" }, { "stt_nme": "CHANDIGARH" }, { "stt_nme": "CHHATTISGARH" }, { "stt_nme": "DADRA & NAGAR HAVELI" }, { "stt_nme": "DAMAN & DIU" }, { "stt_nme": "DELHI" }, { "stt_nme": "GOA" }, { "stt_nme": "GUJARAT" }, { "stt_nme": "HARYANA" }, { "stt_nme": "HIMACHAL PRADESH" }, { "stt_nme": "JAMMU & KASHMIR" }, { "stt_nme": "JHARKHAND" }, { "stt_nme": "KARNATAKA" }, { "stt_nme": "KERALA" }, { "stt_nme": "LAKSHADWEEP" }, { "stt_nme": "MADHYA PRADESH" }, { "stt_nme": "MAHARASHTRA" }, { "stt_nme": "MANIPUR" }, { "stt_nme": "MEGHALAYA" }, { "stt_nme": "MIZORAM" }, { "stt_nme": "NAGALAND" }, { "stt_nme": "ODISHA" }, { "stt_nme": "PUDUCHERRY" }, { "stt_nme": "PUNJAB" }, { "stt_nme": "RAJASTHAN" }, { "stt_nme": "SIKKIM" }, { "stt_nme": "TAMIL NADU" }, { "stt_nme": "TELANGANA" }, { "stt_nme": "TRIPURA" }, { "stt_nme": "UTTAR PRADESH" }, { "stt_nme": "UTTARAKHAND" }, { "stt_nme": "WEST BENGAL" } ] } ] } }
Sample Input 2
https://geoanalytics.mapmyindia.com/listingapi?api=district&get_attr=dst_id,dst_nme,stt_nme,stt_id,b_box&addr=jhansi,uttar pradesh
Sample Output 2
{ "responseCode": 200, "version": "1.0.0", "total_feature_count": 1, "results": { "api_name": "district", "attribute": "dst_id,dst_nme,stt_nme,stt_id,b_box", "get_attr_values": [ { "geo_bound": "JHANSI,UTTAR PRADESH", "get_attr_values": [ { "dst_id": "09166", "dst_nme": "JHANSI", "stt_nme": "UTTAR PRADESH", "stt_id": "09", "b_box": "BOX(78.300549 25.107214,79.419441 25.952543)" } ] } ] } }
Sample Input 3
https://geoanalytics.mapmyindia.com/listingapi?api=district&get_attr=dst_id,dst_nme,stt_nme,stt_id,b_box&addr=meerut,uttar pradesh
Sample Output 3
{ "responseCode": 200, "version": "1.0.0", "total_feature_count": 1, "results": { "api_name": "district", "attribute": "dst_id,dst_nme,stt_nme,stt_id,b_box", "get_attr_values": [ { "geo_bound": "MEERUT", "get_attr_values": [ { "dst_id": "09138", "dst_nme": "MEERUT", "stt_nme": "UTTAR PRADESH", "stt_id": "09", "b_box": "BOX(77.424514 28.762287,78.123699 29.266268)" } ] } ] } }
Sample Input 4
https://geoanalytics.mapmyindia.com/listingapi?api=district&geo_bound_type=stt_nme&geo_bound=goa&get_attr=dst_id,dst_nme,stt_nme,stt_id,b_box
Sample Output 4
{ "responseCode": 200, "version": "1.0.0", "total_feature_count": 2, "results": { "api_name": "district", "attribute": "dst_id,dst_nme,stt_nme,stt_id,b_box", "get_attr_values": [ { "geo_bound": "GOA", "get_attr_values": [ { "dst_id": "30585", "dst_nme": "NORTH GOA", "stt_nme": "GOA", "stt_id": "30", "b_box": "BOX(73.674383 15.270055,74.292064 15.801544)" }, { "dst_id": "30586", "dst_nme": "SOUTH GOA", "stt_nme": "GOA", "stt_id": "30", "b_box": "BOX(73.761123 14.89943,74.343828 15.492524)" } ] } ] } }