TrackingMCP Track API

The Track API from TrackingMCP — 1 operation(s) for track.

GitHub OpenAPI

Operations 1

POST /v1/track/public Anonymous one-off tracking lookup (no API key) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trackingmcp-com:trackingmcp-com-track-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trackingmcp-com-track-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TrackingMCP REST Track API
  version: 1.0.0
  description: 'DCSA-aligned ocean container tracking across 227 carriers. Every lookup is cross-checked against 2–4 independent sources (110 direct carrier connectors, fallback providers with automatic failover, 4 fused AIS networks, and sailing schedules). Authenticated endpoints take `Authorization: Bearer ` — create a key at https://trackingmcp.com after signing up (free tier: 5 containers, no card; MCP usage is paid in Navo Tokens). AI agents can use the hosted MCP server at https://mcp.trackingmcp.com/mcp instead (registry name io.github.lxxmng/container-tracking).'
  contact:
    name: TrackingMCP
    url: https://trackingmcp.com
    email: hello@trackingmcp.com
servers:
- url: https://api.trackingmcp.com
security:
- bearerAuth: []
tags:
- name: Track
paths:
  /v1/track/public:
    post:
      operationId: trackPublic
      summary: Anonymous one-off tracking lookup (no API key)
      description: 'Free, unauthenticated lookup of a container, bill of lading, or booking. Per-browser allowance of 1 lookup per reference type; returns HTTP 429 with `gated: true` once spent. Send a stable per-browser UUID in `X-Anon-Id`.'
      security: []
      parameters:
      - name: X-Anon-Id
        in: header
        required: false
        description: Stable anonymous browser id (e.g. a UUID persisted in localStorage) used to meter the free allowance.
        schema:
          type: string
          maxLength: 80
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - reference
              properties:
                reference:
                  type: string
                  description: Container number (4 letters + 7 digits), bill of lading, or booking reference.
                reference_type:
                  type: string
                  enum:
                  - container_id
                  - bill_of_lading
                  - booking_number
                  description: Client-side guess; the server refines it.
                carrier_code:
                  type: string
                  description: Optional SCAC hint.
      responses:
        '200':
          description: Live tracking result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  data:
                    $ref: '#/components/schemas/PublicTrackResult'
                  api_version:
                    type: string
                    description: The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.
                  line_correction:
                    type: object
                    properties:
                      searched_code:
                        type: string
                        description: SCAC the caller named.
                      searched_name:
                        type: string
                        description: Name of that line.
                      found_code:
                        type: string
                        description: SCAC of the line that actually holds the reference.
                      found_name:
                        type: string
                        description: Name of that line.
                      reason:
                        type: string
                        description: Why the line differs.
                        enum:
                        - lessor_current_lessee
                      lessor_name:
                        type: string
                        description: Leasing company that named the operating line.
                      lessor_source_url:
                        type: string
                        description: Where the leasing record was read.
                      lessor_observed_at:
                        type: string
                        format: date-time
                        description: When the leasing record was read.
                    description: Present only when the reference was found at a different line than the one named.
                  preview:
                    type: boolean
                    const: true
                  did_you_mean:
                    type: array
                    items:
                      type: string
                      description: Corrected container number.
                    description: Check digit corrections, on a miss only.
                  saved:
                    type: boolean
                    description: Whether this lookup was kept so that it joins your account when you sign up.
                  register_url:
                    type: string
                    description: Signup URL.
                    format: uri
        '400':
          description: Missing or invalid reference (e.g. bad ISO 6346 container number).
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_version:
                    type: string
                    description: The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.
                  ok:
                    type: boolean
                    const: false
                  message:
                    type: string
                    description: What is wrong.
        '402':
          description: The plan or credit limit for this call is reached.
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_version:
                    type: string
                    description: The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.
                  ok:
                    type: boolean
                    const: false
                  code:
                    type: string
                    const: DEMO_ONLY
                  reason:
                    type: string
                    description: Why the wall.
                    enum:
                    - demo_only
                    - visitor_used
                    - ip_cap
                    - unavailable
                  recognised:
                    type:
                    - object
                    - 'null'
                    properties:
                      carrier:
                        type: string
                        description: Line name.
                      carrier_code:
                        type: string
                        description: SCAC.
                      owner_prefix:
                        type: string
                        description: Container prefix.
                      reference:
                        type: string
                        description: Normalised reference.
                  did_you_mean:
                    type: array
                    items:
                      type: string
                      description: Correction.
                  message:
                    type: string
                    description: Explanation.
                  try_instead:
                    type:
                    - object
                    - 'null'
                    description: A sample reference you can look up without an account.
                    properties:
                      carrier:
                        type:
                        - string
                        - 'null'
                        description: Line of the sample.
                      reference:
                        type: string
                        description: The sample reference.
                      type:
                        type: string
                        description: Kind of reference.
                  demo_index:
                    type: string
                    description: Path of the demo index.
                  register_url:
                    type: string
                    description: Signup URL.
        '403':
          description: The caller is not allowed to make this call.
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_version:
                    type: string
                    description: The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.
                  ok:
                    type: boolean
                    const: false
                  gated:
                    type: boolean
                    const: false
                  challenge:
                    type: string
                    const: turnstile
                  sitekey:
                    type: string
                    description: Site key for the challenge widget.
        '404':
          description: No live data found for the reference.
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_version:
                    type: string
                    description: The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.
                  ok:
                    type: boolean
                    const: false
                  message:
                    type: string
                    description: Why nothing was found and what to try.
                  diagnosis:
                    type: object
                    properties:
                      ref_type:
                        type: string
                        description: Reference kind used.
                        enum:
                        - container
                        - bl
                        - booking
                      iso6346:
                        type: string
                        description: Check digit result.
                        enum:
                        - valid
                        - invalid
                        - not_applicable
                      owner:
                        type:
                        - string
                        - 'null'
                        description: Owner of the container prefix, when known.
                      owner_class:
                        type:
                        - string
                        - 'null'
                        enum:
                        - carrier
                        - leasing
                        - soc
                        - unknown
                        - null
                        description: Class of that owner.
                      likely:
                        type: string
                        description: Most likely explanation.
                        enum:
                        - check_digit_typo
                        - incomplete_reference
                        - carrier_no_live_events
                        - leased_needs_bl
                        - soc_needs_bl
                        - house_bl
                        - unidentified_line
                      resolution_state:
                        type: string
                        description: Where the lookup stopped.
                        enum:
                        - resolution_pending
                        - carrier_no_record
                        - temporarily_unavailable
                        - carrier_unidentified
                        - unsupported_reference
                        - invalid_input
                      recommendation:
                        type: string
                        description: What to do next, as one sentence.
                      suggestions:
                        type: array
                        items:
                          type: string
                          description: Corrected container number.
                        description: Only on a check digit typo.
                  suggested_reference:
                    type: string
                    description: A one character correction a line has answered for. Omitted when none.
                  suggested_reference_evidence:
                    type:
                    - object
                    - 'null'
                    description: What the line returned for the suggested reference. Display only.
                    properties:
                      carrier_code:
                        type:
                        - string
                        - 'null'
                        description: The line that answered for the suggestion.
                      vessel:
                        type:
                        - string
                        - 'null'
                        description: Vessel the line names for it.
                      voyage:
                        type:
                        - string
                        - 'null'
                        description: Voyage the line names for it.
                      pol:
                        type:
                        - string
                        - 'null'
                        description: Port of loading the line names for it.
                      pod:
                        type:
                        - string
                        - 'null'
                        description: Port of discharge the line names for it.
                      container_count:
                        type: integer
                        description: How many containers the line lists on it.
                      event_count:
                        type: integer
                        description: How many events the line returned for it.
                      last_event_at:
                        type:
                        - string
                        - 'null'
                        description: Time of the newest event the line returned for it.
                      edit:
                        type: string
                        description: How the suggestion differs from what you typed.
                      confirmed_at:
                        type: string
                        format: date-time
                        description: When the line confirmed the suggestion.
        '429':
          description: Free anonymous allowance spent — create a free account to continue.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    const: false
                  gated:
                    type: boolean
                    const: true
        '500':
          description: Unexpected error on our side.
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_version:
                    type: string
                    description: The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.
                  ok:
                    type: boolean
                    const: false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: Machine readable error code.
                        enum:
                        - INTERNAL_ERROR
                      message:
                        type: string
                        description: Human readable explanation.
                      severity:
                        type: string
                        description: How serious the error is.
                        enum:
                        - info
                        - warning
                        - error
        '503':
          description: A dependency is temporarily unavailable. Retry shortly.
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_version:
                    type: string
                    description: The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.
                  ok:
                    type: boolean
                    const: false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: Machine readable error code.
                      message:
                        type: string
                        description: Human readable explanation.
                  message:
                    type: string
                    description: Same text as error.message.
                  code:
                    type: string
                    const: DEMO_NOT_READY
        '504':
          description: The answer was not ready before the request deadline. Retry shortly.
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_version:
                    type: string
                    description: The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.
                  ok:
                    type: boolean
                    const: false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: Machine readable error code.
                        enum:
                        - STILL_RESOLVING
                      message:
                        type: string
                        description: Human readable explanation.
                      severity:
                        type: string
                        description: How serious the error is.
                        enum:
                        - info
                        - warning
                        - error
                      retryable:
                        type: boolean
                        description: 'Always true: the lookup continues in the background.'
                      retry_after_seconds:
                        type: integer
                        description: Seconds to wait before retrying.
      tags:
      - Track
components:
  schemas:
    PublicTrackResult:
      type: object
      properties:
        identifier:
          type: string
        identifier_type:
          type: string
          enum:
          - container_id
          - bill_of_lading
          - booking_number
        carrier_code:
          type:
          - string
          - 'null'
        carrier_name:
          type:
          - string
          - 'null'
        status:
          type: string
        eta:
          type:
          - string
          - 'null'
          format: date-time
        origin:
          type:
          - string
          - 'null'
        destination:
          type:
          - string
          - 'null'
        vessel:
          type:
          - object
          - 'null'
          properties:
            name:
              type:
              - string
              - 'null'
            lat:
              type:
              - number
              - 'null'
            lng:
              type:
              - number
              - 'null'
        events:
          type: array
          items:
            type: object
            properties:
              description:
                type: string
              location:
                type:
                - string
                - 'null'
              datetime:
                type:
                - string
                - 'null'
                format: date-time
              actual:
                type: boolean
              event_code:
                type:
                - string
                - 'null'
                description: Machine readable event code such as GTIN, LOAD, DEPA, ARRI, DISC, GTOT. Null when the line gave none.
              unlocode:
                type:
                - string
                - 'null'
                description: Canonical UN/LOCODE of the place. Null when unknown.
              transport_mode:
                type: string
                description: How the box moved on this leg, as the line stated it. Omitted when the line did not say.
        observability:
          type:
          - object
          - 'null'
          properties:
            lenses:
              type: object
              properties:
                actuals:
                  type: boolean
                position:
                  type: boolean
                plan:
                  type: boolean
                probability:
                  type: boolean
            active_count:
              type: integer
        eta_is_estimated:
          type:
          - boolean
          - 'null'
          description: True when eta is an estimate, false when it is the actual arrival, null when there is no eta.
        equipment:
          type: object
          properties:
            size_type:
              type:
              - string
              - 'null'
              description: Container size and type as the line wrote it.
            iso_code:
              type:
              - string
              - 'null'
              description: ISO 6346 size and type code.
            seal_number:
              type:
              - string
              - 'null'
              description: Seal number.
            move_type:
              type:
              - string
              - 'null'
              description: Service or move type, for example CY/CY.
            vgm_kg:
              type:
              - number
              - 'null'
              description: Verified gross mass in kilograms.
            gross_weight_kg:
              type:
              - number
              - 'null'
              description: Gross cargo weight in kilograms.
            package_count:
              type:
              - number
              - 'null'
              description: Number of packages.
            package_unit:
              type:
              - string
              - 'null'
              description: Unit of the package count.
            measurement_cbm:
              type:
              - number
              - 'null'
              description: Cargo volume in cubic metres.
            service_requirement:
              type:
              - string
              - 'null'
              description: Special service requirement stated by the line.
          description: Equipment and cargo facts. The whole key is omitted when every field is null.
        not_published_by_carrier:
          type: array
          items:
            type: string
            description: Field name.
            enum:
            - seal_number
            - move_type
            - vgm_kg
            - gross_weight_kg
            - package_count
            - measurement_cbm
            - service_requirement
          description: Equipment fields the line was asked for and did not publish. Omitted when empty or when equipment is omitted.
        demo:
          type: boolean
          description: True on a synthetic sample reference answered before the gate. Omitted otherwise.
        demo_state:
          type: string
          description: Present with demo.
          enum:
          - synthetic
        found:
          type: boolean
          description: Whether the line returned the shipment.
        answer:
          type: string
          description: What the line said.
          enum:
          - found
          - no_record
          - no_answer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: TrackingMCP API key (or a session JWT). Create keys in the dashboard — https://trackingmcp.com/developers.