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

> Search one country's customs bill-of-lading records for businesses whose name matches a keyword. Each result carries the business id, the side it files under, its filed address, how many shipments it received and sent, the date of its latest shipment, the ports it uses, a year-by-year shipment history and its largest trading partners.

**Price:** 20 credits per 30 results



## OpenAPI

````yaml /openapi/company-startup-intel.json post /api/importgenius/companies/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/importgenius/companies/search:
    post:
      tags:
        - /importgenius
      summary: /importgenius/companies/search
      description: >-
        Search one country's customs bill-of-lading records for businesses whose
        name matches a keyword. Each result carries the business id, the side it
        files under, its filed address, how many shipments it received and sent,
        the date of its latest shipment, the ports it uses, a year-by-year
        shipment history and its largest trading partners.


        **Price:** 20 credits per 30 results
      operationId: __api_importgenius_companies_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportgeniusCompaniesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ImportgeniusProfile'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ImportgeniusCompaniesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        keyword:
          type: string
          minLength: 1
        count:
          type: integer
          maximum: 500
          minimum: 1
        market:
          $ref: '#/components/schemas/ImportgeniusMarket'
          default: us
      type: object
      required:
        - keyword
        - count
    ImportgeniusProfile:
      properties:
        '@type':
          type: string
          default: ImportgeniusProfile
        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'
        last_shipment_date:
          anyOf:
            - type: string
            - 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: []
        top_partners:
          items:
            $ref: '#/components/schemas/ImportgeniusTradePartner'
          type: array
          default: []
      type: object
      required:
        - id
        - alias
        - url
        - country
        - role
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ImportgeniusMarket:
      type: string
      enum:
        - us
        - argentina
        - chile
        - colombia
        - costarica
        - ecuador
        - india
        - panama
        - paraguay
        - peru
        - ukraine
        - uruguay
        - venezuela
        - vietnam
    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
    ImportgeniusTradePartner:
      properties:
        '@type':
          type: string
          default: ImportgeniusTradePartner
        record_key:
          type: string
        company:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        is_name_withheld:
          anyOf:
            - type: boolean
            - type: 'null'
        id:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        partner_role:
          type: string
        country:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        address_english:
          anyOf:
            - type: string
            - type: 'null'
        full_address:
          anyOf:
            - type: string
            - type: 'null'
        shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
        overall_shipment_count:
          anyOf:
            - type: integer
            - type: 'null'
        container_count:
          anyOf:
            - type: integer
            - type: 'null'
        gross_weight_kg:
          anyOf:
            - type: number
            - type: 'null'
        gross_weight_lb:
          anyOf:
            - type: number
            - type: 'null'
        net_weight_lb:
          anyOf:
            - type: number
            - type: 'null'
        last_shipment_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - record_key
        - company
        - partner_role
    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

````