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

# /importgenius/companies

> Get one business profile built from customs bill-of-lading filings: name, filed address, total shipments and the split between shipments received and sent, the ports it loads and unloads at, a year-by-year shipment history, one full sample bill of lading with its commodity codes, declared values, transport, customs and container detail, and the businesses that trade the same lanes with their own top partners, ports and countries.

**Price:** 5 credits

**⚠️ Common errors:** 412: No ImportGenius profile under that id



## OpenAPI

````yaml /openapi/company-startup-intel.json post /api/importgenius/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/importgenius/companies:
    post:
      tags:
        - /importgenius
      summary: /importgenius/companies
      description: >-
        Get one business profile built from customs bill-of-lading filings:
        name, filed address, total shipments and the split between shipments
        received and sent, the ports it loads and unloads at, a year-by-year
        shipment history, one full sample bill of lading with its commodity
        codes, declared values, transport, customs and container detail, and the
        businesses that trade the same lanes with their own top partners, ports
        and countries.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: No ImportGenius profile under that id
      operationId: __api_importgenius_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportgeniusCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ImportgeniusCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ImportgeniusCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        company:
          type: string
          minLength: 1
      type: object
      required:
        - company
    ImportgeniusCompany:
      properties:
        '@type':
          type: string
          default: ImportgeniusCompany
        id:
          type: string
        alias:
          type: string
        url:
          type: string
        country:
          type: string
        role:
          type: string
        name:
          type: string
        address:
          anyOf:
            - type: string
            - type: 'null'
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
        inbound_shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
        outbound_shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
        origin_ports:
          items:
            $ref: '#/components/schemas/ImportgeniusPort'
          type: array
          default: []
        destination_ports:
          items:
            $ref: '#/components/schemas/ImportgeniusPort'
          type: array
          default: []
        yearly_shipments:
          items:
            $ref: '#/components/schemas/ImportgeniusYearlyShipments'
          type: array
          default: []
        sample_shipment:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusSampleShipment'
            - type: 'null'
        related_companies:
          items:
            $ref: '#/components/schemas/ImportgeniusRelatedCompany'
          type: array
          default: []
      type: object
      required:
        - id
        - alias
        - url
        - country
        - role
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ImportgeniusPort:
      properties:
        '@type':
          type: string
          default: ImportgeniusPort
        name:
          type: string
        name_english:
          anyOf:
            - type: string
            - type: 'null'
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    ImportgeniusYearlyShipments:
      properties:
        '@type':
          type: string
          default: ImportgeniusYearlyShipments
        start_date:
          type: string
        end_date:
          anyOf:
            - type: string
            - type: 'null'
        trader_role:
          anyOf:
            - type: string
            - type: 'null'
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - start_date
    ImportgeniusSampleShipment:
      properties:
        '@type':
          type: string
          default: ImportgeniusSampleShipment
        shipment_id:
          anyOf:
            - type: string
            - type: 'null'
        bol:
          anyOf:
            - type: string
            - type: 'null'
        master_bol:
          anyOf:
            - type: string
            - type: 'null'
        arrival_date:
          anyOf:
            - type: string
            - type: 'null'
        added_date:
          anyOf:
            - type: string
            - type: 'null'
        consignee:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusShipmentConsignee'
            - type: 'null'
        shipper:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusShipmentShipper'
            - type: 'null'
        origin_country:
          anyOf:
            - type: string
            - type: 'null'
        origin_country_english:
          anyOf:
            - type: string
            - type: 'null'
        departure_country:
          anyOf:
            - type: string
            - type: 'null'
        product_description:
          anyOf:
            - type: string
            - type: 'null'
        extra_descriptions:
          items:
            type: string
          type: array
          default: []
        hs_code:
          anyOf:
            - type: string
            - type: 'null'
        hs_code_description:
          anyOf:
            - type: string
            - type: 'null'
        chapter_code:
          anyOf:
            - type: string
            - type: 'null'
        chapter_description:
          anyOf:
            - type: string
            - type: 'null'
        cn_code:
          anyOf:
            - type: string
            - type: 'null'
        cn_description:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - type: string
            - type: 'null'
        brand_id:
          anyOf:
            - type: string
            - type: 'null'
        brand_fob:
          anyOf:
            - type: number
            - type: 'null'
        brand_quantity:
          anyOf:
            - type: number
            - type: 'null'
        variety:
          anyOf:
            - type: string
            - type: 'null'
        item:
          anyOf:
            - type: string
            - type: 'null'
        attributes:
          anyOf:
            - type: string
            - type: 'null'
        product_id:
          anyOf:
            - type: string
            - type: 'null'
        product_status:
          anyOf:
            - type: string
            - type: 'null'
        merchandise_state:
          anyOf:
            - type: string
            - type: 'null'
        quantity:
          anyOf:
            - type: number
            - type: 'null'
        quantity_unit:
          anyOf:
            - type: string
            - type: 'null'
        physical_quantity:
          anyOf:
            - type: number
            - type: 'null'
        physical_unit:
          anyOf:
            - type: string
            - type: 'null'
        previous_year_quantity:
          anyOf:
            - type: number
            - type: 'null'
        previous_year_unit:
          anyOf:
            - type: string
            - type: 'null'
        gross_weight:
          anyOf:
            - type: number
            - type: 'null'
        gross_weight_kg:
          anyOf:
            - type: number
            - type: 'null'
        gross_weight_lb:
          anyOf:
            - type: number
            - type: 'null'
        total_gross_weight:
          anyOf:
            - type: number
            - type: 'null'
        net_weight:
          anyOf:
            - type: number
            - type: 'null'
        net_weight_kg:
          anyOf:
            - type: number
            - type: 'null'
        net_weight_lb:
          anyOf:
            - type: number
            - type: 'null'
        total_net_weight:
          anyOf:
            - type: number
            - type: 'null'
        measurement:
          anyOf:
            - type: number
            - type: 'null'
        measurement_unit:
          anyOf:
            - type: string
            - type: 'null'
        package_count:
          anyOf:
            - type: integer
            - type: 'null'
        package_type:
          anyOf:
            - type: string
            - type: 'null'
        transport:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusShipmentTransport'
            - type: 'null'
        value:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusShipmentValue'
            - type: 'null'
        customs:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusShipmentCustoms'
            - type: 'null'
        containers:
          items:
            $ref: '#/components/schemas/ImportgeniusShipmentContainer'
          type: array
          default: []
      type: object
    ImportgeniusRelatedCompany:
      properties:
        '@type':
          type: string
          default: ImportgeniusRelatedCompany
        name:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        country_english:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
        top_partners:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusPartnerBreakdown'
            - type: 'null'
        top_ports:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusPlaceBreakdown'
            - type: 'null'
        top_countries:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusPlaceBreakdown'
            - type: 'null'
      type: object
      required:
        - name
    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
    ImportgeniusShipmentConsignee:
      properties:
        '@type':
          type: string
          default: ImportgeniusShipmentConsignee
        name:
          anyOf:
            - type: string
            - type: 'null'
        id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        filer_id:
          anyOf:
            - type: string
            - type: 'null'
        normalized_name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        address_lines:
          items:
            type: string
          type: array
          default: []
        address_parts:
          anyOf:
            - $ref: '#/components/schemas/ImportgeniusAddressParts'
            - type: 'null'
        street:
          anyOf:
            - type: string
            - type: 'null'
        street_number:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        zip_code:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        destination:
          anyOf:
            - type: string
            - type: 'null'
        contact:
          anyOf:
            - type: string
            - type: 'null'
        contacts:
          items:
            type: string
          type: array
          default: []
        phone:
          anyOf:
            - type: string
            - type: 'null'
        fax:
          anyOf:
            - type: string
            - type: 'null'
        emails:
          items:
            type: string
          type: array
          default: []
      type: object
    ImportgeniusShipmentShipper:
      properties:
        '@type':
          type: string
          default: ImportgeniusShipmentShipper
        name:
          anyOf:
            - type: string
            - type: 'null'
        id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        filer_id:
          anyOf:
            - type: string
            - type: 'null'
        normalized_name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        address_lines:
          items:
            type: string
          type: array
          default: []
        city:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        contact:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ImportgeniusShipmentTransport:
      properties:
        '@type':
          type: string
          default: ImportgeniusShipmentTransport
        transportation_type:
          anyOf:
            - type: string
            - type: 'null'
        transport_type:
          anyOf:
            - type: string
            - type: 'null'
        company:
          anyOf:
            - type: string
            - type: 'null'
        agency:
          anyOf:
            - type: string
            - type: 'null'
        vessel:
          anyOf:
            - type: string
            - type: 'null'
        vessel_name:
          anyOf:
            - type: string
            - type: 'null'
        vessel_country:
          anyOf:
            - type: string
            - type: 'null'
        voyage_number:
          anyOf:
            - type: string
            - type: 'null'
        carrier_code:
          anyOf:
            - type: string
            - type: 'null'
        carrier_name:
          anyOf:
            - type: string
            - type: 'null'
        carrier_address:
          anyOf:
            - type: string
            - type: 'null'
        carrier_city:
          anyOf:
            - type: string
            - type: 'null'
        carrier_state:
          anyOf:
            - type: string
            - type: 'null'
        carrier_zip:
          anyOf:
            - type: string
            - type: 'null'
        place_of_receipt:
          anyOf:
            - type: string
            - type: 'null'
        embarkation:
          anyOf:
            - type: string
            - type: 'null'
        foreign_port:
          anyOf:
            - type: string
            - type: 'null'
        port:
          anyOf:
            - type: string
            - type: 'null'
        destination_port:
          anyOf:
            - type: string
            - type: 'null'
        destination_port_english:
          anyOf:
            - type: string
            - type: 'null'
        distribution_port:
          anyOf:
            - type: string
            - type: 'null'
        landing:
          anyOf:
            - type: string
            - type: 'null'
        load_type:
          anyOf:
            - type: string
            - type: 'null'
        bill_type_code:
          anyOf:
            - type: string
            - type: 'null'
        manifest_number:
          anyOf:
            - type: string
            - type: 'null'
        in_bond_entry_type:
          anyOf:
            - type: string
            - type: 'null'
        notify_party:
          anyOf:
            - type: string
            - type: 'null'
        notify_party_address:
          anyOf:
            - type: string
            - type: 'null'
        container_count:
          anyOf:
            - type: integer
            - type: 'null'
        container_types:
          items:
            type: string
          type: array
          default: []
        marks_and_numbers:
          items:
            type: string
          type: array
          default: []
      type: object
    ImportgeniusShipmentValue:
      properties:
        '@type':
          type: string
          default: ImportgeniusShipmentValue
        fob:
          anyOf:
            - type: number
            - type: 'null'
        total_fob:
          anyOf:
            - type: number
            - type: 'null'
        venezuela_fob:
          anyOf:
            - type: number
            - type: 'null'
        cif:
          anyOf:
            - type: number
            - type: 'null'
        total_cif:
          anyOf:
            - type: number
            - type: 'null'
        venezuela_cif:
          anyOf:
            - type: number
            - type: 'null'
        freight:
          anyOf:
            - type: number
            - type: 'null'
        total_freight:
          anyOf:
            - type: number
            - type: 'null'
        origin_freight:
          anyOf:
            - type: number
            - type: 'null'
        insurance:
          anyOf:
            - type: number
            - type: 'null'
        total_insurance:
          anyOf:
            - type: number
            - type: 'null'
        origin_insurance:
          anyOf:
            - type: number
            - type: 'null'
        tax:
          anyOf:
            - type: number
            - type: 'null'
        total_taxable:
          anyOf:
            - type: number
            - type: 'null'
        ad_valorem:
          anyOf:
            - type: number
            - type: 'null'
        total_invoice:
          anyOf:
            - type: number
            - type: 'null'
        invoice_price:
          anyOf:
            - type: number
            - type: 'null'
        price_usd:
          anyOf:
            - type: number
            - type: 'null'
        unit_price_usd:
          anyOf:
            - type: number
            - type: 'null'
        unit_price_eur:
          anyOf:
            - type: number
            - type: 'null'
        unit_price_inr:
          anyOf:
            - type: number
            - type: 'null'
        currency_ratio:
          anyOf:
            - type: number
            - type: 'null'
        amount:
          anyOf:
            - type: number
            - type: 'null'
        incoterms:
          anyOf:
            - type: string
            - type: 'null'
        payment_type:
          anyOf:
            - type: string
            - type: 'null'
        pay_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ImportgeniusShipmentCustoms:
      properties:
        '@type':
          type: string
          default: ImportgeniusShipmentCustoms
        customs:
          anyOf:
            - type: string
            - type: 'null'
        custom:
          anyOf:
            - type: string
            - type: 'null'
        custom_code:
          anyOf:
            - type: string
            - type: 'null'
        custom_agent:
          anyOf:
            - type: string
            - type: 'null'
        declaration:
          anyOf:
            - type: string
            - type: 'null'
        declaration_number:
          anyOf:
            - type: string
            - type: 'null'
        declarant_name:
          anyOf:
            - type: string
            - type: 'null'
        declarant_address:
          anyOf:
            - type: string
            - type: 'null'
        control_id:
          anyOf:
            - type: string
            - type: 'null'
        operation_type:
          anyOf:
            - type: string
            - type: 'null'
        importer_id:
          anyOf:
            - type: string
            - type: 'null'
        acquisition:
          anyOf:
            - type: string
            - type: 'null'
        verifier:
          anyOf:
            - type: string
            - type: 'null'
        reviewer:
          anyOf:
            - type: string
            - type: 'null'
        review_type:
          anyOf:
            - type: string
            - type: 'null'
        payee_name:
          anyOf:
            - type: string
            - type: 'null'
        payee_address:
          anyOf:
            - type: string
            - type: 'null'
        bank:
          anyOf:
            - type: string
            - type: 'null'
        bank_number:
          anyOf:
            - type: string
            - type: 'null'
        remarks:
          anyOf:
            - type: string
            - type: 'null'
        trading_country:
          anyOf:
            - type: string
            - type: 'null'
        is_commercial:
          anyOf:
            - type: string
            - type: 'null'
        is_private:
          anyOf:
            - type: string
            - type: 'null'
        estate:
          anyOf:
            - type: string
            - type: 'null'
        extra_field:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ImportgeniusShipmentContainer:
      properties:
        '@type':
          type: string
          default: ImportgeniusShipmentContainer
        container_number:
          anyOf:
            - type: string
            - type: 'null'
        container_type:
          anyOf:
            - type: string
            - type: 'null'
        type_code:
          anyOf:
            - type: string
            - type: 'null'
        equipment_description:
          anyOf:
            - type: string
            - type: 'null'
        service_type:
          anyOf:
            - type: string
            - type: 'null'
        load_status:
          anyOf:
            - type: string
            - type: 'null'
        container_load:
          anyOf:
            - type: string
            - type: 'null'
        length:
          anyOf:
            - type: number
            - type: 'null'
        width:
          anyOf:
            - type: number
            - type: 'null'
        height:
          anyOf:
            - type: number
            - type: 'null'
        teu:
          anyOf:
            - type: number
            - type: 'null'
        raw_teu:
          anyOf:
            - type: number
            - type: 'null'
        seal_numbers:
          items:
            type: string
          type: array
          default: []
        marks:
          items:
            type: string
          type: array
          default: []
        hs_chapters:
          items:
            type: string
          type: array
          default: []
        hazardous_materials:
          items:
            type: string
          type: array
          default: []
        is_containerized:
          anyOf:
            - type: boolean
            - type: 'null'
        is_hazardous:
          anyOf:
            - type: boolean
            - type: 'null'
        is_refrigerated:
          anyOf:
            - type: boolean
            - type: 'null'
        is_heated:
          anyOf:
            - type: boolean
            - type: 'null'
        is_liquid:
          anyOf:
            - type: boolean
            - type: 'null'
        is_gas:
          anyOf:
            - type: boolean
            - type: 'null'
        is_livestock:
          anyOf:
            - type: boolean
            - type: 'null'
        is_automobile_carrier:
          anyOf:
            - type: boolean
            - type: 'null'
        cargoes:
          items:
            $ref: '#/components/schemas/ImportgeniusShipmentCargo'
          type: array
          default: []
      type: object
    ImportgeniusPartnerBreakdown:
      properties:
        '@type':
          type: string
          default: ImportgeniusPartnerBreakdown
        total_count:
          anyOf:
            - type: integer
            - type: 'null'
        other_count:
          anyOf:
            - type: integer
            - type: 'null'
        max_count:
          anyOf:
            - type: integer
            - type: 'null'
        entries:
          items:
            $ref: '#/components/schemas/ImportgeniusRelatedPartner'
          type: array
          default: []
      type: object
    ImportgeniusPlaceBreakdown:
      properties:
        '@type':
          type: string
          default: ImportgeniusPlaceBreakdown
        total_count:
          anyOf:
            - type: integer
            - type: 'null'
        other_count:
          anyOf:
            - type: integer
            - type: 'null'
        max_count:
          anyOf:
            - type: integer
            - type: 'null'
        entries:
          items:
            $ref: '#/components/schemas/ImportgeniusRankedPlace'
          type: array
          default: []
      type: object
    ImportgeniusAddressParts:
      properties:
        '@type':
          type: string
          default: ImportgeniusAddressParts
        street_number:
          anyOf:
            - type: string
            - type: 'null'
        street_name:
          anyOf:
            - type: string
            - type: 'null'
        street_pre_type:
          anyOf:
            - type: string
            - type: 'null'
        street_pre_directional:
          anyOf:
            - type: string
            - type: 'null'
        street_post_type:
          anyOf:
            - type: string
            - type: 'null'
        place_name:
          anyOf:
            - type: string
            - type: 'null'
        state_name:
          anyOf:
            - type: string
            - type: 'null'
        zip_code:
          anyOf:
            - type: string
            - type: 'null'
        country_name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ImportgeniusShipmentCargo:
      properties:
        '@type':
          type: string
          default: ImportgeniusShipmentCargo
        sequence_number:
          anyOf:
            - type: integer
            - type: 'null'
        container_number:
          anyOf:
            - type: string
            - type: 'null'
        keywords:
          items:
            type: string
          type: array
          default: []
        hs_code:
          anyOf:
            - type: string
            - type: 'null'
        piece_count:
          anyOf:
            - type: integer
            - type: 'null'
        tariffs:
          items:
            $ref: '#/components/schemas/ImportgeniusCargoTariff'
          type: array
          default: []
      type: object
    ImportgeniusRelatedPartner:
      properties:
        '@type':
          type: string
          default: ImportgeniusRelatedPartner
        name:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    ImportgeniusRankedPlace:
      properties:
        '@type':
          type: string
          default: ImportgeniusRankedPlace
        name:
          type: string
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    ImportgeniusCargoTariff:
      properties:
        '@type':
          type: string
          default: ImportgeniusCargoTariff
        harmonized_number:
          anyOf:
            - type: string
            - type: 'null'
        harmonized_value:
          anyOf:
            - type: number
            - type: 'null'
        harmonized_weight:
          anyOf:
            - type: number
            - type: 'null'
        harmonized_weight_unit:
          anyOf:
            - type: string
            - type: 'null'
        container_number:
          anyOf:
            - type: string
            - type: 'null'
        sequence_number:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````