This operation was normalized from a MapmyIndia-generation specification. Validate its current Mappls host, path, package entitlement, authentication generation, and commercial availability before production use.
Call the operation
https://atlas.mapmyindia.com/api/places/geocode?address=237+Okhla+industrial+estate+phase+3+new+delhi%2C+delhi+110020https://atlas.mapmyindia.comParameters
region'It takes in the country code. Possible values are listed in a table here. Default is India (IND).'
indaddressrequiredaddress to be geocoded
237 Okhla industrial estate phase 3 new delhi, delhi 110020itemCountparameter can be set to get maximum number of result items from the API (default: 1).
1biasThis parameter can be used to set Urban or Rural bias. A positive value sets the Urban bias and a negative value sets Rural bias. This optional parameter & its related effect on response is not applicable for regions apart from India (IND). Allowed values are: 0 : Default: (No bias) -1 : Rural 1 : Urban
0podFilterThis parameter can be used to set admin level restriction. The result will be either the given admin level or equivalent admin or higher in the hierarchy. No lower admin will be considered for geocoding.This optional parameter & its related effect on response is not applicable for regions apart from India (IND). Allowed values are: hno : house number hna : house name poi : point of interest street : street sslc : sub sub locality village : village slc : sub locality sdist : sub district loc : locality city : city dist : district pincode :pincode state : state
exampleboundThis parameter can be used to set admin boundary, which means geocoding will be done within the given admin. The allowed admin bounds are Sub-District, District, City, State and Pincode. The parameter accepts the admin eLoc as value. This optional parameter & its related effect on response is not applicable for regions apart from India (IND). Note: Please note that podFilter & bound parameters are mutually exclusive. They cannot be used together in an API call.
TAVI5SBuild your request in eight languages
Change source-backed examples once, validate required inputs, and copy the synchronized cURL, JavaScript, Python, Java, C#, Go, PHP, or Ruby request. Credentials remain environment references, and this page never sends a provider request.
https://atlas.mapmyindia.com/api/places/geocode?region=ind&address=237+Okhla+industrial+estate+phase+3+new+delhi%2C+delhi+110020&itemCount=1&bias=0&podFilter=example&bound=TAVI5Scurl --request GET \
--url 'https://atlas.mapmyindia.com/api/places/geocode?region=ind&address=237+Okhla+industrial+estate+phase+3+new+delhi%2C+delhi+110020&itemCount=1&bias=0&podFilter=example&bound=TAVI5S' \
--header "Accept: application/json" \
--header "Authorization: Bearer ${MAPPLS_ACCESS_TOKEN}"Credential-safe by constructionSet MAPPLS_ACCESS_TOKEN only in your trusted runtime. Code generation stays local. Sandbox execution sends only bounded fixture inputs to this developer platform and never reads a credential or calls Mappls.
Send a production-shaped request
Examples use environment-backed access tokens, explicit timeouts where supported, status checks, and JSON bodies derived from the source schema. Replace sample identifiers and coordinates with values from your application.
curl --request GET \
--url 'https://atlas.mapmyindia.com/api/places/geocode?address=237+Okhla+industrial+estate+phase+3+new+delhi%2C+delhi+110020' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'Responses
OK
Not found
Bad request
API access denied
Forbidden
Something went wrong
Internal server error
200 response fields
copResultsrequiredNo field description in the source contract.
examplecopResults.houseNumberHouse Number of the POI.
237copResults.houseNameHouse Name of the POI.
MMI BuildingcopResults.poiName of the POI.
MapmyIndia Head OfficecopResults.streetName of the street.
—copResults.subSubLocalityName of the subsublocality.
—copResults.subLocalityName of the sublocality.
—copResults.localityName of the locality.
Okhla industrial phase 3copResults.villageName of the village.
Okhla VilagecopResults.subDistrictName of the subDistrict.
—copResults.districtrequiredName of the District.
South DelhicopResults.cityrequiredName of the city.
New DelhicopResults.staterequiredName of the State.
1700000000000copResults.pincodePincode of the location.
110010copResults.formattedAddressrequiredThis shows the formatted address of the POI.
237, MMI Building, MapmyIndia Head Office, Okhla industrial phase 3, Okhla Vilage, South Delhi, New Delhi, Delhi, 110010copResults.eLocrequiredIt is the Six or eight digit unique code offered only by mapmyindia to search for any address through this eLoc.
MMI000copResults.latituderequiredIt shows us the latitude of the location searched. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
28.612964copResults.longituderequiredIt shows us the longitude of the location searched. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
77.229463copResults.geocodeLevelrequiredThis shows the level of the geocode means on which basis the poi has been geocoded.
houseNumbercopResults.confidenceScorerequiredThe confidence for current of geocodelevel.
0.4{
"copResults": {
"district": "South Delhi",
"city": "New Delhi",
"state": "Delhi",
"formattedAddress": "237, MMI Building, MapmyIndia Head Office, Okhla industrial phase 3, Okhla Vilage, South Delhi, New Delhi, Delhi, 110010",
"eLoc": "2LH9OC",
"latitude": "RESTRICTED",
"longitude": "RESTRICTED",
"geocodeLevel": "houseNumber",
"confidenceScore": 0.4
}
}Operate it safely
This operation is evaluated independently from the request. Cache and retry according to its documented semantics.
Contract provenance
- Source file
contenthub/dochub/mapmyindia-rest-api/docs/custom/geocode.yml- SHA-256
b1ce0d03e44035477f0d722d623b9d0ff2c5c392613f0f5106fa75392aeb3c05- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit