list_active_ports
maersk.comLists all currently active ports served by Maersk from https://maersk.com schedules data. Returns country, city, port names, UN location codes, internal port codes, and all other non-empty port fields exposed by Maersk.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is list_active_ports?
Lists all currently active ports served by Maersk from https://maersk.com schedules data. Returns country, city, port names, UN location codes, internal port codes, and all other non-empty port fields exposed by Maersk. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass carrier_codes, timeout_seconds and get the result back without maintaining a scraper.
Response
{
"count": 0,
"ports": [
{}
]
}Call it
curl --location 'https://us-prod.notte.cc/functions/4f4df04a-42a3-4836-9aaa-55845e660a51/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "4f4df04a-42a3-4836-9aaa-55845e660a51",
"variables": {
"carrier_codes": "MAEU",
"timeout_seconds": 30
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="4f4df04a-42a3-4836-9aaa-55845e660a51") — the "list_active_ports" function, which lists all currently active ports served by Maersk from https://maersk.com schedules data. Returns country, city, port names, UN location codes, internal port codes, and all other non-empty port fields exposed by Maersk.. It takes carrier_codes (str), timeout_seconds (int). Return the result as structured JSON.