# Linktree Scraper – Bio Links, Emails & Social Profiles (`rl1987/linktree-scraper`) Actor

Turn any Linktree (linktr.ee) page into structured data: every link in display order with title, type, thumbnail and target URL, plus the bio, avatar, verified badge, social icons (Instagram, TikTok, YouTube, X, Facebook) and any published emails or phone numbers. Usernames or URLs, no login.

- **URL**: https://apify.com/rl1987/linktree-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 7 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 profile pages

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Linktree Scraper – Bio Links, Emails & Social Profiles

**Scrape any [Linktree](https://linktr.ee) profile in seconds.** Drop in a `linktr.ee` username or URL and get clean, structured data back: every **link** in display order, the profile bio, avatar, verification badge, social icons, and any **emails or phone numbers** published on the page. Scrape one creator or thousands in a single run.

Perfect for **lead generation, influencer research, and competitor analysis** — pull the exact URLs, contact details, and link structure behind any Linktree bio link, ready to export to a spreadsheet or push into your CRM.

Built on the **Apify platform**: run it from the web UI with no code, call it from the [API](https://docs.apify.com/api/v2), schedule recurring runs, and export to JSON, CSV, Excel, or Google Sheets.

### What can you do with the Linktree Scraper?

- **Generate leads** — extract emails, phone numbers, and outbound links from creators, brands, and businesses using Linktree.
- **Find and vet influencers** — see every platform and shop a creator promotes, plus whether their profile is verified.
- **Analyze competitors** — map how brands structure their bio links and where they send their traffic.
- **Build datasets at scale** — feed in a list of usernames and collect every profile into one exportable dataset.
- **Monitor changes** — schedule runs to track when a profile adds, removes, or reorders its links.

### How do I scrape a Linktree profile?

1. Click **Try for free** to open the Actor.
2. In the **Input** tab, paste one or more Linktree profiles — a full URL (`https://linktr.ee/spoilerplusac`) or just the username (`spoilerplusac`).
3. Click **Start**.
4. Watch the run finish, then open the **Output** tab and **download your data** as JSON, CSV, Excel, or HTML.

No coding, proxies, or setup required — it works out of the box.

### Which platforms and link types does it recognise?

The **social icon row** at the top of a profile comes back in `socialLinks`, each with the platform Linktree assigned it. Types seen in real profiles include `INSTAGRAM`, `TIKTOK`, `YOUTUBE`, `X`, `FACEBOOK`, `THREADS`, `TWITCH`, `PINTEREST`, `SOUNDCLOUD`, `MASTODON` and `EMAIL_ADDRESS` — an `EMAIL_ADDRESS` icon is one of the places an address turns up in the `emails` field.

The **body of the page** comes back in `links`, each with its own `type`:

| `type` | What it is |
| --- | --- |
| `CLASSIC` | An ordinary link button pointing at a URL. |
| `HEADER` | A section heading with no destination — useful for grouping, empty `url`. |
| `GROUP` | An expandable group; its children are flattened into the list right after it, in display order. |
| `YOUTUBE_VIDEO` | An embedded YouTube video block. |

Other block types Linktree introduces are passed through unchanged in the same shape, so the field is worth reading rather than assuming.

### How much does it cost to scrape Linktree?

The current price of every event is on the **Pricing** tab of this Actor's page in Apify Store. That tab is generated from the Actor's own pricing record, so it is always current, and your plan's rung is applied automatically. A figure repeated here would be a second copy that drifts out of date.

You can cap what any single run may spend with **Max total charge**.

### What input does it take?

| Field | Type | Description |
| --- | --- | --- |
| `startUrls` | array | Linktree profile URLs **or** bare usernames to scrape. A bare `username` is expanded to `https://linktr.ee/username`. |

Example input:

```json
{
    "startUrls": [
        { "url": "https://linktr.ee/spoilerplusac" },
        { "url": "https://linktr.ee/sneakrtweakr" }
    ]
}
```

### What does each row contain?

Every profile becomes one row in your dataset, downloadable as JSON, CSV, Excel, or HTML. Here's a sample result:

```json
{
    "url": "https://linktr.ee/spoilerplusac",
    "username": "spoilerplusac",
    "pageTitle": "@Manga Spoiler",
    "description": "...",
    "isVerified": true,
    "profilePictureUrl": "https://ugc.production.linktr.ee/....jpeg",
    "country": null,
    "tier": "free1",
    "createdAt": 1718791112000,
    "socialLinks": [
        { "type": "SOUNDCLOUD", "url": "https://soundcloud.com/spoilerplusac", "position": 1 }
    ],
    "emails": [],
    "phones": [],
    "linksCount": 9,
    "links": [
        {
            "id": "393748667",
            "title": "Manga Spoiler",
            "url": "https://spoilerplus.ac",
            "type": "CLASSIC",
            "position": 0,
            "thumbnail": "https://ugc.production.linktr.ee/....png",
            "locked": false,
            "metaTitle": "漫画をオンラインで読む",
            "metaDescription": "..."
        }
    ]
}
```

| Field | Description |
| --- | --- |
| `url` | The scraped profile URL. |
| `username` | Linktree handle. |
| `pageTitle` | Display name shown on the profile. |
| `description` | Profile bio / description. |
| `isVerified` | Whether the profile carries a verified badge. |
| `profilePictureUrl` | Avatar image URL. |
| `country` | Two-letter country code, when the profile publishes one (often `null`). |
| `tier` | The account's Linktree plan as Linktree labels it, e.g. `free1`, `pro`. |
| `createdAt` | When the profile was created, as a Unix timestamp in **milliseconds**. |
| `socialLinks` | The social icon row: platform `type`, `url` and `position`. |
| `emails` | Email addresses found in the profile's links, social icons and bio. |
| `phones` | Phone numbers taken from `tel:` / `sms:` links. |
| `linksCount` | Number of links in `links`, groups included. |
| `links` | Full ordered list of every link (see the table above for types). |

Every entry in `links` carries `id`, `title`, `url` (**any** target — website, `mailto:`, `tel:`, and more), `type`, display `position`, `thumbnail`, `locked` status, and the link's `metaTitle` / `metaDescription` when Linktree has them. Links nested inside a `GROUP` are flattened in display order, so nothing is missed.

### Tips for the best results

- **Usernames work too** — pass `spoilerplusac` instead of the full URL; both are accepted.
- **Batch your profiles** — put many usernames in one `startUrls` list to scrape them all in a single run.
- **Handles that resolve to nothing are skipped, not billed** — a username that does not exist, or one Linktree has blocked or suspended, produces no row and is not charged; the run log says which target was skipped and why. A real profile that simply has no links yet is still a result: it comes back with its `username` and `linksCount: 0`.
- **One bad profile never breaks the run** — a profile the Actor cannot fetch or parse is logged and skipped, and the rest of your list still finishes.
- **Automate it** — use [Schedules](https://docs.apify.com/platform/schedules) to keep your dataset fresh, or the [API](https://docs.apify.com/api/v2) and [integrations](https://docs.apify.com/platform/integrations) to send results straight to Google Sheets, Slack, or your database.

### Frequently asked questions

**Do I need a Linktree account, an API key or proxies?** No. The Actor fetches the public profile page itself over plain HTTP — no login, no key, and no proxy configuration to set up.

**Can I scrape emails and phone numbers from Linktree?** Yes, when the profile publishes them. Addresses found in a `mailto:` link, an `EMAIL_ADDRESS` social icon, a link title or the bio text land in `emails`; numbers from `tel:` and `sms:` links land in `phones`. A profile that publishes neither returns empty arrays rather than guesses.

**How many profiles can I scrape in one run?** As many as you put in `startUrls` — they are fetched one after another and each becomes one row. Cost scales with rows, so use the run's maximum-cost setting as a ceiling.

**Does it return click counts or Linktree analytics?** No. Only what the public page exposes: the profile, its social icons and its links. Visitor and click statistics are private to the account owner.

**Why did a profile come back empty or get skipped?** A target is skipped without a row and without a charge when the handle does not exist or Linktree has blocked or suspended it — the log line names the reason. A row with `linksCount: 0` means the opposite: a real profile that has not published any links. Pages that are password-protected, or whose structure Linktree has changed, are logged as parse failures — those are worth reporting on the **Issues** tab.

**Can I use it on other link-in-bio services?** No. It reads the data Linktree server-renders into its own pages, so it is `linktr.ee`-specific — other bio-link hosts need their own scraper.

**Is scraping Linktree legal?** This Actor collects only data that Linktree publishes **publicly** on profile pages. Scraping public data is generally legal, but you are responsible for how you use the results — comply with Linktree's Terms of Service and applicable data-protection laws (such as GDPR and CCPA) when handling personal data like emails and phone numbers.

### Support and custom solutions

Have a feature request or need a tailored scraper? Open a ticket on the **Issues** tab — feedback and custom-solution requests are welcome.

### Community research toolkit

Part of the **Community research toolkit** — research online communities and creators across forums, link-in-bio pages, and social platforms:

- [Reddit API Scraper](https://apify.com/rl1987/reddit-api-scraper) — Scrape Reddit posts, comments, search results, subreddits, and user profiles.
- [Discourse Community Scraper](https://apify.com/rl1987/discourse-community-scraper) — Generalised scraper for any Discourse-based community forum.
- [phpBB Forum Scraper](https://apify.com/rl1987/phpbb-forum-scraper) — Generic scraper for phpBB-powered forums.
- [Hacker News Scraper](https://apify.com/rl1987/hacker-news-scraper) — Scrape Hacker News by search, user, listing, or thread.
- [Social Blade Scraper — YouTube, TikTok, Instagram, Twitch Stats](https://apify.com/rl1987/social-blade-lookup) — Social Blade stats and growth projections for creators.

### Did you find this useful?

Rate this actor on Apify! Your feedback helps other users find it and helps us keep improving it.

# Actor input Schema

## `startUrls` (type: `array`):

Linktree profile URLs (or bare usernames) to scrape, e.g. https://linktr.ee/spoilerplusac

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://linktr.ee/spoilerplusac"
    }
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://linktr.ee/spoilerplusac"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/linktree-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://linktr.ee/spoilerplusac" }] }

# Run the Actor and wait for it to finish
run = client.actor("rl1987/linktree-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://linktr.ee/spoilerplusac"
    }
  ]
}' |
apify call rl1987/linktree-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/linktree-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hWHdZXBU75SyLjBAU/builds/xQ6gupdUghqmfR7m5/openapi.json
