Skip to main content
GET
Port Calls By Port
Retrieve vessel traffic data for a specific port including arrivals, departures, expected vessels, and vessels currently in port.
Credits: 50 credits per request

Search Types

Use the search_type parameter to filter results:

Port Codes

Use UN/LOCODE format for the port_call parameter:

Pagination

Results are paginated. Use the page parameter (starting from 1) to navigate through results.

Optional Filtering

Use vessel_type to filter results by vessel category.

Response Data

All four search_type options return the same field set — a single parser handles the entire endpoint. Each vessel in list:
All values are strings or null. mmsi and imo are returned as strings — not numbers. length and beam are separate fields in whole metres (previously a combined sizes string).

Authorizations

x-api-key
string
header
required

Your personal API key found in your profile dashboard at https://datadocked.com/dashboard/my_keys

Query Parameters

port_call
string
required

The UN/LOCODE of the port you want to query (e.g., ESBCN for Barcelona).

search_type
enum<string>
required

The type of search to perform.

Available options:
arrival,
departure,
expected,
in_port
page
integer
required

Page number for pagination. Pagination starts with page number 1.

Required range: x >= 1
vessel_type
string

Filter results by vessel type.

Response

Successful response with port traffic data

total
integer

Total vessels matching criteria

pages
integer

Total pages available

page
integer

Current page number

list
object[]