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

> Provide the Company Domain or Company Name and get back the complete funding details of the company. Includes SDK V2 examples, schemas, and cost.

Provide the Company Domain or Company Name and get back the complete funding details of the company.

> [!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_name": "Example Corp",
    "company_domain": "example.com"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run leadmagic_company_funding --input '{
  "company_name": "Example Corp",
  "company_domain": "example.com"
}'
```

## 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
    },
    "fundingHistory": [
      {
        "round": "example",
        "date": "2026-01-15T12:00:00Z",
        "amount": "example"
      }
    ]
  }
}
```

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

## Input reference

Provide the Company Domain or Company Name and get back the complete funding details of the company.

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

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Provide the Company Domain or Company Name and get back the complete funding details of the company.",
    "properties": {
      "company_name": {
        "type": "string",
        "description": "Provide Company Name"
      },
      "company_domain": {
        "type": "string",
        "description": "Provide Company Domain"
      }
    },
    "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.headquarters` | `object` | No | — | — |
| `result.data.basicInfo.headquarters.city` | `string` | No | — | — |
| `result.data.basicInfo.headquarters.state` | `string` | No | — | — |
| `result.data.basicInfo.headquarters.country` | `string` | No | — | — |
| `result.data.basicInfo.headquarters.fullAddress` | `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.financialInfo.lastFundingRound` | `object` | No | — | — |
| `result.data.financialInfo.lastFundingRound.round` | `string` | No | — | — |
| `result.data.financialInfo.lastFundingRound.date` | `string` | No | — | Format: `date-time`. |
| `result.data.financialInfo.lastFundingRound.amount` | `integer` | No | — | — |
| `result.data.fundingHistory` | `array` | No | — | — |
| `result.data.fundingHistory[].round` | `string` | No | — | — |
| `result.data.fundingHistory[].date` | `string` | No | — | Format: `date-time`. |
| `result.data.fundingHistory[].amount` | `string` | No | — | — |
| `result.data.fundingHistory[].investors` | `array` | No | — | — |
| `result.data.companySize` | `object` | No | — | — |
| `result.data.companySize.employees` | `integer` | No | — | — |
| `result.data.companySize.employeeRange` | `string` | No | — | — |
| `result.data.companySize.employeeGrowth` | `string` | No | — | — |
| `result.data.leadership` | `object` | No | — | — |
| `result.data.leadership.ceo` | `object` | No | — | — |
| `result.data.leadership.ceo.firstName` | `string` | No | — | — |
| `result.data.leadership.ceo.lastName` | `string` | No | — | — |
| `result.data.leadership.ceo.designation` | `string` | No | — | — |
| `result.data.leadership.ceo.b2b_profile` | `string` | No | — | — |
| `result.data.leadership.ceo.twitter` | `string` | No | — | — |
| `result.data.industryAndSectors` | `object` | No | — | — |
| `result.data.industryAndSectors.industrySectors` | `array` | No | — | — |
| `result.data.industryAndSectors.industries` | `array` | No | — | — |
| `result.data.industryAndSectors.technologyStack` | `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[].totalFunding` | `string` | No | — | — |

The table shows the first 50 fields. Expand the raw schema below for every field.

<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"
              },
              "headquarters": {
                "type": "object",
                "properties": {
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "fullAddress": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "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"
              },
              "lastFundingRound": {
                "type": "object",
                "properties": {
                  "round": {
                    "type": "string"
                  },
                  "date": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "amount": {
                    "type": "integer"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "fundingHistory": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "round": {
                  "type": "string"
                },
                "date": {
                  "type": "string",
                  "format": "date-time"
                },
                "amount": {
                  "type": "string"
                },
                "investors": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            }
          },
          "companySize": {
            "type": "object",
            "properties": {
              "employees": {
                "type": "integer"
              },
              "employeeRange": {
                "type": "string"
              },
              "employeeGrowth": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "leadership": {
            "type": "object",
            "properties": {
              "ceo": {
                "type": "object",
                "properties": {
                  "firstName": {
                    "type": "string"
                  },
                  "lastName": {
                    "type": "string"
                  },
                  "designation": {
                    "type": "string"
                  },
                  "b2b_profile": {
                    "type": "string"
                  },
                  "twitter": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "industryAndSectors": {
            "type": "object",
            "properties": {
              "industrySectors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "industries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "technologyStack": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "topCompetitors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "revenue": {
                  "type": "string"
                },
                "employees": {
                  "type": "string"
                },
                "totalFunding": {
                  "type": "string"
                },
                "headquarters": {
                  "type": "object",
                  "properties": {
                    "city": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "country": {
                      "type": "string"
                    },
                    "fullAddress": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "founded": {
                  "type": "string",
                  "format": "date-time"
                },
                "ownership": {
                  "type": "string"
                },
                "website": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "acquisitions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "companyName": {
                  "type": "string"
                },
                "acquisitionDate": {
                  "type": "string",
                  "format": "date-time"
                },
                "description": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "socialMedia": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "platform": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "news": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                },
                "date": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "additionalProperties": false
            }
          },
          "pressReleases": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                },
                "date": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "additionalProperties": false
            }
          },
          "keyHighlights": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                },
                "date": {
                  "type": "string",
                  "format": "date-time"
                },
                "src": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "summarySection": {
            "type": "string"
          }
        },
        "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

* [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.