# resolveCompany

**Identifier:** `crustdata_resolveCompany`

**Provider:** [Crustdata](https://kirha.com/providers/crustdata.md)

Resolve a company name, website domain or LinkedIn company URL to its identity: canonical name, website domain, LinkedIn URL, size bracket, founding year and Crustdata id. Use it first when only a company name is known and another tool needs its domain.

## Run it with the CLI

```bash
kirha tools run crustdata_resolveCompany \
  --input '{
    "company": "stripe.com"
  }'
```

`--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": "crustdata_resolveCompany",
  "input": {
    "company": "stripe.com"
  }
}'
```

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": {
    "company": {
      "description": "Company website domain (preferred), LinkedIn company URL, Crustdata company id or name, e.g., stripe.com",
      "minLength": 2,
      "type": "string"
    }
  },
  "required": [
    "company"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "matches": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "companyId": {
            "type": "number"
          },
          "companyType": {
            "type": "string"
          },
          "confidence": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "employeeRange": {
            "type": "string"
          },
          "headquarters": {
            "type": "string"
          },
          "industries": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "linkedinUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "revenueLowerUsd": {
            "type": "number"
          },
          "revenueUpperUsd": {
            "type": "number"
          },
          "yearFounded": {
            "type": "number"
          }
        },
        "required": [
          "industries"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "matches"
  ],
  "type": "object"
}
```

-----

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