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

# Search for a company

> Search for a company by name, domain, LinkedIn URL, or LinkedIn ID. Returns up to 5 candidate matches ranked by relevance.

**At least one** of `name`, `domain`, `linkedin_url`, or `linkedin_id` must be provided. The optional `country` field (2-letter code) helps disambiguate results when multiple companies match.

Results are ordered by relevance, with the best match first.

Providing multiple fields (e.g. `name` + `domain`) increases the accuracy of the match.



## OpenAPI

````yaml /reference/openapi.yaml post /v2/companies/search
openapi: 3.1.0
info:
  title: Tamtam Public API
  version: 2.0.0
servers:
  - url: https://api.tamtam.ai/api
security: []
paths:
  /v2/companies/search:
    post:
      tags:
        - Companies
      summary: Search for a company
      description: >-
        Search for a company by name, domain, LinkedIn URL, or LinkedIn ID.
        Returns up to 5 candidate matches ranked by relevance.


        **At least one** of `name`, `domain`, `linkedin_url`, or `linkedin_id`
        must be provided. The optional `country` field (2-letter code) helps
        disambiguate results when multiple companies match.


        Results are ordered by relevance, with the best match first.


        Providing multiple fields (e.g. `name` + `domain`) increases the
        accuracy of the match.
      operationId: search-companies
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchCompanyInputDto'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchCompanyResponseDto'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apikeyAuth: []
        - bearerAuth: []
components:
  schemas:
    SearchCompanyInputDto:
      additionalProperties: false
      properties:
        country:
          description: 2-letter country code (e.g. FR, US) to help disambiguate results
          examples:
            - FR
          type: string
        domain:
          description: Company domain (e.g. tamtam.ai)
          examples:
            - tamtam.ai
          type: string
        linkedin_id:
          description: LinkedIn numeric company ID
          examples:
            - '104924588'
          type: string
        linkedin_url:
          description: >-
            LinkedIn company URL (e.g.
            https://www.linkedin.com/company/tamtam-ai)
          examples:
            - https://www.linkedin.com/company/tamtam-ai
          type: string
        name:
          description: Company name
          examples:
            - TAMTAM
          type: string
      type: object
    SearchCompanyResponseDto:
      additionalProperties: false
      properties:
        results:
          description: List of candidate companies ranked by relevance
          items:
            $ref: '#/components/schemas/SearchCompanyResultDto'
          type:
            - array
            - 'null'
      required:
        - results
      type: object
    ErrorModel:
      additionalProperties: false
      properties:
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    SearchCompanyResultDto:
      additionalProperties: false
      properties:
        description:
          description: Company description
          examples:
            - AI Agents boosting every step of your Sales Cycle
          type: string
        domain:
          description: Company domain
          examples:
            - tamtam.ai
          type: string
        hq_country:
          description: Headquarters country code
          examples:
            - FR
          type: string
        linkedin_id:
          description: LinkedIn company ID
          examples:
            - '104924588'
          type: string
        linkedin_url:
          description: LinkedIn company URL
          examples:
            - https://www.linkedin.com/company/tamtam-ai
          type: string
        name:
          description: Company name
          examples:
            - TAMTAM
          type: string
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    apikeyAuth:
      description: Account API key passed in the Authorization header
      in: header
      name: Authorization
      type: apiKey
    bearerAuth:
      description: Bearer JWT obtained via the OAuth 2.1 authorization flow
      scheme: bearer
      type: http

````