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/nearby/json?keywords=FODCOF&refLocation=28.612964%2C77.229463https://atlas.mapmyindia.comParameters
keywordsrequiredEnter the query on which the search has to be done. Operators in Keywords parameter To send multiple keywords in a request, we’ve defined a couple of operators that can help the developers wrap their applications around this functionality. Below are the operators: The “ ; ” Operator: This operator is an “or” operator. Defining multiple keywords separated with a “ ; ” would provide results that satisfies either of the keywords. The “ $ ” Operator: This operator is a “and” operator. Defining multiple keywords separated with a “ $ ” would provide results that satisfy all the provided keywords. (default). To use these operators, simple just send in the keywords parameter like below: &keywords=co
FODCOFrefLocationrequiredProvides the location around which the search will be performed. e.g. refLocation=28.454,77.435. The refLocation parameter can also accept eLoc as reference location. This configuration is not active by default. Please contact MapmyIndia API support for further details. Example: refLocation=17ZUL7
28.612964,77.229463pageprovides number of the page to provide results from.
1regionit takes in the country code. LKA, IND, BTN, BGD, NPL for Sri-Lanka, India, Bhutan, Bangladesh, Nepal respectively. Default is India (IND)
INDradiusProvides the range of distance to search over (default 1000, min, 500, max, 10000)
10000bounds(x1,y1;x2,y2) Allows the developer to send in map bounds to provide a nearby search of the geobounds. where x1,y1 are the lat lng of the bound. The bounds are set from topLeft to bottomRight (North-West to South-East).
28.639256,77.211133;28.625214,77.237483filterIt uses key:value pair(s) to fine tune discovery of places by filtering the results. e.g. categoryCode:FODCOF valid IDs for key value pairs are: categoryCode: can take in category codes as input
categoryCode:FODCOFsortByProvides configured sorting operations for the client on cloud. Below are the available sorts: dist:asc & dist:desc - will sort data in order of distance from the passed location (default). name:asc & name:desc - will sort the data on alphabetically bases. imp - will sort data in order of decreasing prominence of the place.
dist:ascsearchByprovides configurable search operations for the client on cloud. Below are the available sorts: dist(default) - will sort data in order of distance from the passed location (default). imp - will search data in order of prominence of the place.
distpodIt takes in the place type code which helps in restricting the results to certain chosen type. Access to this parameter is controlled from the backend. This parameter, if provided will override any values provided in keywords request param. Below mentioned are the available values for pod: SLC - Sublocality LC - Locality CITY - City STATE - State
LCBuild 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/nearby/json?keywords=FODCOF&refLocation=28.612964%2C77.229463&page=1®ion=IND&radius=10000&bounds=28.639256%2C77.211133%3B28.625214%2C77.237483&filter=categoryCode%3AFODCOF&sortBy=dist%3Aasc&searchBy=dist&pod=LCcurl --request GET \
--url 'https://atlas.mapmyindia.com/api/places/nearby/json?keywords=FODCOF&refLocation=28.612964%2C77.229463&page=1®ion=IND&radius=10000&bounds=28.639256%2C77.211133%3B28.625214%2C77.237483&filter=categoryCode%3AFODCOF&sortBy=dist%3Aasc&searchBy=dist&pod=LC' \
--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/nearby/json?keywords=FODCOF&refLocation=28.612964%2C77.229463' \
--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
suggestedLocationsrequiredNo field description in the source contract.
28.612964,77.229463suggestedLocations[].addressTokensrequiredNo field description in the source contract.
YOUR_ACCESS_TOKENsuggestedLocations[].addressTokens.houseNumberHouse Number of the POI.
237suggestedLocations[].addressTokens.houseNameHouse Name of the POI.
MMI BuildingsuggestedLocations[].addressTokens.poiName of the POI.
MapmyIndia Head OfficesuggestedLocations[].addressTokens.streetName of the street.
—suggestedLocations[].addressTokens.subSubLocalityName of the subsublocality.
—suggestedLocations[].addressTokens.subLocalityName of the sublocality.
—suggestedLocations[].addressTokens.localityName of the locality.
Okhla industrial phase 3suggestedLocations[].addressTokens.villageName of the village.
Okhla VilagesuggestedLocations[].addressTokens.subDistrictName of the subDistrict.
—suggestedLocations[].addressTokens.districtrequiredName of the District.
South DelhisuggestedLocations[].addressTokens.cityrequiredName of the city.
New DelhisuggestedLocations[].addressTokens.staterequiredName of the STATE.
1700000000000suggestedLocations[].addressTokens.pincodePINcode of the location.
110010suggestedLocations[].distancerequiredprovides the distance from the provided location bias in meters
64suggestedLocations[].elocrequiredPlace Id of the location 6-char alphanumeric
MMI000suggestedLocations[].emailrequiredEmail for contact
xyz@email.comsuggestedLocations[].entryLatituderequiredlatitude of the entrance of the location. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
28.612964suggestedLocations[].entryLongituderequiredlongitude of the entrance of the location. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
77.229463suggestedLocations[].hourOfOperationrequiredThe hours of operation of the POI in a day.
poisuggestedLocations[].keywordsrequiredThe keywords/category codes associated with the given result.
examplesuggestedLocations[].landlineNorequiredphone no for contact
911133107634suggestedLocations[].latituderequiredLatitude of the location. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
28.612964suggestedLocations[].longituderequiredlongitude of the location. Geometry information is NOT available in most use-case driven response; and is RESTRICTED.
77.229463suggestedLocations[].mobileNorequiredPhone number for contact
919999827144suggestedLocations[].orderIndexrequiredthe order where this result should be placed
1suggestedLocations[].placeAddressrequiredAddress of the location
G-72, 1st Floor, Outer Circle, Connaught Place, New Delhi, Delhi, 110001suggestedLocations[].placeNamerequiredName of the location
Lord of The DrinkssuggestedLocations[].typerequiredType of location POI or Country or City
poipageInforequiredNo field description in the source contract.
examplepageInfo.pageCountrequiredThe number of pages with results.
1pageInfo.totalHitsrequiredTotal number of places in the results.
2730pageInfo.totalPagesrequiredTotal number of pages as per page size and no of results.
2730pageInfo.pageSizerequiredThe number of results per page.
2730{
"suggestedLocations": [
{
"addressTokens": {
"district": "South Delhi",
"city": "New Delhi",
"state": "Delhi"
},
"distance": 64,
"eloc": "CHZZ3S",
"email": "xyz@email.com",
"entryLatitude": "RESTRICTED",
"entryLongitude": "RESTRICTED",
"hourOfOperation": "poi",
"keywords": [
"FINATM"
],
"landlineNo": 911133107634,
"latitude": "RESTRICTED",
"longitude": "RESTRICTED",
"mobileNo": 919999827144,
"orderIndex": 1,
"placeAddress": "G-72, 1st Floor, Outer Circle, Connaught Place, New Delhi, Delhi, 110001",
"placeName": "Lord of The Drinks",
"type": "poi"
}
],
"pageInfo": {
"pageCount": 1,
"totalHits": 2730,
"totalPages": 2730,
"pageSize": 2730
}
}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/nearby.yml- SHA-256
4819a31c609c119f03f1db37e90ffc674ff1de4ae1a6336ec5872757bd5d0551- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit