API Reference

Integrate Box Truck Sprinter routing intelligence into your applications.

Authentication

API keys and OAuth 2.0

Routes API

Create and optimize routes

SDKs

JavaScript, Python, Ruby

Webhooks

Real-time event notifications

Quick Start

// Create an optimized route
const response = await fetch('https://api.boxtrucksprinter.com/v1/routes/optimize', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    stops: [
      { address: '350 5th Ave, New York, NY' },
      { address: '1 World Trade Center, New York, NY' },
      { address: '30 Rockefeller Plaza, New York, NY' }
    ],
    vehicle_type: 'box_truck',
    options: {
      avoid_tolls: false,
      return_to_start: true
    }
  })
});

const route = await response.json();
console.log(route.optimized_order);
console.log(route.total_distance_miles);
console.log(route.estimated_duration_minutes);

Rate Limits

PlanRequests/minRoutes/month
Starter601,000
Professional30010,000
EnterpriseUnlimitedUnlimited

Ready to Integrate?

Sign up for a free API key and start building with Box Truck Sprinter.