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

# LeadMagic: Company Funding

> Get comprehensive funding information, financials, competitors, and company insights. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Get comprehensive funding information, financials, competitors, and company insights.

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

## 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(
  'leadmagic_company_funding',
  {
    "company_domain": "example.com",
    "company_name": "Example Corp"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute leadmagic_company_funding --input '{
  "company_domain": "example.com",
  "company_name": "Example Corp"
}' --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": {
    "basicInfo": {
      "companyName": "Example Corp",
      "description": "Example description",
      "shortName": "Example"
    },
    "financialInfo": {
      "revenue": 123,
      "formattedRevenue": "example",
      "totalFunding": 123
    },
    "companySize": {
      "employees": 123,
      "employeeRange": "example"
    }
  }
}
```

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

## Input reference

Get comprehensive funding information, financials, competitors, and company insights.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.company_domain` | `string` | No | — | — |
| `payload.company_name` | `string` | No | — | — |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Get comprehensive funding information, financials, competitors, and company insights.",
    "properties": {
      "company_domain": {
        "type": "string"
      },
      "company_name": {
        "type": "string"
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.basicInfo` | `object` | No | — | — |
| `result.data.basicInfo.companyName` | `string` | No | — | — |
| `result.data.basicInfo.description` | `string` | No | — | — |
| `result.data.basicInfo.shortName` | `string` | No | — | — |
| `result.data.basicInfo.founded` | `string` | No | — | — |
| `result.data.basicInfo.primaryDomain` | `string` | No | — | — |
| `result.data.basicInfo.phone` | `string` | No | — | — |
| `result.data.basicInfo.status` | `string` | No | — | — |
| `result.data.basicInfo.followers` | `integer` | No | — | — |
| `result.data.basicInfo.ownership` | `string` | No | — | — |
| `result.data.financialInfo` | `object` | No | — | — |
| `result.data.financialInfo.revenue` | `integer` | No | — | — |
| `result.data.financialInfo.formattedRevenue` | `string` | No | — | — |
| `result.data.financialInfo.totalFunding` | `integer` | No | — | — |
| `result.data.financialInfo.formattedFunding` | `string` | No | — | — |
| `result.data.companySize` | `object` | No | — | — |
| `result.data.companySize.employees` | `integer` | No | — | — |
| `result.data.companySize.employeeRange` | `string` | No | — | — |
| `result.data.topCompetitors` | `array` | No | — | — |
| `result.data.topCompetitors[].name` | `string` | No | — | — |
| `result.data.topCompetitors[].revenue` | `string` | No | — | — |
| `result.data.topCompetitors[].employees` | `string` | No | — | — |
| `result.data.topCompetitors[].website` | `string` | 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": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "basicInfo": {
            "type": "object",
            "properties": {
              "companyName": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "shortName": {
                "type": "string"
              },
              "founded": {
                "type": "string"
              },
              "primaryDomain": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "followers": {
                "type": "integer"
              },
              "ownership": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "financialInfo": {
            "type": "object",
            "properties": {
              "revenue": {
                "type": "integer"
              },
              "formattedRevenue": {
                "type": "string"
              },
              "totalFunding": {
                "type": "integer"
              },
              "formattedFunding": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "companySize": {
            "type": "object",
            "properties": {
              "employees": {
                "type": "integer"
              },
              "employeeRange": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "topCompetitors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "revenue": {
                  "type": "string"
                },
                "employees": {
                  "type": "string"
                },
                "website": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "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: `1.35` per pricing unit.

## Related documentation

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