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

# Contact information

<Warning>
  **Deprecated:** This endpoint is deprecated. Contact information is now included in the [company details endpoint](/endpoint/company) response. Use that endpoint instead to get company data including contact information in a single request.
</Warning>

## Get company contact information

Retrieve contact information for a company including email addresses, phone numbers, and VAT identification numbers. This data is collected from publicly available sources including company websites. The response includes the source URL where each piece of information was found, allowing you to verify the data origin.

**Cost:** 10 credits


## OpenAPI

````yaml GET /v0/company/{company_id}/contact
openapi: 3.1.0
info:
  title: OpenRegister API
  version: 2.5.0
  description: >
    API for accessing comprehensive company data from official registers.

    This API provides access to company information, shareholder data, financial
    reports, and contact details.
servers:
  - url: https://api.openregister.de
    description: Production
security:
  - BearerAuth: []
paths:
  /v0/company/{company_id}/contact:
    get:
      tags:
        - v0
      summary: Get company contact information
      operationId: getContact
      parameters:
        - name: company_id
          in: path
          required: true
          description: |
            Unique company identifier.
            Example: DE-HRB-F1103-267645
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved contact information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Contact'
        '400':
          description: Bad Request - Invalid parameters provided
        '401':
          description: Unauthorized - Authentication required
        '402':
          description: Payment Required - Insufficient credits for this request
        '404':
          description: Not Found - No contact information available
        '429':
          description: Too Many Requests - Rate limit exceeded
        '500':
          description: >-
            Internal Server Error - An error occurred while processing the
            request
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Openregister from 'openregister';

            const client = new Openregister({
              apiKey: process.env['OPENREGISTER_API_KEY'], // This is the default and can be omitted
            });

            const response = await client.company.getContactV0('company_id');

            console.log(response.vat_id);
        - lang: Python
          source: |-
            import os
            from openregister import Openregister

            client = Openregister(
                api_key=os.environ.get("OPENREGISTER_API_KEY"),  # This is the default and can be omitted
            )
            response = client.company.get_contact_v0(
                "company_id",
            )
            print(response.vat_id)
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/oregister/openregister-go\"\n\t\"github.com/oregister/openregister-go/option\"\n)\n\nfunc main() {\n\tclient := openregister.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Company.GetContactV0(context.TODO(), \"company_id\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.VatID)\n}\n"
        - lang: CLI
          source: |-
            openregister company get-contact-v0 \
              --api-key 'My API Key' \
              --company-id company_id
components:
  schemas:
    Contact:
      type: object
      properties:
        source_url:
          description: |
            Where the contact information was found.
            Example: "https://openregister.de"
          type: string
          format: uri
        email:
          description: |
            Company contact email address.
            Example: "founders@openregister.de"
          type: string
        phone:
          description: |
            Company phone number.
            Example: "+49 030 12345678"
          type: string
        vat_id:
          description: >
            Value Added Tax identification number.
            (Umsatzsteuer-Identifikationsnummer)

            Example: "DE370146530"
          type: string
      required:
        - source_url
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |
        API Key Authentication
        Provide your API key as a Bearer token in the Authorization header.

````