AI-Powered Route Optimization & Scheduling API

Get optimized routes, dynamic schedules and highly accurate ETAs. Swiftly order and reorder complex task sequences.

banner

Join the Ranks: Startups to Enterprises Trust Our Routing and Navigation Platform.

Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap
Logo wrap

Key Features

Incorporate 50+ Hard and
Soft Constraints

Implement over 50 hard and soft constraints for enhanced route and schedule flexibility. Balance time and cost considerations by setting preferences for specific waiting times, task lateness limits and vehicle work hours.

Leverage Custom Objective
Functions

Go beyond travel cost minimization using the custom objectives. Minimize the number of vehicles used or the total time taken to complete tasks. Ensure equal task distribution or keep travel costs within a close range across routes.

Optimize Routes for Various
Vehicle Profiles

A route for a gasoline delivery truck won't work for a waste collection truck — and we get that. With our API, efficiently plan routes for a variety of vehicles, including cars and commercial vehicles.

Design Task Sequences With
Complex Constraints

Arrange task sequences, both direct and indirect, as per your complex business constraints. Define job-shipment connections to ensure sequences follow your preferences and are executed as specified.

Integrate Real-Time and
Historical Traffic

Get routes that adapt to both current road situations and past traffic trends. Give your fleet reliable ETAs tailored to the hour and day of the week.

generate-optimal-routes
efficiently-manage-fleets
mobilize-your-workforce
reduce-wait-time
map-data

Use Cases

stable

Trucking

Get truck-specific routes tailored to the vehicle’s attributes.

quality

On-Demand Delivery

Simplify the complexities of multi-route and multi-stop planning across supply chain.

quality

Field Service

Improve resource utilization and simplify work order scheduling.

stable

Waste Collection

Optimize daily operations and achieve regulatory compliance at scale.

quality

Ride Hailing

Enhance driver dispatch, route planning and pick-ups/drop-off experience.

quality

Urban Mobility

Build EV routes around battery usage and charge patterns.

Built for Developers:
Go Live in Days, Not Weeks or Months

Easy Integration

Designed to make developers’ lives easier, our APIs and SDKs follow standard industry protocols, facilitating rapid integration into your applications.

Comprehensive Developer Resources

Dive into our platform's functionality with detailed documentation, code samples, step-by-step tutorials and use case notebooks.

Proactive Support

Receive assistance from our solution engineers and product support team throughout your evaluation, integration, and production phases — a rarity in the location tech landscape.


                        curl --location 'https://api.nextbillion.io/optimization/v2?key=' 
--header 'Content-Type: application/json' 
--data '{
  "options": { "routing": { "mode": "car" } },
  "vehicles": [
    {
      "id": 1,
      "start_index": 21,
      "end_index": 21,
      "capacity": [100],
      "time_window": [1702607400, 1702625400],
      "skills": [2, 5],
      "breaks": [],
      "max_tasks": 25,
      "costs": { "fixed": 100 }
    },
    {
      "id": 2,
      "start_index": 21,
      "end_index": 21,
      "capacity": [100],
      "time_window": [1702607400, 1702625400],
      "skills": [2, 5],
      "breaks": [],
      "max_tasks": 25,
      "costs": { "fixed": 1000 }
    },
    {
      "id": 3,
      "start_index": 21,
      "end_index": 21,
      "capacity": [100],
      "time_window": [1702607400, 1702625400],
      "skills": [1, 4],
      "breaks": [],
      "max_tasks": 25,
      "costs": { "fixed": 2000 }
    },
    {
      "id": 4,
      "start_index": 21,
      "end_index": 21,
      "capacity": [100],
      "time_window": [1702607400, 1702625400],
      "skills": [2, 5],
      "breaks": [],
      "max_tasks": 25,
      "costs": { "fixed": 3000 }
    },
    {
      "id": 5,
      "start_index": 21,
      "end_index": 21,
      "capacity": [100],
      "time_window": [1702607400, 1702625400],
      "skills": [3, 5],
      "breaks": [],
      "max_tasks": 25,
      "costs": { "fixed": 4000 }
    }
  ],
  "locations": {
    "id": 12,
    "description": "NB.AI SHIPMENTS DEMO",
    "location": [
      "40.6085191875,-73.9536178305",
      "40.7372425625,-73.9457455230",
      "40.5942814471,-73.9783025420",
      "40.7109609308,-73.9531622356",
      "40.6166491791,-73.9697126006",
      "40.7148610344,-73.9089981270",
      "40.6385350172,-73.9017287031",
      "40.7171951587,-73.8614628402",
      "40.6652580289,-73.8995238296",
      "40.7169478232,-73.8874888392",
      "40.6199821213,-74.0188033905",
      "40.7524615322,-73.8888712419",
      "40.5885341540,-73.9624776847",
      "40.7176884077,-73.8951881458",
      "40.6246397579,-73.9429799499",
      "40.7402823747,-73.8561772027",
      "40.6744393346,-73.9398219099",
      "40.7160849939,-73.9333128954",
      "40.6652089729,-73.9695243818",
      "40.7439268324,-73.9024963644",
      "40.7176025,-74.059828",
      "40.7176025,-74.059828"
    ]
  },
  "jobs": [],
  "shipments": [
    {
      "pickup": {
        "id": 1,
        "location_index": 0,
        "service": 120,
        "time_windows": [[1702618763, 1702625963]]
      },
      "delivery": {
        "id": 1,
        "location_index": 1,
        "service": 120,
        "time_windows": [[1702618763, 1702625963]]
      },
      "skills": [1],
      "priority": 1,
      "amount": [16]
    },
    {
      "pickup": {
        "id": 2,
        "location_index": 2,
        "service": 120,
        "time_windows": [[1702622209, 1702629409]]
      },
      "delivery": {
        "id": 2,
        "location_index": 3,
        "service": 120,
        "time_windows": [[1702622209, 1702629409]]
      },
      "skills": [3],
      "priority": 1,
      "amount": [67]
    },
    {
      "pickup": {
        "id": 3,
        "location_index": 4,
        "service": 120,
        "time_windows": [[1702625500, 1702632700]]
      },
      "delivery": {
        "id": 3,
        "location_index": 5,
        "service": 120,
        "time_windows": [[1702625500, 1702632700]]
      },
      "skills": [5],
      "priority": 1,
      "amount": [98]
    },
    {
      "pickup": {
        "id": 4,
        "location_index": 6,
        "service": 120,
        "time_windows": [[1702626638, 1702633838]]
      },
      "delivery": {
        "id": 4,
        "location_index": 7,
        "service": 120,
        "time_windows": [[1702626638, 1702633838]]
      },
      "skills": [1],
      "priority": 1,
      "amount": [27]
    },
    {
      "pickup": {
        "id": 5,
        "location_index": 8,
        "service": 120,
        "time_windows": [[1702629136, 1702636336]]
      },
      "delivery": {
        "id": 5,
        "location_index": 9,
        "service": 120,
        "time_windows": [[1702629136, 1702636336]]
      },
      "skills": [2],
      "priority": 1,
      "amount": [53]
    },
    {
      "pickup": {
        "id": 6,
        "location_index": 10,
        "service": 120,
        "time_windows": [[1702615839, 1702623039]]
      },
      "delivery": {
        "id": 6,
        "location_index": 11,
        "service": 120,
        "time_windows": [[1702615839, 1702623039]]
      },
      "skills": [2],
      "priority": 1,
      "amount": [39]
    },
    {
      "pickup": {
        "id": 7,
        "location_index": 12,
        "service": 120,
        "time_windows": [[1702631772, 1702638972]]
      },
      "delivery": {
        "id": 7,
        "location_index": 13,
        "service": 120,
        "time_windows": [[1702631772, 1702638972]]
      },
      "skills": [4],
      "priority": 1,
      "amount": [23]
    },
    {
      "pickup": {
        "id": 8,
        "location_index": 14,
        "service": 120,
        "time_windows": [[1702629552, 1702636752]]
      },
      "delivery": {
        "id": 8,
        "location_index": 15,
        "service": 120,
        "time_windows": [[1702629552, 1702636752]]
      },
      "skills": [3],
      "priority": 1,
      "amount": [50]
    },
    {
      "pickup": {
        "id": 9,
        "location_index": 16,
        "service": 120,
        "time_windows": [[1702612858, 1702620058]]
      },
      "delivery": {
        "id": 9,
        "location_index": 17,
        "service": 120,
        "time_windows": [[1702612858, 1702620058]]
      },
      "skills": [3],
      "priority": 1,
      "amount": [49]
    },
    {
      "pickup": {
        "id": 10,
        "location_index": 18,
        "service": 120,
        "time_windows": [[1702626254, 1702633454]]
      },
      "delivery": {
        "id": 10,
        "location_index": 19,
        "service": 120,
        "time_windows": [[1702626254, 1702633454]]
      },
      "skills": [4],
      "priority": 1,
      "amount": [90]
    }
  ]
}'
                        

                        curl --location 'https://api.nextbillion.io/optimization/v2?key={your_api_key}' 
--header 'Content-Type: application/json' 
--data '{
    "options": {
        "routing": {
            "mode": "truck",
            "truck_size":"200, 210, 600",
            "truck_weight": 5000,
            "traffic_timestamp": 1702607400
        }
    },
    "locations": {
        "id": 12,
        "description": "NB.AI TRUCK MODE",
        "location": [
            "40.6085191875,-73.9536178305",
            "40.7372425625,-73.9457455230",
            "40.5942814471,-73.9783025420",
            "40.7109609308,-73.9531622356",
            "40.6166491791,-73.9697126006",
            "40.7148610344,-73.9089981270",
            "40.6385350172,-73.9017287031",
        ]
    },
    "jobs": [],
    "shipments": [
        {
            "pickup": {
                "id": 1,
                "location_index": 0,
                "service": 120,
                "time_windows": [
                    [
                        1702618763,
                        1702625963
                    ]
                ]
            },
            "delivery": {
                "id": 1,
                "location_index": 1,
                "service": 120,
                "time_windows": [
                    [
                        1702618763,
                        1702625963
                    ]
                ]
            },
            "skills": [
                1
            ],
            "priority": 1,
            "amount": [
                16
            ]
        },
        {
            "pickup": {
                "id": 2,
                "location_index": 2,
                "service": 120,
                "time_windows": [
                    [
                        1702622209,
                        1702629409
                    ]
                ]
            },
            "delivery": {
                "id": 2,
                "location_index": 3,
                "service": 120,
                "time_windows": [
                    [
                        1702622209,
                        1702629409
                    ]
                ]
            },
            "skills": [
                3
            ],
            "priority": 1,
            "amount": [
                67
            ]
        },
        {
            "pickup": {
                "id": 3,
                "location_index": 4,
                "service": 120,
                "time_windows": [
                    [
                        1702625500,
                        1702632700
                    ]
                ]
            },
            "delivery": {
                "id": 3,
                "location_index": 5,
                "service": 120,
                "time_windows": [
                    [
                        1702625500,
                        1702632700
                    ]
                ]
            },
            "skills": [
                5
            ],
            "priority": 1,
            "amount": [
                98
            ]
        },
        {
            "pickup": {
                "id": 4,
                "location_index": 6,
                "service": 120,
                "time_windows": [
                    [
                        1702626638,
                        1702633838
                    ]
                ]
            },
            "delivery": {
                "id": 4,
                "location_index": 7,
                "service": 120,
                "time_windows": [
                    [
                        1702626638,
                        1702633838
                    ]
                ]
            },
            "skills": [
                1
            ],
            "priority": 1,
            "amount": [
                27
            ]
        }
    ],
    "vehicles": [
        {
            "id": 1,
            "start_index": 21,
            "end_index": 21,
            "capacity": [
                100
            ],
            "time_window": [
                1702607400,
                1702625400
            ],
            "skills": [
                2,
                5
            ],
            "breaks": [],
            "max_tasks": 25,
            "costs": {
                "fixed": 0
            }
        },
        {
            "id": 2,
            "start_index": 21,
            "end_index": 21,
            "capacity": [
                100
            ],
            "time_window": [
                1702607400,
                1702625400
            ],
            "skills": [
                2,
                5
            ],
            "breaks": [],
            "max_tasks": 25,
            "costs": {
                "fixed": 1000
            }
        },
    ]
}'
                            
product-support

What Makes Us Unique

stable

Flexible
Pricing

Choose the option suited for your business needs — whether it's asset-based or usage-based.

stable

Designed for
Scalability

Manage nationwide logistical operations for thousands of orders and vehicles.

stable

Exceptional
Support

Receive assistance from our solution engineers throughout your evaluation and integration phase.

Pricing that Works for Every Business

stable

Asset-based

Pricing based on the number of assets.

stable

Usage-based

Pricing based on actual usage of products and services.

stable

Customized

Tailored pricing to meet specific business needs.

Building Blocks for End-to-End Optimization

Explore a range of complementary APIs by NextBillion.ai that enable you to handle unique workflows.

Trusted by Enterprises and Start-Ups Worldwide

G2 Badge G2 Badge G2 Badge G2 Badge G2 Badge
G2 Badge G2 Badge G2 Badge G2 Badge

By substantially reducing the number of developer hours spent on scheduling, NextBillion.ai’s MVRP and large Distance Matrix API have helped us improve our operational efficiency and increase our cost savings significantly!

carson-stevens

Carson Stevens,
Data Engineer

I admire NextBillion.ai's fast response and friendly manners whenever we need professional support in geospatial data processing. They have delivered a valuable service and support to our company that we appreciate.

yantisa-akhadi

Yantisa Akhadi,
Strategy and Partnership Manager

NextBillion.ai solves the problem of providing a high-performance mapping platform at scale. We generate efficient delivery schedules in real time for hundreds of vehicles, so distance calculations need to be fast and reliable. NextBillion.ai’s Distance Matrix service meets and exceeds this demand.

james-nebeker

James Nebeker,
Machine Learning Engineer

Seamless Integrations With
Top Enterprise Clouds, ERPs and CRMs

Logo Logo Logo Logo Logo

Featured on

Explore articles featuring our organization and industry recognition.

Logo wrap

Solve simple to complex routing, assignment and allocation problems with NextBillion.ai’s Route Optimization API

UNITED STATES

21 E State Street, Suite 200,
Columbus, OH 43215

SINGAPORE

#32-01, 80 Raffles Place,
UOB Plaza, Singapore 048624

© 2024 NextBillion.AI

Terms of use

Privacy Policy

All rights reserved