Terminal49 Search API

The Search API from Terminal49 — 1 operation(s) for search.

GitHub OpenAPI

Operations 1

GET /search Search shipments, containers, and tracking requests #

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/terminal49:terminal49-search-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

terminal49-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Terminal49 API Reference Search API
  version: 0.2.0
  contact:
    name: Terminal49 API support
    url: https://www.terminal49.com
    email: support@terminal49.com
  description: 'The Terminal 49 API offers a convenient way to programmatically track your shipments from origin to destination.


    Please enter your API key into the "Variables" tab before using these endpoints within Postman.'
  x-label: Beta
  termsOfService: https://www.terminal49.com/terms
  x-synced-from: https://terminal49.com/docs/openapi.json
  x-synced-at: '2026-08-24T18:47:48.161Z'
servers:
- url: https://api.terminal49.com/v2
  description: Production
security:
- authorization: []
tags:
- name: Search
paths:
  /search:
    get:
      summary: Search shipments, containers, and tracking requests
      tags:
      - Search
      operationId: searchAll
      description: Full-text search across shipments, containers (cargos), and tracking requests within your account. Results are ranked by type (shipments first, then containers, then tracking requests) and recency. Returns up to 25 results. Duplicate tracking requests (where a shipment exists with the same BL number) are automatically filtered out.
      parameters:
      - schema:
          type: string
        in: query
        name: query
        required: true
        description: Search term to match against BL numbers, container numbers, reference numbers, and other indexed fields. Supports full-text search and partial (ILIKE) matching.
      responses:
        '200':
          description: Successful search results
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Unique identifier of the matched resource
                        type:
                          type: string
                          description: Resource type
                          enum:
                          - shipment
                          - cargo
                          - tracking_request
                        attributes:
                          type: object
                          properties:
                            entity_type:
                              type: string
                              description: 'Type of the matched entity: `shipment`, `cargo`, or `tracking_request`'
                            number:
                              type: string
                              description: BL number (shipments), container number (cargos), or request number (tracking requests)
                            shipment_id:
                              type:
                              - string
                              - 'null'
                              description: Associated shipment ID (for cargos and tracking requests only)
                            scac:
                              type:
                              - string
                              - 'null'
                              description: Standard Carrier Alpha Code of the shipping line
                            port_of_lading_name:
                              type:
                              - string
                              - 'null'
                              description: Port of lading name (shipments only)
                            port_of_discharge_name:
                              type:
                              - string
                              - 'null'
                              description: Port of discharge name (shipments only)
                            containers_count:
                              type:
                              - integer
                              - 'null'
                              description: Number of containers on the shipment (shipments only)
                            tracking_stopped:
                              type:
                              - boolean
                              - 'null'
                              description: Whether tracking has been stopped (shipments only)
                            tracking_stopped_reason:
                              type:
                              - string
                              - 'null'
                              description: Reason tracking was stopped (shipments only)
                            status:
                              type:
                              - string
                              - 'null'
                              description: Tracking request status (tracking requests only)
                            failed_reason:
                              type:
                              - string
                              - 'null'
                              description: Reason the tracking request failed (tracking requests only)
                            ref_numbers:
                              type: array
                              items:
                                type: string
                              description: Customer reference numbers
                            created_at:
                              type: string
                              format: date-time
                              description: When the resource was created
                            updated_at:
                              type: string
                              format: date-time
                              description: When the resource was last updated
              example:
                data:
                - id: abc12345-6789-40ef-9012-3456789abcde
                  type: shipment
                  attributes:
                    entity_type: shipment
                    number: MEDUA1234567
                    shipment_id: null
                    scac: MSCU
                    port_of_lading_name: Shanghai
                    port_of_discharge_name: Los Angeles
                    containers_count: 3
                    tracking_stopped: false
                    tracking_stopped_reason: null
                    status: null
                    failed_reason: null
                    ref_numbers:
                    - PO-2026-001
                    created_at: '2026-01-15T10:30:00.000Z'
                    updated_at: '2026-03-01T14:22:00.000Z'
                - id: def45678-9012-43ab-9cde-f0123456789a
                  type: cargo
                  attributes:
                    entity_type: cargo
                    number: MSCU1234567
                    shipment_id: abc12345-6789-40ef-9012-3456789abcde
                    scac: MSCU
                    port_of_lading_name: null
                    port_of_discharge_name: null
                    containers_count: null
                    tracking_stopped: null
                    tracking_stopped_reason: null
                    status: null
                    failed_reason: null
                    ref_numbers: []
                    created_at: '2026-01-15T10:30:00.000Z'
                    updated_at: '2026-03-01T14:22:00.000Z'
        '400':
          description: Bad request — missing required `query` parameter
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        detail:
                          type: string
              example:
                errors:
                - detail: Query parameter is required
        '401':
          description: Unauthorized — missing or invalid API token
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      $ref: '#/components/schemas/error'
              examples:
                unauthorized:
                  summary: Missing or invalid API token
                  value:
                    errors:
                    - status: '401'
                      title: Unauthorized
                      detail: Invalid or missing API token.
components:
  schemas:
    error:
      title: Error model
      type: object
      properties:
        detail:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        source:
          type:
          - object
          - 'null'
          properties:
            pointer:
              type:
              - string
              - 'null'
            parameter:
              type:
              - string
              - 'null'
        code:
          type:
          - string
          - 'null'
        status:
          type:
          - string
          - 'null'
        meta:
          type:
          - object
          - 'null'
          additionalProperties: true
      required:
      - title
  securitySchemes:
    authorization:
      name: Authorization
      type: apiKey
      in: header
      description: 'Use a Terminal49 API key in the `Authorization` header with the `Token` prefix.


        `Authorization: Token YOUR_API_KEY`'
x-tagGroups:
- name: End Points
  tags:
  - Shipments
  - Containers
  - Custom Field Definitions
  - Custom Field Options
  - Custom Fields
  - Tracking Requests
  - Webhooks
  - Webhook Notifications
  - Metro Areas
  - Documents
  - Email Submissions
  - Document Schemas
  - Search
- name: Routing (Paid)
  tags:
  - Routing (Paid)