OneRail Shipping Label API

The Shipping Label API from OneRail — 3 operation(s) for shipping label.

Operations 3

GET /shipping-label/{id} Returns labels for all containers of the delivery #
GET /shipping-label/{id}/{containerId} Returns label for a specific container #
GET /shipping-label/generate/{deliveryId} Returns labels for all containers of the delivery #

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/onerail-shipping-label-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

onerail-shipping-label-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onerail Shipping Label API
  version: 0.0.3
  license:
    name: UNLICENSED
  description: 'Operations tagged Shipping Label across 2 of this provider''s published API definitions: onerail-delivery-api-openapi.yml, onerail-shipping-label-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://onerail-delivery-api-prod.azurewebsites.net
  description: Base URL declared by the provider in apis.yml (roadmap#122).
security:
- ApiKey: []
  AppId: []
tags:
- name: Shipping Label
paths:
  /shipping-label/{id}:
    x-exegesis-controller: DeliveryLabel
    get:
      summary: Returns labels for all containers of the delivery
      operationId: labelInfo
      security:
      - ApiKeyAndAppId: []
      - ApiKey: []
      - OAuth: []
      - AppId: []
      parameters:
      - name: id
        in: path
        description: Either a OneRail Delivery ID or a shipper-supplied Order ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Shipping label URL for each container as well as summary about each container and the whole delivery
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LabelInfo'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Shipping Label
    servers:
    - url: https://onerail-delivery-api-prod.azurewebsites.net
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /shipping-label/{id}/{containerId}:
    x-exegesis-controller: DeliveryLabel
    get:
      summary: Returns label for a specific container
      operationId: containerLabelInfo
      security:
      - ApiKeyAndAppId: []
      - ApiKey: []
      - OAuth: []
      - AppId: []
      parameters:
      - name: id
        in: path
        description: Either a OneRail Delivery ID or a shipper-supplied Order ID
        required: true
        schema:
          type: string
      - name: containerId
        in: path
        description: Either a OneRail container ID or a shipper-supplied Order Container ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Shipping label URL for the requested container as well and summary about this container
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContainerLabelInfo'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Shipping Label
    servers:
    - url: https://onerail-delivery-api-prod.azurewebsites.net
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /shipping-label/generate/{deliveryId}:
    x-exegesis-controller: DeliveryLabel
    get:
      summary: Returns labels for all containers of the delivery
      operationId: getLabelCached
      security:
      - ApiKeyAndAppId: []
      - ApiKey: []
      - OAuth: []
      - AppId: []
      parameters:
      - name: deliveryId
        in: path
        description: OneRail Delivery ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Shipping label URL for each container as well as summary about each container and the whole delivery
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LabelInfo'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Shipping Label
    servers:
    - url: https://onerail-delivery-api-prod.azurewebsites.net
      description: Base URL declared by the provider in apis.yml (roadmap#122).
components:
  schemas:
    Error:
      required:
      - message
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        errors:
          type: object
        errorDetails:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
                description: A human-readable explanation specific to this occurrence of the problem
              pointer:
                type: string
                description: A JSON Pointer [RFC6901] to the associated entity in the request document
            required:
            - detail
    ContainerLabelInfo:
      properties:
        trackingId:
          type: string
        deliveryId:
          type: string
        type:
          type: string
        statusCode:
          type: integer
        statusDescription:
          type: string
        scac:
          type: string
        serviceCode:
          type: string
        label:
          type: string
        containerId:
          type: string
        containerTrackingId:
          type: string
        shipperContainerId:
          type: string
    LabelInfo:
      properties:
        trackingId:
          type: string
        deliveryId:
          type: string
        type:
          type: string
        statusCode:
          type: integer
        statusDescription:
          type: string
        scac:
          type: string
        serviceCode:
          type: string
        containers:
          type: array
          items:
            type: object
            properties:
              label:
                type: string
              containerId:
                type: string
              containerTrackingId:
                type: string
              shipperContainerId:
                type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-ONERAIL-API-KEY
    AppId:
      type: apiKey
      in: header
      name: X-ONERAIL-APP-ID
    ApiKeyAndAppId:
      type: apiKey
      in: header
      name: X-ONERAIL-API-KEY-AND-APP-ID
x-refined-from:
- onerail-delivery-api-openapi.yml
- onerail-shipping-label-api-openapi.yml