โš™๏ธ Support

Lagrangeship API.
Integrate Freight
Into Anything.

A simple, powerful REST API for tracking shipments, creating bookings, and managing your logistics data โ€” with webhooks, SDKs, and full documentation.

Up and running in minutes

Our RESTful API uses standard HTTP verbs and returns JSON. Authenticate with a bearer token from your account dashboard.

๐Ÿ”‘

API Key Authentication

Generate API keys from Settings โ†’ API in your dashboard. Keys can be scoped to read-only or full access.

๐Ÿ””

Webhooks

Subscribe to real-time shipment events โ€” status changes, customs holds, delivery โ€” pushed to your endpoint.

๐Ÿ“ฆ

SDKs Available

Official SDKs for Node.js, Python, PHP, and Java. Community SDKs for Ruby, Go, and .NET.

๐Ÿงช

Sandbox Environment

Test your integration against a full sandbox with simulated shipments, events, and edge cases.

Example: Track a Shipment
GET
https://api.lagrangeship.com
/v1/shipments/FF296781
Authorization: Bearer YOUR_API_KEY
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
200 OK
{
"tracking_number": "FF296781",
"status": "in_transit",
"origin": "Frankfurt, DE",
"destination": "New York, US",
"events": [...]
}
API Reference

Core endpoints

GET

/v1/shipments/{id}

Retrieve full shipment details including status, route, tracking events, and estimated arrival time.

POST

/v1/shipments

Create a new shipment booking with origin, destination, commodity, and service type.

GET

/v1/shipments

List all shipments with optional filters for status, date range, service type, and customer.

POST

/v1/webhooks

Register a webhook endpoint to receive real-time push notifications on shipment events.

GET

/v1/quotes

Get instant rate quotes for a given origin, destination, service type, weight, and dimensions.

GET

/v1/customers

List and search your customer records. Supports pagination and full-text search.

Ready to integrate?

Create a free developer account and get your API key in 60 seconds.

Get API Access โ†’Talk to an Engineer