> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shippeek.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stream LTL rates (SSE)

> Stream LTL rates via Server-Sent Events. Rates arrive as they are returned from each carrier, rather than waiting for all carriers to respond. The request body is the same as `POST /rates`.



## OpenAPI

````yaml openapi.json post /rates/ltl/stream
openapi: 3.0.0
info:
  title: ShipPeek API
  version: 1.0.0
  description: Multi-carrier shipping rate aggregation, booking, and tracking API.
  contact:
    name: ShipPeek API Support
    email: yash@shippeek.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://shippeek.com/terms
servers:
  - url: https://api.shippeek.dev
    description: Sandbox
  - url: https://api.shippeek.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Rates
    description: Get shipping rates from multiple carriers
  - name: Booking
    description: Book shipments and manage pickups
  - name: Tracking
    description: Track shipments by PRO or tracking number
  - name: Shipments
    description: Retrieve and search shipment data
paths:
  /rates/ltl/stream:
    post:
      tags:
        - Rates
      summary: Stream LTL rates (SSE)
      description: >-
        Stream LTL rates via Server-Sent Events. Rates arrive as they are
        returned from each carrier, rather than waiting for all carriers to
        respond. The request body is the same as `POST /rates`.
      operationId: streamLtlRates
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - originPostalCode
                - destPostalCode
                - items
              properties:
                originPostalCode:
                  type: string
                destPostalCode:
                  type: string
                items:
                  type: array
                  items:
                    $ref: '#/components/schemas/RateItem'
      responses:
        '200':
          description: SSE stream of rate events
          content:
            text/event-stream:
              schema:
                type: string
                description: Each event is a JSON-encoded rate object
components:
  schemas:
    RateItem:
      type: object
      required:
        - weight
        - freightClass
      properties:
        weight:
          type: number
          description: Weight in pounds
        freightClass:
          type: number
          description: NMFC freight class (50-500)
          enum:
            - 50
            - 55
            - 60
            - 65
            - 70
            - 77.5
            - 85
            - 92.5
            - 100
            - 110
            - 125
            - 150
            - 175
            - 200
            - 250
            - 300
            - 400
            - 500
        length:
          type: number
          description: Length in inches
        width:
          type: number
          description: Width in inches
        height:
          type: number
          description: Height in inches
        quantity:
          type: integer
          description: Number of handling units
          default: 1
        description:
          type: string
          description: Item description
        package:
          type: string
          description: Packaging type
        hazardous:
          type: boolean
          description: Whether this item is hazardous
          default: false
        nmfc:
          type: string
          description: NMFC code
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your ShipPeek API token in the format `client_id.client_secret`.

````