Distance Tools
StatusDevelopersupload Spreadsheet
  • Welcome
  • Getting Started
    • Quickstart
  • Tools
    • Spreadsheet
      • Getting started
      • Format & input
      • Upload & validation
      • Pricing & Payment
      • FAQ
    • Webapp
      • Scraping
      • Advertisers
    • API
      • Getting started
      • API Reference
        • distance/route
        • distance/route/detailed
        • distance/route/maritime
        • distance/point
        • routing/car
        • routing/maritime
      • Plans & Pricing
      • FAQ
        • Migration guide
    • AI Agent
  • Features
    • Input data
    • Routing
    • Calculation
    • Segmentation
  • Legal
    • Terms of Service
    • Privacy policy
    • Credits
Powered by GitBook
On this page
  1. Tools
  2. API
  3. API Reference

routing/maritime

Calculate maritime sea routes between ports or coordinates

Previousrouting/carNextFAQ

Last updated 1 month ago

routing/maritime

Get maritime sea routes

post

Calculate maritime sea routes between ports or coordinates.

Authorizations
Body
Responses
200
Valid request and route was found
400
Bad Request - Invalid request
404
Not Found - Valid request but location not found
post
POST /api/v2/route/maritime HTTP/1.1
Host: api.distance.tools
X-Billing-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 29

{
  "route": [
    {
      "lat": 1,
      "lng": 1
    }
  ]
}

No content