Evaluate the route response before integrating.
The evaluation API turns coordinates or resolved addresses into an ordered route with distance, duration, and road geometry. It is rate-limited, has no service-level guarantee, and is not open for production customer data.
No API keys are issued yet. Browser calls must be same-origin; server-to-server evaluation is rate-limited. Contact MileMeld before building a dependency.
Beta access
The public evaluation does not use API keys. Production access will not open until scoped keys, quotas, idempotency, retention controls, and support are operational.
Quickstart
Send between two and twenty coordinate-backed stops. Evaluation routes return synchronously.
curl https://milemeld.com/api/v1/optimizations \
-H "Content-Type: application/json" \
-d '{
"roundTrip": true,
"stops": [
{
"id": "depot",
"label": "Main depot",
"address": "Louisville, KY",
"coordinates": [-85.7585, 38.2527]
},
{
"id": "customer-1",
"label": "First call",
"address": "Prospect, KY",
"coordinates": [-85.6155, 38.3451]
}
]
}'Response
{
"stops": [ /* optimized order */ ],
"distanceMeters": 39790,
"durationSeconds": 2534,
"savedMeters": 3218,
"geometry": {
"type": "LineString",
"coordinates": [ /* lng, lat */ ]
},
"engine": "osrm"
}/api/v1/geocodesResolve an address
Returns up to five normalized matches from the configured geocoder or OpenStreetMap Nominatim. If no reliable match exists, the endpoint returns an error and never invents a pin.
{
"query": "Churchill Downs, Louisville, KY"
}/api/v1/optimizationsOptimize a route
Orders 2–20 stops while keeping the first stop fixed. In one-way mode, the final stop is also fixed.
Stop[]Required · 2–20 coordinate-backed stopsbooleanRequired · Return to the first stop when true/api/v1/usageRead published limits
Returns the current public-beta plan name, browser allowance policy, and maximum route size. It does not return account-scoped usage.
Errors
Errors use a stable machine-readable code and a concise message suitable for logs and user interfaces. If road routing is unavailable, optimization fails without changing the submitted order.
{
"error": {
"code": "INVALID_STOP_COUNT",
"message": "Submit between 2 and 20 stops during the public beta."
}
}INVALID_JSON Malformed request bodyINVALID_STOP Missing or invalid stop fieldsINVALID_STOP_COUNT Outside public-beta limitsRATE_LIMITED Source request limit reachedROUTER_UNAVAILABLE Road router could not return a verified routeLimits
- Public evaluation: 20 stops per request
- Nationwide United States road routing
- Requests are rate-limited by source address
- Coordinates avoid geocoding requests
- No uptime or compatibility SLA during evaluation
Environments
The hosted evaluation is available without keys for low-volume testing. Do not send private customer data until production authentication and retention controls are active.
https://milemeld.com/api/v1http://localhost:3000/api/v1