# getCompanyInfo

**Identifier:** `pappers_getCompanyInfo`

**Provider:** [Pappers](https://kirha.com/providers/pappers.md)

Get detailed information about a French company using its SIREN number.

## Run it with the CLI

```bash
kirha tools run pappers_getCompanyInfo \
  --input '{
    "siren": "<siren>"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "pappers_getCompanyInfo",
  "input": {
    "siren": "<siren>"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "siren": {
      "description": "Company SIREN number (9 digits)",
      "maxLength": 9,
      "minLength": 9,
      "pattern": "^\\d{9}$",
      "type": "string"
    }
  },
  "required": [
    "siren"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "activity": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "address": {
      "additionalProperties": false,
      "properties": {
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "department": {
          "type": "string"
        },
        "full": {
          "type": "string"
        },
        "line1": {
          "type": "string"
        },
        "line2": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "region": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "capital": {
      "type": "number"
    },
    "closingDate": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "creationDate": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "employeeCount": {
      "type": "number"
    },
    "establishments": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "employeeCount": {
            "type": "number"
          },
          "isMain": {
            "type": "boolean"
          },
          "siret": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "siret",
          "isMain"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "legalForm": {
      "type": "string"
    },
    "legalFormCode": {
      "type": "string"
    },
    "managers": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "birthYear": {
            "type": "number"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "name": {
      "type": "string"
    },
    "siren": {
      "type": "string"
    },
    "siret": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "totalEstablishments": {
      "type": "number"
    },
    "turnover": {
      "type": "number"
    },
    "vatNumber": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "siren",
    "name",
    "address",
    "activity",
    "managers",
    "totalEstablishments",
    "establishments"
  ],
  "type": "object"
}
```

-----

[All Pappers tools](https://kirha.com/providers/pappers.md) · [< Back to tools list](https://kirha.com/tools.md)