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

# Openmart: Enrich Company

> Resolve a company website or social profile into Openmart business records. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Resolve a company website or social profile into Openmart business records.

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

## 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(
  'openmart_enrich_company',
  {
    "website": "https://example.com",
    "social_media_link": "example",
    "limit": 50
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute openmart_enrich_company --input '{
  "website": "https://example.com",
  "social_media_link": "example",
  "limit": 50
}' --json
```

## 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": [
    {
      "id": "id_123",
      "content": {},
      "match_score": 123
    }
  ]
}
```

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

## Input reference

Resolve a website URL or social-media URL into matching Openmart business records.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.website` | `string` | No | — | — |
| `payload.social_media_link` | `string` | No | — | — |
| `payload.limit` | `integer` | No | `50` | Minimum: 1. Maximum: 50. |
| `payload.estimate_total` | `boolean` | No | — | — |
| `payload.location` | `object \| array` | No | — | — |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Resolve a website URL or social-media URL into matching Openmart business records.",
    "properties": {
      "website": {
        "type": "string"
      },
      "social_media_link": {
        "type": "string"
      },
      "limit": {
        "type": "integer",
        "default": 50,
        "minimum": 1,
        "maximum": 50
      },
      "estimate_total": {
        "type": "boolean"
      },
      "location": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "country": {
                "type": "string",
                "description": "Country code or name."
              },
              "state": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "zip_code": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "lat": {
                "type": "number"
              },
              "long": {
                "type": "number"
              },
              "geo_radius": {
                "type": "integer"
              },
              "use_geo_fuzz": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "country": {
                  "type": "string",
                  "description": "Country code or name."
                },
                "state": {
                  "type": "string"
                },
                "city": {
                  "type": "string"
                },
                "zip_code": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "lat": {
                  "type": "number"
                },
                "long": {
                  "type": "number"
                },
                "geo_radius": {
                  "type": "integer"
                },
                "use_geo_fuzz": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            }
          }
        ]
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `array \| object` | Yes | — | Provider response payload. |
| `result.data.data` | `array` | Yes | — | — |
| `result.data.data[].id` | `string` | No | — | — |
| `result.data.data[].content` | `record` | No | — | — |
| `result.data.data[].match_score` | `number` | No | — | — |
| `result.data.data[].match_highlights` | `array` | No | — | — |
| `result.data.data[].cursor` | `array` | No | — | — |
| `result.data.total_count` | `integer` | No | — | — |
| `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": {
        "description": "Provider response payload.",
        "anyOf": [
          {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "content": {
                  "type": "object",
                  "additionalProperties": true
                },
                "match_score": {
                  "type": "number"
                },
                "match_highlights": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "cursor": {
                  "type": "array",
                  "items": {}
                }
              },
              "additionalProperties": true
            }
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "content": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "match_score": {
                      "type": "number"
                    },
                    "match_highlights": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "cursor": {
                      "type": "array",
                      "items": {}
                    }
                  },
                  "additionalProperties": true
                }
              },
              "total_count": {
                "type": "integer"
              }
            },
            "required": [
              "data"
            ],
            "additionalProperties": true
          }
        ]
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.13` per pricing unit.

## Related documentation

* [Openmart provider guide](https://deepline.com/docs/providers/openmart/guide.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.