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

# /importyeti/companies/shipments

> List the most recent US ocean import bills of lading filed against one business, newest first. Each row carries the bill of lading number with its master and house numbers, arrival date, bill type, goods description, gross weight, piece count and unit, container count, the shipping route, an estimated shipping cost and, where the record is a CIF entry, the declared value. The counterparty on the other side of each shipment comes with its own ImportYeti id, name, address and country.

**Price:** 20 credits

**⚠️ Common errors:** 412: No ImportYeti profile under that id, on either the company or the supplier side



## OpenAPI

````yaml /openapi/company-startup-intel.json post /api/importyeti/companies/shipments
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/importyeti/companies/shipments:
    post:
      tags:
        - /importyeti
      summary: /importyeti/companies/shipments
      description: >-
        List the most recent US ocean import bills of lading filed against one
        business, newest first. Each row carries the bill of lading number with
        its master and house numbers, arrival date, bill type, goods
        description, gross weight, piece count and unit, container count, the
        shipping route, an estimated shipping cost and, where the record is a
        CIF entry, the declared value. The counterparty on the other side of
        each shipment comes with its own ImportYeti id, name, address and
        country.


        **Price:** 20 credits


        **⚠️ Common errors:** 412: No ImportYeti profile under that id, on
        either the company or the supplier side
      operationId: __api_importyeti_companies_shipments_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportyetiShipmentsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ImportyetiShipment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ImportyetiShipmentsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        company:
          type: string
          minLength: 1
        count:
          type: integer
          maximum: 100
          minimum: 1
      type: object
      required:
        - company
        - count
    ImportyetiShipment:
      properties:
        '@type':
          type: string
          default: ImportyetiShipment
        bol:
          type: string
        date:
          anyOf:
            - type: string
            - type: 'null'
        bill_code:
          anyOf:
            - type: string
            - type: 'null'
        bill_type:
          anyOf:
            - type: string
            - type: 'null'
        master_bol:
          anyOf:
            - type: string
            - type: 'null'
        house_bol:
          anyOf:
            - type: string
            - type: 'null'
        weight:
          anyOf:
            - type: integer
            - type: 'null'
        quantity:
          anyOf:
            - type: string
            - type: 'null'
        quantity_unit:
          anyOf:
            - type: string
            - type: 'null'
        containers_count:
          anyOf:
            - type: integer
            - type: 'null'
        shipping_route:
          anyOf:
            - type: string
            - type: 'null'
        shipping_cost:
          anyOf:
            - type: number
            - type: 'null'
        declared_value:
          anyOf:
            - type: number
            - type: 'null'
        is_partial_record:
          anyOf:
            - type: boolean
            - type: 'null'
        counterparty:
          anyOf:
            - $ref: '#/components/schemas/ImportyetiCounterparty'
            - type: 'null'
      type: object
      required:
        - bol
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ImportyetiCounterparty:
      properties:
        '@type':
          type: string
          default: ImportyetiCounterparty
        id:
          anyOf:
            - type: string
            - type: 'null'
        role:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        location_url:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        country_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````