> ## 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/companies

> Company profile of a party that appears on US customs import records: identity and address, how its shipments split across partner countries and customs data sources, its top traded products and HS chapters, its most recent customs records, and one sample bill of lading.

**Price:** 5 credits

**⚠️ Common errors:** 412: Panjiva serves no public profile page for this id, which also happens for a minority of the shipper ids its own shipment records link to.



## OpenAPI

````yaml /openapi/company-startup-intel.json post /api/panjiva/companies
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/companies:
    post:
      tags:
        - /panjiva
      summary: /panjiva/companies
      description: >-
        Company profile of a party that appears on US customs import records:
        identity and address, how its shipments split across partner countries
        and customs data sources, its top traded products and HS chapters, its
        most recent customs records, and one sample bill of lading.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Panjiva serves no public profile page for
        this id, which also happens for a minority of the shipper ids its own
        shipment records link to.
      operationId: __api_panjiva_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PanjivaCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PanjivaCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PanjivaCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        company:
          type: string
          minLength: 1
      type: object
      required:
        - company
    PanjivaCompany:
      properties:
        '@type':
          type: string
          default: PanjivaCompany
        id:
          type: string
        url:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        role:
          anyOf:
            - $ref: '#/components/schemas/PanjivaCompanyRole'
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
        customs_record_count:
          anyOf:
            - type: integer
            - type: 'null'
        trading_partner_count:
          anyOf:
            - type: integer
            - type: 'null'
        country_shipments:
          items:
            $ref: '#/components/schemas/PanjivaCompanyCountry'
          type: array
          default: []
        data_source_shipments:
          items:
            $ref: '#/components/schemas/PanjivaCompanyDataSource'
          type: array
          default: []
        top_products:
          items:
            type: string
          type: array
          default: []
        top_hs_codes:
          items:
            $ref: '#/components/schemas/PanjivaHsCode'
          type: array
          default: []
        customs_records:
          items:
            $ref: '#/components/schemas/PanjivaCustomsRecord'
          type: array
          default: []
        sample_bill_of_lading_fields:
          items:
            $ref: '#/components/schemas/PanjivaBillOfLadingField'
          type: array
          default: []
        similar_companies:
          items:
            $ref: '#/components/schemas/PanjivaCompanyRef'
          type: array
          default: []
        research_articles:
          items:
            $ref: '#/components/schemas/PanjivaResearchArticle'
          type: array
          default: []
      type: object
      required:
        - id
        - url
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PanjivaCompanyRole:
      type: string
      enum:
        - supplier
        - buyer
    PanjivaCompanyCountry:
      properties:
        '@type':
          type: string
          default: PanjivaCompanyCountry
        country_code:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - country_code
    PanjivaCompanyDataSource:
      properties:
        '@type':
          type: string
          default: PanjivaCompanyDataSource
        data_source:
          type: string
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - data_source
    PanjivaHsCode:
      properties:
        '@type':
          type: string
          default: PanjivaHsCode
        code:
          type: string
      type: object
      required:
        - code
    PanjivaCustomsRecord:
      properties:
        '@type':
          type: string
          default: PanjivaCustomsRecord
        data_source:
          anyOf:
            - type: string
            - type: 'null'
        shipment_date:
          anyOf:
            - type: string
            - type: 'null'
        shipper:
          anyOf:
            - type: string
            - type: 'null'
        consignee:
          anyOf:
            - type: string
            - type: 'null'
        weight_kg:
          anyOf:
            - type: number
            - type: 'null'
        container_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    PanjivaBillOfLadingField:
      properties:
        '@type':
          type: string
          default: PanjivaBillOfLadingField
        name:
          type: string
        value:
          anyOf:
            - type: string
            - type: 'null'
        is_masked:
          type: boolean
          default: false
      type: object
      required:
        - name
    PanjivaCompanyRef:
      properties:
        '@type':
          type: string
          default: PanjivaCompanyRef
        id:
          type: string
        url:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - url
    PanjivaResearchArticle:
      properties:
        '@type':
          type: string
          default: PanjivaResearchArticle
        url:
          type: string
        article_title:
          anyOf:
            - type: string
            - type: 'null'
        author:
          anyOf:
            - type: string
            - type: 'null'
        published_date:
          anyOf:
            - type: string
            - type: 'null'
        excerpt:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - url
    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

````