Parade Search API

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

OpenAPI Specification

parade-search-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Parade Transactions Available Trucks Search API
  description: Parade's APIs available for digital transactions
  contact:
    email: eng@parade.ai
    name: Parade Eng Team
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.1.0
servers:
- url: https://api.capacity.stage.parade.ai
security:
- tokenAuth: []
tags:
- name: Search
paths:
  /syndication/loads:
    get:
      operationId: search_loads
      tags:
      - Search
      summary: Search for loads here
      description: 'Search for available loads here. We currently do not support filtering based on city or radius, only state.


        Users are recommended to query and paginate to receive all available loads. Use page and limit query string parameters and the returned x-total-count header to paginate.


        Any load that is no longer returned by this API should be considered unavailable and removed from third party loadboards.

        '
      parameters:
      - name: src_date
        in: query
        description: pickup date of load
        required: false
        style: form
        example: '2020-01-01'
        explode: true
        schema:
          type: string
      - name: src_date__gte
        in: query
        description: earliest pickup date of load
        required: false
        style: form
        example: '2020-01-01'
        explode: true
        schema:
          type: string
      - name: src_date__lte
        in: query
        description: latest pickup date of load
        required: false
        style: form
        example: '2020-01-01'
        explode: true
        schema:
          type: string
      - name: dst_date
        in: query
        description: dropoff date of load
        required: false
        style: form
        example: '2020-01-01'
        explode: true
        schema:
          type: string
      - name: dst_date__gte
        in: query
        description: earliest dropoff date of load
        required: false
        style: form
        example: '2020-01-01'
        explode: true
        schema:
          type: string
      - name: dst_date__lte
        in: query
        description: latest dropoff date of load
        required: false
        style: form
        example: '2020-01-01'
        explode: true
        schema:
          type: string
      - name: company_external_key
        in: query
        description: filters on company specific
        required: false
        style: form
        explode: true
        example: reed
        schema:
          type: string
      - name: equipment
        in: query
        description: 'Equipment of load. Valid filter values are "Van", "Flatbed", or "Reefer".


          Filter for multiple equipment types with comma separated values.

          '
        required: false
        style: form
        explode: true
        example: Van,reefer
        schema:
          type: string
      - name: src_state
        in: query
        description: pickup state of load
        required: false
        style: form
        explode: true
        example: TX
        schema:
          type: string
      - name: dst_state
        in: query
        description: destination state of load
        required: false
        style: form
        explode: true
        example: CA
        schema:
          type: string
      - name: page
        in: query
        description: 'Pagination: Page number to retrieve. Defaults to 1.

          '
        required: false
        example: 1
        schema:
          type: integer
      - name: limit
        in: query
        description: 'Pagination: Number of loads to retrieve per page. Defaults to 2000.

          '
        required: false
        example: 100
        schema:
          type: integer
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Load'
          headers:
            x-total-count:
              description: 'Total number of records that the current filters would return. Useful for pagination purposes.

                '
              schema:
                type: integer
              example: 556
        '400':
          description: 'Invalid parameters

            '
        '401':
          description: 'Invalid authentication

            '
        '500':
          description: 'Service error, please notify eng@parade.ai

            '
        '504':
          description: 'Service unavailable, please retry later

            '
components:
  schemas:
    Load:
      required:
      - booking_link
      - company_external_key
      - reference_id
      - stops
      - visibility
      type: object
      properties:
        reference_id:
          type: string
          example: A12123
          description: 'This is the ID used for communication on the load between the carrier and broker.


            This is unique per broker, but not unique across all brokers.

            '
        created_at:
          type: string
          example: 2020-01-01T00:00
        updated_at:
          type: string
          example: 2020-01-01T00:00
        external_posting_id:
          type: string
          example: A100B4
          description: Unique internal ID for this load posting. Do not display this to carriers.
        visibility:
          deprecated: true
          type: string
          example: ALL
          description: Deprecated field, please ignore.
          enum:
          - ALL
        company_external_key:
          type: string
          example: reed
          description: This is a unique identifier for every broker
        company_name:
          type: string
          example: ReedTMS
          description: Name of the broker
        company_dot_number:
          type: string
          example: '123123123'
          description: DOT number of the broker
        company_mc_number:
          type: string
          example: '123123'
          description: MC number of the broker
        booking_link:
          type: string
          example: https://load.app/reed/1232132
          description: Link that brings the carrier to the Parade booking page.
        stops:
          type: array
          items:
            $ref: '#/components/schemas/Stop'
        bookable:
          type: boolean
          description: 'If this field is true and there is an offer_rate, the load is Book Now enabled.

            '
        offer_rate:
          type: number
          format: decimal
          example: 2000
          description: 'If this field exists and bookable is true, you can consider the load to be Book Now enabled.

            '
        offer_external_key:
          type: string
          example: '123123213'
          description: A hash of the offer_rate + other variables
        equipment:
          type: string
          example: 53ft Van
          description: Human readable equipment string. Prefer displaying this over parsing `equipment_metadata`.
        equipment_metadata:
          $ref: '#/components/schemas/EquipmentMetadata'
          example: '{"TRAILER_TYPE: {"VAN": true}, {"EXTRAS": {"LENGTH": 53}}}'
          description: 'Normalized equipment dictionary containing all trailer types and extras from the `equipment` string.


            While a best effort is made to properly translate it, it''s best practice to show the `equipment` string to users to avoid miscommunication.


            For all possible keys, please refer to https://www.notion.so/parade/Equipment-Metadata-EXTERNAL-f801210627c5487f8940cf02b3a25afd?pvs=4

            '
        owner_email:
          deprecated: true
          type: string
          description: 'Deprecated, please use contact_email. The broker''s email contact for this load specifically.

            '
          example: bob@broker.com
        owner_phone:
          deprecated: true
          type: string
          description: 'Deprecated, please use contact_phone. The broker''''s phone contact for this load specifically.

            '
          example: '+133321234'
        weight:
          type: number
          description: Weight of the load in pounds
          example: 4000
        commodity:
          type: string
          example: Logs
        route_metadata:
          deprecated: true
          type: object
          description: Deprecated, please ignore
        contact_email:
          type: string
          description: 'The broker''s email contact for this load specifically

            '
          example: bob@broker.com
        contact_phone:
          type: string
          description: 'The broker''s phone contact for this load specifically

            '
          example: '+133321234'
        distance:
          type: number
          example: 612.52
          description: Distance of the route in miles
        display_metadata:
          description: "Key/value dictionary with additional load information. \n\nPlease display these on every load, typically mapped to your comments or additional information field.\n"
          type: object
          example:
            TARPS: required
            Additional comments: Don't be late!
        allowed_actions:
          type: array
          description: "This field should only used be used if you are using the individual load lookup by DOT number, which will tell you what that specific carrier DOT is able to do on this load. \n\nWhen fetching the list of loads, this will only show Quote by default, and you should use the `bookable` flag and `offer_rate` to determine Book Now eligibility.\n"
          items:
            type: string
            enum:
            - quote
            - book
          example:
          - quote
          - book
    EquipmentMetadata:
      type: object
      description: 'For all possible equipment metadata keys, please refer to https://www.notion.so/parade/Equipment-Metadata-EXTERNAL-f801210627c5487f8940cf02b3a25afd?pvs=4

        '
      properties:
        TRAILER_TYPE:
          type: object
          example:
            TRAILER_TYPE:
              VAN: true
          description: Key value pairings indicating all valid equipment trailer types
        EXTRAS:
          type: object
          example:
            EXTRAS:
              LENGTH: 53
              TEAM: true
          description: Key value pairings indicating all other extras and accessorials
    Stop:
      type: object
      required:
      - city
      - state
      - stop_type
      properties:
        city:
          type: string
          example: Los Angeles
        state:
          type: string
          example: CA
        stop_type:
          type: string
          example: P
          description: P is a pick, D is a drop
          enum:
          - P
          - D
        stop_num:
          type: number
          example: 1
        postal_code:
          type: string
          example: '94158'
        date:
          type: string
          description: The date for pickup/delivery activity
          format: datetime
          example: '2020-01-01'
        appt_time:
          type: string
          description: Appointment time
          format: time
          example: 07:00:00
        appt_inst:
          type: string
          description: Appointment instructions
          example: Text when ready
        early_time:
          type: string
          description: Earliest pickup time
          format: time
          example: 07:00:00
        late_time:
          type: string
          description: Latest pickup time
          format: time
          example: 08:00:00
        strt_address_1:
          type: string
          description: Street Address (First line). Most brokers suppress this data.
          example: 1010 sesame street
        strt_address_2:
          type: string
          description: Street Address (Second line). Most brokers suppress this data.
          example: ASK BROKER
  securitySchemes:
    tokenAuth:
      type: apiKey
      name: Authorization
      in: header
      description: Contact us to get an authorization token