{
  "openapi": "3.0.1",
  "info": {
    "title": "MyShipTracking Scraper | Vessel Positions and Port Calls",
    "description": "MyShipTracking scraper: paste IMO or MMSI numbers and get live vessel positions, speed, course, AIS destination, ETA, current port, last port calls, flag, type, gross tonnage, deadweight and year built. One row per ship, no account needed. 10 vessels in 4 seconds, 51 fields each in our 2026 run.",
    "version": "1.0",
    "x-build-id": "jBldD2jZs3dqIAhkW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~myshiptracking-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-myshiptracking-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/silentflow~myshiptracking-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-myshiptracking-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/silentflow~myshiptracking-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-myshiptracking-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "vesselIds": {
            "title": "🚢 Vessels (IMO, MMSI or link)",
            "type": "array",
            "description": "One vessel per line, mixed freely: an <b>IMO</b> number (7 digits, <code>9525467</code>), an <b>MMSI</b> (9 digits, <code>241087000</code>), or a MyShipTracking vessel page link. Each vessel gives one row, whatever the maximum below. When one IMO has had several MMSIs (a change of flag), the one heard most recently is read. Paste hundreds at once to refresh a whole fleet in one run.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "🔎 Vessel names",
            "type": "array",
            "description": "Search the vessel database by name, for example <code>MAERSK</code> or <code>BLUE STAR</code>. Partial matches count, so a fleet prefix returns the whole fleet: <code>MAERSK</code> lists about 550 vessels. Every match becomes a full row, up to the maximum per search set below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 MyShipTracking links",
            "type": "array",
            "description": "Links copied from MyShipTracking: a vessel page (<code>/vessels/ever-given-mmsi-636026627-imo-9811000</code>) gives that vessel, a vessel list filtered on the site (<code>/vessels?name=BLUE%20STAR&sog-min=1</code>) gives every vessel it lists, up to the maximum per search.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "destination": {
            "title": "📍 Declared destination",
            "type": "string",
            "description": "Keep vessels whose AIS destination contains this text, as the crew typed it: a port name (<code>ROTTERDAM</code>) or a UN/LOCODE (<code>SGSIN</code>). Crews write destinations freely, so try both forms."
          },
          "minSpeed": {
            "title": "🐢 Minimum speed (knots)",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "Keep vessels moving at least this fast. <code>1</code> leaves out vessels at anchor or moored."
          },
          "maxSpeed": {
            "title": "🚀 Maximum speed (knots)",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "Keep vessels moving no faster than this. <code>0</code> keeps only vessels at a standstill."
          },
          "minYearBuilt": {
            "title": "🏗️ Built in or after",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Keep vessels built in this year or later, for example <code>2010</code>. Vessels whose build year the site does not know are left out when a year is set."
          },
          "maxYearBuilt": {
            "title": "🏗️ Built in or before",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Keep vessels built in this year or earlier, for example <code>2005</code> for an older tonnage list."
          },
          "maxItems": {
            "title": "🔢 Max vessels per search or list",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Most rows each vessel name, list link or filter search returns. Each row is one vessel page read in full.",
            "default": 50
          },
          "debugMode": {
            "title": "🐞 Debug log",
            "type": "boolean",
            "description": "Write a detailed log of every step. Leave off for normal runs.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}