Union Pacific Shipment API

Track and manage rail shipments with location and ETA data

Operations 2

GET /shipment List Shipments #
GET /shipment/{shipmentId} Get Shipment #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-shipment-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-case-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-equipment-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-location-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-waybill-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-intermodal-reservation-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-intermodal-lane-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-intermodal-departure-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-account-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-action-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-order-equipment-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-release-shipment-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-schema/union-pacific-cancel-request-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-structure/union-pacific-shipment-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-structure/union-pacific-case-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-structure/union-pacific-equipment-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-structure/union-pacific-location-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-structure/union-pacific-intermodal-reservation-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/union-pacific/refs/heads/main/json-structure/union-pacific-waybill-structure.json

Other Resources

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/union-pacific-shipment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

union-pacific-shipment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Union Pacific Account Shipment API
  version: '1.0'
  description: The Union Pacific API provides developers and businesses with programmatic access to real-time railroad supply chain data and operational actions. The API enables shipment tracking, equipment management, order placement, case management, and intermodal planning. APIs are structured as data objects (building blocks) that can be used standalone or combined to create more robust supply chain workflows. Authentication uses OAuth 2.0 token-based flow with Client Credentials.
  contact:
    name: Union Pacific API Support
    email: apisupport@up.com
  x-generated-from: documentation
  x-last-validated: '2026-05-03'
servers:
- url: https://api.up.com
  description: Union Pacific API
security:
- oauth2: []
tags:
- name: Shipment
  description: Track and manage rail shipments with location and ETA data
paths:
  /shipment:
    get:
      operationId: listShipments
      summary: List Shipments
      description: Search active shipments to view ETA and current location information. Returns shipments matching the provided filters.
      tags:
      - Shipment
      parameters:
      - name: shipmentId
        in: query
        required: false
        description: Filter by shipment identifier
        schema:
          type: string
      - name: equipmentNumber
        in: query
        required: false
        description: Filter by equipment (rail car) number
        schema:
          type: string
      - name: origin
        in: query
        required: false
        description: Origin location code
        schema:
          type: string
      - name: destination
        in: query
        required: false
        description: Destination location code
        schema:
          type: string
      - name: accountId
        in: query
        required: false
        description: Account identifier to filter shipments
        schema:
          type: string
      responses:
        '200':
          description: List of matching shipments
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Shipment'
        '401':
          description: Unauthorized — invalid or expired OAuth token
        '403':
          description: Forbidden — insufficient permissions
  /shipment/{shipmentId}:
    get:
      operationId: getShipment
      summary: Get Shipment
      description: Retrieve details for a specific shipment including current location and ETA.
      tags:
      - Shipment
      parameters:
      - name: shipmentId
        in: path
        required: true
        description: Unique shipment identifier
        schema:
          type: string
      responses:
        '200':
          description: Shipment details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
        '401':
          description: Unauthorized
        '404':
          description: Shipment not found
components:
  schemas:
    Location:
      type: object
      description: A Union Pacific network facility or location
      properties:
        locationCode:
          type: string
          description: Location identifier code
        name:
          type: string
          description: Location name
        type:
          type: string
          description: Location type (TERMINAL, YARD, INTERMODAL, STATION)
        city:
          type: string
          description: City
        state:
          type: string
          description: US state code
        latitude:
          type: number
          format: double
          description: Geographic latitude
        longitude:
          type: number
          format: double
          description: Geographic longitude
    Shipment:
      type: object
      description: A rail shipment with tracking and ETA information
      properties:
        shipmentId:
          type: string
          description: Unique shipment identifier
        status:
          type: string
          description: Current shipment status
          enum:
          - IN_TRANSIT
          - DELIVERED
          - DELAYED
          - HELD
          - CANCELLED
        origin:
          type: string
          description: Origin location code
        destination:
          type: string
          description: Destination location code
        currentLocation:
          $ref: '#/components/schemas/Location'
        estimatedArrival:
          type: string
          format: date-time
          description: Estimated time of arrival at destination
        estimatedGate:
          type: string
          format: date-time
          description: Estimated gate time at destination
        equipment:
          type: array
          items:
            $ref: '#/components/schemas/Equipment'
          description: Equipment associated with this shipment
        accountId:
          type: string
          description: Account identifier
        waybillNumber:
          type: string
          description: Associated waybill number
        commodity:
          type: string
          description: Type of commodity being shipped
    Equipment:
      type: object
      description: Rail equipment (car) with specifications and tracking status
      properties:
        equipmentNumber:
          type: string
          description: Equipment identifier (rail car number)
        type:
          type: string
          description: Equipment type (e.g., BOXCAR, FLATCAR, TANK_CAR, INTERMODAL)
        status:
          type: string
          description: Current equipment status
        currentLocation:
          type: string
          description: Current location code
        specifications:
          type: object
          description: Equipment specifications (length, capacity, etc.)
          properties:
            length:
              type: number
              description: Length in feet
            capacity:
              type: number
              description: Capacity in tons