Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: NextBillion.ai Mdm API
version: '2026-10-13'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-13: 18 operation(s) read from 8 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; NextBillion.ai has published no machine-readable contract that the pipeline could find. Engine: local.'
x-evidence-tiers:
code-example: 5
documentation: 13
pages-with-code: 5
pages-read: 8
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-10-13'
x-generator: generate-contract-from-docs.py
x-engine: local
x-sources:
- https://docs.nextbillion.ai/routing/directions-api
- https://docs.nextbillion.ai/routing/navigation-api
- https://docs.nextbillion.ai/optimization/route-optimization-api
- https://docs.nextbillion.ai/routing/distance-matrix-api/synchronous
- https://docs.nextbillion.ai/routing/isochrone-api
- https://docs.nextbillion.ai/routing/hours-of-service-api
- https://docs.nextbillion.ai/optimization/driver-assignment-api
- https://docs.nextbillion.ai/routing/distance-matrix-api/asynchronous
servers:
- url: https://api.nextbillion.io
tags:
- name: Mdm
paths:
/mdm/create:
post:
operationId: post_mdm_create
tags:
- Mdm
summary: POST /mdm/create
x-source: https://docs.nextbillion.ai/routing/distance-matrix-api/asynchronous
parameters:
- name: key
in: query
required: false
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: "curl --location 'https://api.nextbillion.io/mdm/create?key=<your_api_key>&option=flexible' \\ 2 --header 'Content-Type: application/json' \\ 3 --data '{ 4 \"origins\":\"13.03394916,77.58855989\", 5 \"destinations\":\"13.03935192,77.58939313\", 6 \"mode\":\"truck\", 7 \"truck_size\":\"100,220,213\", 8 \"truck_weight\":5000 9 }' \n Sample POST Response \n Here is the response that we receive on submitting the POST reques"
/mdm/status:
get:
operationId: get_mdm_status
tags:
- Mdm
summary: Use this method to retrieve the Distance Matrix solution link for the tasks…
description: Retrieve the processing status and result link for a previously submitted asynchronous distance matrix task.
x-source: https://docs.nextbillion.ai/routing/distance-matrix-api/asynchronous
parameters:
- name: key
in: query
required: true
schema:
type: string
description: Your API key.
- name: id
in: query
required: true
schema:
type: string
description: The task_id returned from the POST request.
responses:
'200':
description: Success (status as documented)
content:
application/json:
schema:
$ref: '#/components/schemas/GetMdmStatusResponse'
x-evidence:
kind: documentation
components:
schemas:
GetMdmStatusResponse:
type: object
properties:
code:
type: string
description: Response status code, e.g., "Ok".
status:
type: string
description: Current status of the task, e.g., "task fully succeeded".
result_link:
type: string
description: URL to the CSV file containing the distance matrix results.