API Integration

Powerful API for
Seamless Integration

Integrate WorldSail's tracking capabilities directly into your applications. Our RESTful API provides real-time access to tracking data, shipment management, and analytics.

RESTful API Webhooks support Rate: 1,000 requests/min
Documentation

Simple & powerful API

Get started with just a few lines of code. Our API is designed to be intuitive and easy to integrate.

Track a Parcel

// Track a parcel using the tracking number
const response = await fetch('https://api.WorldSail.com/v1/track/LT-2026-8821', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
console.log(data);

Sample Response

{
  "tracking_number": "LT-2026-8821",
  "status": "delivered",
  "origin": "New York, USA",
  "destination": "London, UK",
  "eta": "2026-06-21",
  "recipient": "John Smith",
  "weight": "2.5 kg",
  "current_location": {
    "lat": 51.5074,
    "lng": -0.1278,
    "address": "London, UK"
  },
  "timeline": [
    { "status": "Order Processed", "date": "2026-06-18 09:30" },
    { "status": "In Transit", "date": "2026-06-19 08:15" },
    { "status": "Delivered", "date": "2026-06-21 14:30" }
  ]
}
Endpoints

API Endpoints

Complete set of endpoints to manage your tracking operations.

Method Endpoint Description
GET /v1/track/:tracking_number Get tracking details for a parcel
POST /v1/track Create a new tracking record
PUT /v1/track/:tracking_number Update tracking information
DELETE /v1/track/:tracking_number Delete a tracking record
GET /v1/track/:tracking_number/history Get tracking history for a parcel
GET /v1/clients List all clients
Integrations

Connect with your tools

Seamlessly integrate WorldSail with your favorite platforms and services.

Shopify

Sync orders and tracking

Learn More
WooCommerce

WordPress integration

Learn More
Salesforce

CRM integration

Learn More
Zapier

Connect 5000+ apps

Learn More
Slack

Real-time notifications

Learn More
Email

Email notifications

Learn More
WhatsApp

SMS notifications

Learn More
Webhooks

Custom integrations

Learn More
Authentication

Secure API
Authentication

All API requests must be authenticated using an API key. We support both Bearer token and API key header authentication methods.

Bearer Token

Authorization: Bearer YOUR_API_KEY

API Key Header

X-API-Key: YOUR_API_KEY

Get your API key
// Example: PHP cURL request
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => 'https://api.WorldSail.online/v1/track/LT-2026-8821',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    'Authorization: Bearer YOUR_API_KEY',
    'Content-Type: application/json'
  ]
]);

$response = curl_exec($curl);
FAQ

Frequently Asked Questions

How do I get an API key?

You can get your API key by signing up for a WorldSail account and visiting the API section in your dashboard. Free and paid plans are available.

What are the rate limits?

Free plans have a limit of 1,000 requests per minute. Professional and Enterprise plans have higher limits. Contact our sales team for custom rate limits.

Is there a Python SDK available?

Yes, we provide official SDKs for Python, JavaScript, PHP, and Ruby. Check our GitHub repository for documentation and examples.

How do webhooks work?

Webhooks allow you to receive real-time notifications when shipment status changes. Configure webhook URLs in your dashboard and we'll send POST requests with the tracking data.

Get started

Ready to integrate with WorldSail?

Get your API key and start building today. Join 500+ developers already using our API.