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/textsearch/json?query=Where+is+Lajpat+Nagarhttps://atlas.mapmyindia.comParameters
queryrequirede.g. FODCOF, Shoes, Coffee, Versace, Gucci, H&M, Adidas, Starbucks, B130 {POI, House Number, keyword, tag}
Where is Lajpat NagarregionIt takes in the country code. LKA, IND, BTN, BGD, NPL for Sri-Lanka, India, Bhutan, Bangladesh, Nepal respectively. Default is India (IND)
INDlocationProvides the location around which the search will be performed. e.g. location=28.454,77.435 It is STRONGLY RECOMMENDED to use this parameter for accurate location biased results.
28.612964,77.229463filterFilter parameter helps you restrict the result by mentioning pincode. e.g. filter=pin:110020
pin:110020Build 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/textsearch/json?query=Where+is+Lajpat+Nagar®ion=IND&location=28.612964%2C77.229463&filter=pin%3A110020curl --request GET \
--url 'https://atlas.mapmyindia.com/api/places/textsearch/json?query=Where+is+Lajpat+Nagar®ion=IND&location=28.612964%2C77.229463&filter=pin%3A110020' \
--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/textsearch/json?query=Where+is+Lajpat+Nagar' \
--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
suggestedLocationNo field description in the source contract.
28.612964,77.229463suggestedLocation[].typerequiredThis is the type whether the results is POI or any building point.
POIsuggestedLocation[].typeXrequiredType attribute for internal use only for MapmyIndia.
7suggestedLocation[].placeAddressrequiredAddress of the location.
Yippee Rooms, Sector 56, Gurugram, Haryana, 122011suggestedLocation[].latituderequiredIt shows us the latitude of the location searched. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
28.612964suggestedLocation[].longituderequiredIt shows us the longitude of the location searched. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
77.229463suggestedLocation[].eLocrequiredIt is the Six or eight digit unique code offered only by mapmyindia to search for any address through this eLoc.
MMI000suggestedLocation[].entryLatituderequiredIt shows us the entry latitude of the location searched. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
28.612964suggestedLocation[].entryLongituderequiredIt shows us the entry longitude of the location searched. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
77.229463suggestedLocation[].placeNamerequiredThis shows the name of the POI
OYO HotelsuggestedLocation[].alternateNamerequiredThis shows the alternate name of the POI
OyoRooms,OYO 40400 Yippe Rooms,OYO Rooms HotelsuggestedLocation[].keywordsrequiredThe keywords/category codes associated with the given result.
examplesuggestedLocation[].addressTokensrequiredNo field description in the source contract.
YOUR_ACCESS_TOKENsuggestedLocation[].addressTokens.houseNumberHouse Number of the POI.
237suggestedLocation[].addressTokens.houseNameHouse Name of the POI.
MMI BuildingsuggestedLocation[].addressTokens.poiName of the POI.
MapmyIndia Head OfficesuggestedLocation[].addressTokens.streetName of the street.
—suggestedLocation[].addressTokens.subSubLocalityName of the subsublocality.
—suggestedLocation[].addressTokens.subLocalityName of the sublocality.
—suggestedLocation[].addressTokens.localityName of the locality.
Okhla industrial phase 3suggestedLocation[].addressTokens.villageName of the village.
Okhla VilagesuggestedLocation[].addressTokens.subDistrictName of the subDistrict.
—suggestedLocation[].addressTokens.districtrequiredName of the District.
South DelhisuggestedLocation[].addressTokens.cityrequiredName of the city.
New DelhisuggestedLocation[].addressTokens.staterequiredName of the STATE.
1700000000000suggestedLocation[].addressTokens.pincodePINcode of the location.
110010suggestedLocation[].prequiredThis shows the priority of the POI
11663suggestedLocation[].orderIndexrequiredThis shows the order of the search results priority wise.
1suggestedLocation[].scorerequiredThis shows the score of the POI.
1.5075794782130676suggestedLocation[].suggesterrequiredThis shows on which basis the search results has been found.
alternateNamesuggestedLocation[].richInforequiredThis shows the rich info associated with the given result.
—userAddedLocationNo field description in the source contract.
28.612964,77.229463userAddedLocation[].eLocrequiredIt is the Six or eight digit unique code offered only by mapmyindia to search for any address through this eLoc.
MMI000userAddedLocation[].entryLatituderequiredlatitude of the entrance of the location. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
28.612964userAddedLocation[].entryLongituderequiredlongitude of the entrance of the location. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
77.229463userAddedLocation[].latituderequiredIt shows us the latitude of the location searched. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
28.612964userAddedLocation[].longituderequiredIt shows us the longitude of the location searched. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
77.229463userAddedLocation[].orderIndexrequiredThis shows the order of the search results priority wise.
1userAddedLocation[].placeAddressrequiredThis is the address of the text searched by you.
Yippee Rooms, Sector 56, Gurugram, Haryana, 122011userAddedLocation[].placeNamerequiredThis shows the name of the POI.
OYO HoteluserAddedLocation[].resultTyperequiredIt Shows the the category of result falling into. For eg. UAP
UAPuserAddedLocation[].typerequiredNo field description in the source contract.
—userAddedLocation[].userNamerequiredIt shows the UserID of the person who added the location.
usr1577100139i799918080{
"suggestedLocation": [
{
"type": "POI",
"typeX": 7,
"placeAddress": "Yippee Rooms, Sector 56, Gurugram, Haryana, 122011",
"latitude": "RESTRICTED",
"longitude": "RESTRICTED",
"eLoc": "2LH9OC",
"entryLatitude": "RESTRICTED",
"entryLongitude": "RESTRICTED",
"placeName": "OYO Hotel",
"alternateName": "OyoRooms,OYO 40400 Yippe Rooms,OYO Rooms Hotel",
"keywords": [
"FINATM"
],
"addressTokens": {
"district": "South Delhi",
"city": "New Delhi",
"state": "Delhi"
},
"p": 11663,
"orderIndex": 1,
"score": 1.5075794782130676,
"suggester": "alternateName",
"richInfo": ""
}
],
"userAddedLocation": [
{
"eLoc": "2LH9OC",
"entryLatitude": "RESTRICTED",
"entryLongitude": "RESTRICTED",
"latitude": "RESTRICTED",
"longitude": "RESTRICTED",
"orderIndex": 1,
"placeAddress": "Yippee Rooms, Sector 56, Gurugram, Haryana, 122011",
"placeName": "OYO Hotel",
"resultType": "UAP",
"type": "",
"userName": "usr1577100139i799918080"
}
]
}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/textsearch.yml- SHA-256
afcd3c96db88abefe988018a2ef98ccb5e816c84beefc47bd0c9cd4452b365f6- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit