> ## 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.

# /panjiva/shipments/search

> Search US customs import bill-of-lading records by free text, optionally narrowed to shippers or US buyers within a radius of a point. Each record carries the arrival date, which fields matched the query, the shipper Panjiva names for it together with whatever contact details it publishes, quantity, weight in kilograms, and the goods description and marks of each container.

**Price:** 10 credits per 20 results



## OpenAPI

````yaml /openapi/company-startup-intel.json post /api/panjiva/shipments/search
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/panjiva/shipments/search:
    post:
      tags:
        - /panjiva
      summary: /panjiva/shipments/search
      description: >-
        Search US customs import bill-of-lading records by free text, optionally
        narrowed to shippers or US buyers within a radius of a point. Each
        record carries the arrival date, which fields matched the query, the
        shipper Panjiva names for it together with whatever contact details it
        publishes, quantity, weight in kilograms, and the goods description and
        marks of each container.


        **Price:** 10 credits per 20 results
      operationId: __api_panjiva_shipments_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PanjivaShipmentsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PanjivaShipment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PanjivaShipmentsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        shipper_latitude:
          anyOf:
            - type: number
              maximum: 90
              minimum: -90
            - type: 'null'
        shipper_longitude:
          anyOf:
            - type: number
              maximum: 180
              minimum: -180
            - type: 'null'
        shipper_radius_km:
          anyOf:
            - type: integer
              maximum: 5000
              minimum: 1
            - type: 'null'
        consignee_latitude:
          anyOf:
            - type: number
              maximum: 90
              minimum: -90
            - type: 'null'
        consignee_longitude:
          anyOf:
            - type: number
              maximum: 180
              minimum: -180
            - type: 'null'
        consignee_radius_km:
          anyOf:
            - type: integer
              maximum: 5000
              minimum: 1
            - type: 'null'
        query:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        count:
          type: integer
          maximum: 20
          minimum: 1
      type: object
      required:
        - count
    PanjivaShipment:
      properties:
        '@type':
          type: string
          default: PanjivaShipment
        id:
          type: string
        arrival_date:
          anyOf:
            - type: string
            - type: 'null'
        is_masked:
          type: boolean
          default: false
        matches:
          items:
            $ref: '#/components/schemas/PanjivaShipmentMatch'
          type: array
          default: []
        shipper:
          anyOf:
            - $ref: '#/components/schemas/PanjivaShipmentParty'
            - type: 'null'
        quantity:
          anyOf:
            - type: number
            - type: 'null'
        quantity_unit:
          anyOf:
            - type: string
            - type: 'null'
        weight_kg:
          anyOf:
            - type: number
            - type: 'null'
        container_count:
          anyOf:
            - type: integer
            - type: 'null'
        containers:
          items:
            $ref: '#/components/schemas/PanjivaShipmentContainer'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PanjivaShipmentMatch:
      properties:
        '@type':
          type: string
          default: PanjivaShipmentMatch
        field:
          type: string
        value:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - field
    PanjivaShipmentParty:
      properties:
        '@type':
          type: string
          default: PanjivaShipmentParty
        company_id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
        trade_roles:
          items:
            type: string
          type: array
          default: []
      type: object
    PanjivaShipmentContainer:
      properties:
        '@type':
          type: string
          default: PanjivaShipmentContainer
        goods_shipped:
          anyOf:
            - type: string
            - type: 'null'
        marks:
          anyOf:
            - type: string
            - type: 'null'
        is_masked:
          type: boolean
          default: false
      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

````