> ## 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: Profile Search

> Provide a B2B profile URL (for example, a professional social profile) to get full profile details. Rate limit: 300 requests/minute.

Provide a B2B profile URL (for example, a professional social profile) to get full profile details.

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

## 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_profile_search',
  {
    "profile_url": "https://example.com"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute leadmagic_profile_search --input '{
  "profile_url": "https://example.com"
}' --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": {
    "profile_url": "https://example.com",
    "first_name": "Jane",
    "last_name": "Doe"
  }
}
```

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

## Input reference

Provide a B2B profile URL (for example, a professional social profile) to get full profile details. Rate limit: 300 requests/minute.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.profile_url` | `string` | Yes | — | Full URL of the B2B profile. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Provide a B2B profile URL (for example, a professional social profile) to get full profile details. Rate limit: 300 requests/minute.",
    "properties": {
      "profile_url": {
        "type": "string",
        "description": "Full URL of the B2B profile."
      }
    },
    "required": [
      "profile_url"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Personal profile information |
| `result.data.profile_url` | `string` | No | — | — |
| `result.data.first_name` | `string` | No | — | — |
| `result.data.last_name` | `string` | No | — | — |
| `result.data.full_name` | `string` | No | — | — |
| `result.data.public_identifier` | `string` | No | — | — |
| `result.data.headline` | `string` | No | — | — |
| `result.data.company_name` | `string` | No | — | — |
| `result.data.company_size` | `string` | No | — | — |
| `result.data.company_industry` | `string` | No | — | — |
| `result.data.company_linkedin_url` | `string` | No | — | — |
| `result.data.company_website` | `string` | No | — | — |
| `result.data.total_tenure_months` | `string` | No | — | — |
| `result.data.total_tenure_days` | `string` | No | — | — |
| `result.data.total_tenure_years` | `string` | No | — | — |
| `result.data.connections` | `integer` | No | — | — |
| `result.data.followers` | `integer` | No | — | — |
| `result.data.country` | `string` | No | — | — |
| `result.data.location` | `string` | No | — | — |
| `result.data.about` | `string` | No | — | — |
| `result.data.experiences` | `array` | No | — | — |
| `result.data.experiences[].company_id` | `string` | No | — | — |
| `result.data.experiences[].title` | `string` | No | — | — |
| `result.data.experiences[].subtitle` | `string` | No | — | — |
| `result.data.experiences[].caption` | `string` | No | — | — |
| `result.data.educations` | `array` | No | — | — |
| `result.data.educations[].title` | `string` | No | — | — |
| `result.data.educations[].caption` | `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": "Personal profile information",
        "properties": {
          "profile_url": {
            "type": "string"
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "public_identifier": {
            "type": "string"
          },
          "headline": {
            "type": "string"
          },
          "company_name": {
            "type": "string"
          },
          "company_size": {
            "type": "string"
          },
          "company_industry": {
            "type": "string"
          },
          "company_linkedin_url": {
            "type": "string"
          },
          "company_website": {
            "type": "string"
          },
          "total_tenure_months": {
            "type": "string"
          },
          "total_tenure_days": {
            "type": "string"
          },
          "total_tenure_years": {
            "type": "string"
          },
          "connections": {
            "type": "integer"
          },
          "followers": {
            "type": "integer"
          },
          "country": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "about": {
            "type": "string"
          },
          "experiences": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "company_id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "subtitle": {
                  "type": "string"
                },
                "caption": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "educations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "caption": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "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: `0.34` 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.