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

# DiscoLike: Match

> Resolve a company name to its website domain, with ranked candidates and match_confidence (0-100). Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Resolve a company name to its website domain, with ranked candidates and match\_confidence (0-100).

> [!NOTE]
>
> Tool ID: `discolike_match`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'discolike_match',
  {
    "name": "Example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run discolike_match --input '{
  "name": "Example"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "query": {
      "name": "Example"
    },
    "matches": [
      {
        "domain": "example.com",
        "name": "Example",
        "status": {
          "status": "example",
          "confidence": 0.95
        }
      }
    ]
  }
}
```

Use `deepline describe discolike_match --json` for the latest machine-readable contract.

## Input reference

Pairs a company name with business domain profiles. Returns potential matches ranked by relevance, with the most likely match listed first. Location and contact info improve matching accuracy.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.name` | `string` | Yes | — | The company name to match |
| `payload.phone` | `string` | No | — | Phone number to augment the search (E.164 or local format) |
| `payload.city` | `string` | No | — | City to augment the search |
| `payload.state` | `string` | No | — | State code or name to augment the search |
| `payload.country` | `string` | No | — | ISO-3166-1 alpha-2 country code to augment the search |
| `payload.zip_code` | `string` | No | — | Zip code to augment the search |
| `payload.strict` | `boolean` | No | `false` | Enable strict matching (no filter relaxation) |
| `payload.local_mode` | `boolean` | No | `false` | Preserve location filters during relaxation. |
| `payload.min_match_confidence` | `integer` | No | `50` | Minimum match\_confidence (inclusive, 50-100) a match must have to be returned. Defaults to 50, the standard quality floor. Minimum: 50. Maximum: 100. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Pairs a company name with business domain profiles. Returns potential matches ranked by relevance, with the most likely match listed first. Location and contact info improve matching accuracy.",
    "properties": {
      "name": {
        "type": "string",
        "description": "The company name to match"
      },
      "phone": {
        "type": [
          "string",
          "null"
        ],
        "description": "Phone number to augment the search (E.164 or local format)"
      },
      "city": {
        "type": [
          "string",
          "null"
        ],
        "description": "City to augment the search"
      },
      "state": {
        "type": [
          "string",
          "null"
        ],
        "description": "State code or name to augment the search"
      },
      "country": {
        "type": [
          "string",
          "null"
        ],
        "description": "ISO-3166-1 alpha-2 country code to augment the search"
      },
      "zip_code": {
        "type": [
          "string",
          "null"
        ],
        "description": "Zip code to augment the search"
      },
      "strict": {
        "type": "boolean",
        "description": "Enable strict matching (no filter relaxation)",
        "default": false
      },
      "local_mode": {
        "type": "boolean",
        "description": "Preserve location filters during relaxation.",
        "default": false
      },
      "min_match_confidence": {
        "type": "integer",
        "description": "Minimum match_confidence (inclusive, 50-100) a match must have to be returned. Defaults to 50, the standard quality floor.",
        "default": 50,
        "minimum": 50,
        "maximum": 100
      }
    },
    "required": [
      "name"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response from the /match endpoint. |
| `result.data.query` | `object` | Yes | — | Query parameters echoed back in match response, excluding omitted fields. |
| `result.data.query.name` | `string` | Yes | — | The company name that was searched |
| `result.data.query.country` | `string \| null` | No | — | Country code filter used (ISO-3166-1 alpha-2) |
| `result.data.query.state` | `string \| null` | No | — | ISO 3166-2 state code the filter resolved to |
| `result.data.query.city` | `string \| null` | No | — | City filter used |
| `result.data.query.zip` | `string \| null` | No | — | Zip code filter used |
| `result.data.query.phones` | `string \| null` | No | — | Phone number filter used |
| `result.data.matches` | `array` | Yes | — | Array of BizData profiles with match\_confidence, ranked by relevance |
| `result.data.matches[].domain` | `string \| null` | No | — | Matched company domain, or None if no match was found |
| `result.data.matches[].name` | `string \| null` | No | — | Company name inferred from certificate or website data |
| `result.data.matches[].status` | `object` | No | — | Company operating status with confidence score. |
| `result.data.matches[].status.status` | `string \| null` | No | — | Operating status: 'active' or 'closed' |
| `result.data.matches[].status.confidence` | `number \| null` | No | — | Confidence score for the status (0.0-1.0) |
| `result.data.matches[].score` | `integer \| null` | No | — | Digital footprint score derived from certificate history (1-800). Not a verified measure of company size or buying power |
| `result.data.matches[].start_date` | `string \| null` | No | — | First observed certificate date (YYYY-MM-DD). Not a verified company founding or incorporation date |
| `result.data.matches[].end_date` | `string \| null` | No | — | Company end date if closed (YYYY-MM-DD), empty if still in business |
| `result.data.matches[].address` | `object` | No | — | Company headquarters address from website metatags or content. |
| `result.data.matches[].address.street` | `string \| null` | No | — | Street address of HQ, from website metatags or content |
| `result.data.matches[].address.city` | `string \| null` | No | — | City, from website metatags or content |
| `result.data.matches[].address.state` | `string \| null` | No | — | State/subdivision name (ISO 3166-2 label). The underlying stored value is the ISO code and filters accept either |
| `result.data.matches[].address.zip` | `string \| null` | No | — | ZIP/postal code, from website metatags or content |
| `result.data.matches[].address.country` | `string \| null` | No | — | Two-letter country code (ISO 3166-1 alpha-2), from website metatags or content |
| `result.data.matches[].latitude` | `number \| null` | No | — | Latitude of the company's location, when resolved |
| `result.data.matches[].longitude` | `number \| null` | No | — | Longitude of the company's location, when resolved |
| `result.data.matches[].geo_precision` | `string \| null` | No | — | How precisely the location was resolved (e.g. rooftop, city, country) |
| `result.data.matches[].phones` | `array \| null` | No | — | Array of phone numbers listed on the website |
| `result.data.matches[].public_emails` | `array \| null` | No | — | Array of contact emails listed on the website |
| `result.data.matches[].domain_associations` | `array` | No | — | Associated domains |
| `result.data.matches[].social_urls` | `array \| null` | No | — | URLs pointing to the company page on Twitter, LinkedIn, Facebook |
| `result.data.matches[].redirect_domain` | `string \| null` | No | — | Last domain in the redirect chain, if any |
| `result.data.matches[].description` | `string \| null` | No | — | Description, from website metatags or content |
| `result.data.matches[].keywords` | `record` | No | — | Keywords generated by Natural Language Models based on site content, as keyword:confidence pairs |
| `result.data.matches[].industry_groups` | `record` | No | — | Top industries (up to 2), as industry:confidence pairs |
| `result.data.matches[].sub_industry` | `object \| null` | No | — | Sub-industry labels scoped to the company's industry category, as PARENT/SUB:confidence pairs. null when the domain was not scored against them |
| `result.data.matches[].employees` | `string \| null` | No | — | Employee count range: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+ |
| `result.data.matches[].revenue_range` | `"&lt;1M" \| "1-10M" \| "10-100M" \| "100M-1B" \| "&gt;1B" \| "N/A"` | No | — | Company revenue bucket: 1B, or N/A when unknown Allowed: `&lt;1M`, `1-10M`, `10-100M`, `100M-1B`, `&gt;1B`, `N/A`. |
| `result.data.matches[].business_model` | `record` | No | — | Business model labels as label:confidence pairs (B2B, B2C, B2G, G2B, G2C, D2C, C2C, C2B) |
| `result.data.matches[].update_date` | `string \| null` | No | — | Date of last record update (YYYY-MM-DD) |
| `result.data.matches[].mx_provider` | `string \| null` | No | — | Email/MX hosting provider for the domain: a provider domain (e.g. 'google.com', 'microsoft.com'), the sentinel 'no\_mx' when the domain publishes a null MX record, or null when no MX record was found |
| `result.data.matches[].linkup` | `null` | No | — | Deprecated field, always None |
| `result.data.matches[].match_confidence` | `number \| null` | No | — | Match confidence level 0-100, where 100 indicates a perfect match |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response from the /match endpoint.",
        "properties": {
          "query": {
            "type": "object",
            "description": "Query parameters echoed back in match response, excluding omitted fields.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The company name that was searched"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Country code filter used (ISO-3166-1 alpha-2)"
              },
              "state": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "ISO 3166-2 state code the filter resolved to"
              },
              "city": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "City filter used"
              },
              "zip": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Zip code filter used"
              },
              "phones": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Phone number filter used"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "matches": {
            "type": "array",
            "description": "Array of BizData profiles with match_confidence, ranked by relevance",
            "items": {
              "type": "object",
              "description": "Business data profile returned by the match endpoint. Extends CompanyResult with match-specific confidence field. Domain is optional to support unmatched rows in bulk match results.",
              "properties": {
                "domain": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Matched company domain, or None if no match was found"
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Company name inferred from certificate or website data"
                },
                "status": {
                  "type": "object",
                  "description": "Company operating status with confidence score.",
                  "properties": {
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Operating status: 'active' or 'closed'"
                    },
                    "confidence": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Confidence score for the status (0.0-1.0)"
                    }
                  },
                  "additionalProperties": false
                },
                "score": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Digital footprint score derived from certificate history (1-800); not a verified measure of company size or buying power"
                },
                "start_date": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "First observed certificate date (YYYY-MM-DD); not a verified company founding or incorporation date"
                },
                "end_date": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Company end date if closed (YYYY-MM-DD), empty if still in business"
                },
                "address": {
                  "type": "object",
                  "description": "Company headquarters address from website metatags or content.",
                  "properties": {
                    "street": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Street address of HQ, from website metatags or content"
                    },
                    "city": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "City, from website metatags or content"
                    },
                    "state": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "State/subdivision name (ISO 3166-2 label); the underlying stored value is the ISO code and filters accept either"
                    },
                    "zip": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ZIP/postal code, from website metatags or content"
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Two-letter country code (ISO 3166-1 alpha-2), from website metatags or content"
                    }
                  },
                  "additionalProperties": false
                },
                "latitude": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Latitude of the company's location, when resolved"
                },
                "longitude": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Longitude of the company's location, when resolved"
                },
                "geo_precision": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "How precisely the location was resolved (e.g. rooftop, city, country)"
                },
                "phones": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "description": "Array of phone numbers listed on the website",
                  "items": {
                    "type": "string"
                  }
                },
                "public_emails": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "description": "Array of contact emails listed on the website",
                  "items": {
                    "type": "string"
                  }
                },
                "domain_associations": {
                  "type": "array",
                  "description": "Associated domains",
                  "items": {
                    "type": "string"
                  }
                },
                "social_urls": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "description": "URLs pointing to the company page on Twitter, LinkedIn, Facebook",
                  "items": {
                    "type": "string"
                  }
                },
                "redirect_domain": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Last domain in the redirect chain, if any"
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Description, from website metatags or content"
                },
                "keywords": {
                  "type": "object",
                  "description": "Keywords generated by Natural Language Models based on site content, as keyword:confidence pairs",
                  "additionalProperties": {
                    "type": "number"
                  }
                },
                "industry_groups": {
                  "type": "object",
                  "description": "Top industries (up to 2), as industry:confidence pairs",
                  "additionalProperties": {
                    "type": "number"
                  }
                },
                "sub_industry": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "description": "Sub-industry labels scoped to the company's industry category, as PARENT/SUB:confidence pairs; null when the domain was not scored against them",
                  "additionalProperties": {
                    "type": "number"
                  }
                },
                "employees": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Employee count range: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+"
                },
                "revenue_range": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Company revenue bucket: 1B, or N/A when unknown",
                  "enum": [
                    "<1M",
                    "1-10M",
                    "10-100M",
                    "100M-1B",
                    ">1B",
                    "N/A"
                  ]
                },
                "business_model": {
                  "type": "object",
                  "description": "Business model labels as label:confidence pairs (B2B, B2C, B2G, G2B, G2C, D2C, C2C, C2B)",
                  "additionalProperties": {
                    "type": "number"
                  }
                },
                "update_date": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Date of last record update (YYYY-MM-DD)"
                },
                "mx_provider": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Email/MX hosting provider for the domain: a provider domain (e.g. 'google.com', 'microsoft.com'), the sentinel 'no_mx' when the domain publishes a null MX record, or null when no MX record was found"
                },
                "linkup": {
                  "type": "null",
                  "description": "Deprecated field, always None"
                },
                "match_confidence": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Match confidence level 0-100, where 100 indicates a perfect match"
                }
              },
              "additionalProperties": true
            }
          }
        },
        "required": [
          "query",
          "matches"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `0.05` per pricing unit.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.