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

# Person holdings

## Get person holdings

Retrieve all companies where a person holds ownership stakes. This endpoint provides a portfolio view showing the person's shareholdings across different companies, including ownership percentages. Use this to understand a person's business network and investment portfolio.

**Cost:** 10 credits


## OpenAPI

````yaml GET /v1/person/{person_id}/holdings
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:
  /v1/person/{person_id}/holdings:
    get:
      tags:
        - v1
      summary: Get person holdings
      operationId: getPersonHoldings
      parameters:
        - name: person_id
          in: path
          required: true
          description: |
            Unique person identifier.
            Example: cc78ab54-d958-49b8-bae7-2f6c0c308837
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The holdings of the person
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PersonHoldings'
        '400':
          description: Bad Request - Invalid parameters provided
        '401':
          description: Unauthorized - Authentication required
        '402':
          description: Payment Required - Insufficient credits for this request
        '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.person.getHoldingsV1('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');


            console.log(response.person_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.person.get_holdings_v1(
                "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            )
            print(response.person_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.Person.GetHoldingsV1(context.TODO(), \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\")\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.PersonID)\n}\n"
        - lang: CLI
          source: |-
            openregister person get-holdings-v1 \
              --api-key 'My API Key' \
              --person-id 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
components:
  schemas:
    PersonHoldings:
      type: object
      description: |
        Companies this entity owns or has invested in.
      properties:
        person_id:
          description: |
            Unique person identifier.
            Example: cc78ab54-d958-49b8-bae7-2f6c0c308837
          type: string
        holdings:
          description: |
            Shareholder and limited partner positions of the person.
          type: array
          items:
            $ref: '#/components/schemas/PersonHoldingItem'
      required:
        - person_id
        - holdings
    PersonHoldingItem:
      type: object
      properties:
        company_id:
          type: string
          description: |
            Unique company identifier.
            Example: DE-HRB-F1103-267645
        relation_type:
          $ref: '#/components/schemas/CompanyRelationType'
          description: |
            Type of relationship between the entity and the company.
        name:
          type: string
          description: |
            Name of the company.
        nominal_share:
          type: number
          description: |
            Amount of shares or capital in the company.
            Example: 100
          format: double
        percentage_share:
          type: number
          description: |
            Share of the company.
            Example: 0.5 represents 50% ownership
          format: double
          nullable: true
        start:
          type: string
          format: date
          description: |
            Date when the ownership started.
            Format: ISO 8601 (YYYY-MM-DD)
            Example: "2022-01-01"
          nullable: true
        end:
          type: string
          format: date
          description: |
            Date when the ownership ended.
            Format: ISO 8601 (YYYY-MM-DD)
            Example: "2022-01-01"
          nullable: true
      required:
        - company_id
        - relation_type
        - name
        - nominal_share
        - percentage_share
        - start
        - end
    CompanyRelationType:
      type: string
      enum:
        - shareholder
        - stockholder
        - limited_partner
        - general_partner
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |
        API Key Authentication
        Provide your API key as a Bearer token in the Authorization header.

````