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://apis.mapmyindia.com/advancedmaps/v1/YOUR_REST_KEY/distance_matrix_predictive/driving/28.612964%2C77.229463https://apis.mapmyindia.com/advancedmaps/v1Parameters
REST_KEYrequiredThe REST API licence key allocated to you by signing into our services and registering yourself as a developer.
YOUR_REST_KEYcoordinatesrequiredCoordinates are pair of comma separated longitude & latitude values. First coordinate will be consider as start point (mandatory); a last coordinate will be considered as end point (mandatory) and those in between are via points (optional). Example: {longitude},{latitude};{longitude},{latitude}[;{longitude},{latitude} ...] (part of URL).
28.612964,77.229463dep_timethe UNIX timestamp of departure in seconds. Distance and ETA will be optimized as per given time.
1700000000000Build 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://apis.mapmyindia.com/advancedmaps/v1/${MAPPLS_REST_KEY}/distance_matrix_predictive/driving/28.612964%2C77.229463?dep_time=1700000000000curl --request GET \
--url "https://apis.mapmyindia.com/advancedmaps/v1/${MAPPLS_REST_KEY}/distance_matrix_predictive/driving/28.612964%2C77.229463?dep_time=1700000000000" \
--header "Accept: application/json"Credential-safe by constructionSet MAPPLS_REST_KEY 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://apis.mapmyindia.com/advancedmaps/v1/YOUR_REST_KEY/distance_matrix_predictive/driving/28.612964%2C77.229463'Responses
OK
DB Connection error.
Bad request
API access denied
Forbidden
Not found
Precondition Failed, i.e. Some existing pre-condition in formulating a valid API request was not fulfilled.
Something went wrong
Internal server error
200 response fields
checkrequiredinternal response (for MMI internal purposes only)
5025versionrequiredAPI’s version information.
250.19.5222responseCoderequiredSee the service dependent and general status codes
200resultsrequiredNo field description in the source contract.
exampleresults.coderequiredif request is successful, response is ‘ok’. Else, see the service dependent and general status codes as available in the enum. In case of error, “NoRoute” code is supported (in addition to the general ones) which means “no route found”. Ok : Request could be processed as expected. InvalidUrl : URL string is invalid. InvalidService: Service name is invalid. InvalidVersion : Version is not found. InvalidOptions : Options are invalid. InvalidQuery : The query string is synctactically malformed. Inv
Okresults.distancesrequiredarray of float distances in metres.
exampleresults.durationsrequiredarray of float durations in seconds.
example{
"check": 5025,
"version": "250.19.5222",
"responseCode": "200",
"results": {
"code": "Ok",
"distances": [
[
14076.1,
30927.6
]
],
"durations": [
[
1884.9,
2644.1
]
]
}
}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/predictiveETA.yml- SHA-256
aad00df644a08aeaa60cbfd3065f11c0a6d86d6cb410c5239d47b6cd3fbcd70e- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit