# getCompanyDomainUrl

**Identifier:** `apollo_getCompanyDomainUrl`

**Provider:** [Apollo.io](https://kirha.com/providers/apollo.md)

Retrieve a company's primary domain URL from its name. When composing with other tools, use this to resolve 'domainUrl' if you don't already have it. For example to search people or enrich company data for a specific company name.

## Run it with the CLI

```bash
kirha tools run apollo_getCompanyDomainUrl \
  --input '{
    "companyName": "<companyName>"
  }'
```

`--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": "apollo_getCompanyDomainUrl",
  "input": {
    "companyName": "<companyName>"
  }
}'
```

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": {
    "companyName": {
      "type": "string"
    }
  },
  "required": [
    "companyName"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "domainUrl": {
      "description": "The primary domain URL of the company in the format 'example.com'",
      "type": "string"
    },
    "found": {
      "type": "boolean"
    }
  },
  "required": [
    "context",
    "found"
  ],
  "type": "object"
}
```

## Related tools

Other Apollo.io tools that this tool refers to, or that refer to it.

- [`searchCompany`](https://kirha.com/providers/apollo/searchCompany.md)
- [`searchPeople`](https://kirha.com/providers/apollo/searchPeople.md)

-----

[All Apollo.io tools](https://kirha.com/providers/apollo.md) · [< Back to tools list](https://kirha.com/tools.md)