# Leadfeeder

Leadfeeder identifies companies visiting your website and converts them into high-value leads.

- **Category:** analytics
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 6
- **Triggers:** 0
- **Slug:** `LEADFEEDER`
- **Version:** 20260227_00

## Tools

### Get Account

**Slug:** `LEADFEEDER_GET_ACCOUNT`

Tool to retrieve the details of a specific account by ID. Use when you need to get information about a particular Leadfeeder account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The unique identifier of the account to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Accounts

**Slug:** `LEADFEEDER_GET_ACCOUNTS`

Tool to retrieve a list of accounts the user has access to. Use when you need to discover all available Leadfeeder accounts after authentication.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get All Visits

**Slug:** `LEADFEEDER_GET_ALL_VISITS`

Tool to retrieve all visits for a specific lead. Use when you need detailed visit history for a lead, optionally filtered by date range.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lead_id` | string | Yes | The ID of the lead to retrieve visits for |
| `end_date` | string | No | Filter visits on or before this date (YYYY-MM-DD) |
| `account_id` | string | Yes | The ID of the account to retrieve visits for |
| `start_date` | string | No | Filter visits on or after this date (YYYY-MM-DD) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Company Info by IP

**Slug:** `LEADFEEDER_GET_COMPANY_INFO_BY_IP`

Tool to retrieve company information based on an IP address. Use when you need to enrich an IP and obtain its company profile. Returns 404 if no match is found.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ip` | string | Yes | A valid IPv4 or IPv6 address to enrich, e.g. '185.70.216.139' or '2620:0:862:ed1a::1'. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Custom Feeds

**Slug:** `LEADFEEDER_GET_CUSTOM_FEEDS`

Retrieve all custom feeds configured for a Leadfeeder account. Custom feeds are saved filter configurations that help organize and segment company visits. Returns an empty list for accounts without premium features (402), non-existent accounts (404), or accounts with no custom feeds. Use LEADFEEDER_GET_ACCOUNTS first to obtain valid account IDs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `account_id` | string | Yes | Unique identifier of the Leadfeeder account. Use LEADFEEDER_GET_ACCOUNTS to retrieve available account IDs |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Tracking Script

**Slug:** `LEADFEEDER_GET_TRACKING_SCRIPT`

Tool to retrieve the website tracking script for a given account. Use when you need to obtain the JavaScript tracking code to be inserted on webpages for visitor tracking.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `account_id` | integer | Yes | ID of the Account to retrieve the tracking script for. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
