# Linktree Scraper - Bio Links, Emails, Phones & Socials (`topapi/linktree-scraper`) Actor

Scrape Linktree and other link-in-bio pages (Stan, Komi, Bio Sites, Taplink, link.me, Carrd): name, bio, every link, social profiles and the emails, phones and WhatsApp numbers the page publishes. URLs, usernames, Linktree's directory, related profiles, monitor mode. $0.90 per 1,000 pages.

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

## Pricing

$0.90 / 1,000 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

### What does Linktree Scraper do?

**Linktree Scraper** turns link-in-bio pages into one structured row per page: the name and bio, every link with its title and URL, every social profile, and the emails, phone numbers and WhatsApp numbers the page itself publishes - each contact tagged with where on the page it was found. Paste Linktree URLs or usernames, read whole categories of Linktree's public profile directory, or snowball through the related profiles every Linktree page lists. Stan, Komi, Bio Sites, Taplink, link.me, AllMyLinks, solo.to, Carrd and other link pages work in the same run, in the same row shape.

Linktree scraper - link in bio scraper - Linktree email scraper - bio link extractor

- **Every link and social profile:** title, URL, type, position, thumbnail, group, locked/gated flag; socials with network and handle
- **Contacts the page publishes, with their source:** email button, mailto/tel/WhatsApp link, bio text, link titles - nothing guessed, nothing looked up elsewhere
- **Linktree in full:** country, time zone, plan, verified badge, categories, account id, created and updated dates, shop products with prices, sensitive-content and password flags
- **Find pages you do not have yet:** Linktree's profile directory by category (13 categories, 96 subcategories), related-profile discovery, and linked bio pages
- **Monitor mode:** only new or changed pages on each run, with the links added and removed
- **No login, cookies or API key:** plain page reads, nothing to sign up for
- **Pay per page delivered:** no start fee; pages not found, refused or filtered out cost nothing

### What data can you get from a link-in-bio page?

<table>
<tr>
<td>👤 Name (<code>displayName</code>), username, bio</td>
<td>🖼️ Profile picture (<code>avatarUrl</code>)</td>
<td>✅ Verified badge (<code>isVerified</code>)</td>
</tr>
<tr>
<td>📧 Emails (<code>emails</code>, <code>primaryEmail</code>)</td>
<td>☎️ Phones (<code>phones</code>, <code>primaryPhone</code>)</td>
<td>💬 WhatsApp numbers (<code>whatsapp</code>)</td>
</tr>
<tr>
<td>🧭 Where each contact was found (<code>contactSources</code>)</td>
<td>🔗 Every link (<code>links</code>, <code>regularLinks</code>)</td>
<td>📱 Social profiles (<code>socialLinks</code>)</td>
</tr>
<tr>
<td>🌐 Websites the links lead to (<code>websites</code>, <code>primaryWebsite</code>)</td>
<td>🛍️ Products with prices (<code>products</code>)</td>
<td>🌍 Country and time zone (Linktree)</td>
</tr>
<tr>
<td>💳 Plan (<code>tier</code>) and categories (<code>verticals</code>)</td>
<td>📅 Created and updated dates</td>
<td>🔒 Locked links, sensitive content, page password</td>
</tr>
<tr>
<td>👥 Related profiles (<code>relatedProfiles</code>, optional)</td>
<td>📇 "Save contact" cards (<code>contactCards</code>)</td>
<td>🔁 Change type and what changed (monitor mode)</td>
</tr>
</table>

On a 1,119-page run over Linktree's Music directory, 16% of pages published an email, 20% at least one email, phone or WhatsApp number, 42% social profiles, 61% a bio and 58% a country; 99% had at least one link. On 348 pages from the Business, Creative, Health & Wellness and Education directories, 18% had an email and 28% a contact of some kind.

### Which link-in-bio services are supported?

| Service | Page | What is read |
|---|---|---|
| **Linktree** | `https://linktr.ee/<name>` or a username | Everything in the table above |
| **Stan** | `https://stan.store/<name>` | Name, bio, avatar, socials, every product / membership / link with prices, emails written on the page |
| **Komi** | `https://<name>.komi.io` | Name, avatar, socials, every module link (groups, music, videos, products with prices) |
| **Bio Sites** (Squarespace) | `https://bio.site/<name>` | Name, bio, avatar, socials, links |
| **Taplink** | `https://taplink.cc/<name>` | Name, text blocks, avatar, links, socials and messengers, plan |
| **link.me** | `https://link.me/<name>` | Name, bio, avatar, socials, links, email button |
| **AllMyLinks** | `https://allmylinks.com/<name>` | Name, bio, avatar, socials, links, email links |
| **solo.to** | `https://solo.to/<name>` | Name, bio, socials, links, email button |
| **Carrd, Milkshake** and any other link page | the page URL | Name, description, image, every outbound link, socials, mailto/tel links, emails and phones written on the page, schema.org contact data |
| Beacons, bio.link, Lnk.Bio, direct.me | - | These sites refused every request in our tests (Cloudflare). The page is reported as `refused` and not charged. |

Pages that are app shells with nothing in the page itself (Pillar, Later linkin.bio, hoo.be) come back as "no profile on the page", not charged.

### How to scrape Linktree with Linktree Scraper

1. [Create a free Apify account](https://console.apify.com/sign-up) - $5 of monthly credit, no card needed.
2. Open [Linktree Scraper](https://apify.com/TopApi/linktree-scraper) and click **Try for free**.
3. Paste page URLs into **Page URLs** (or usernames into **Usernames**, or pick **Linktree directory categories**) and set **Max results**.
4. Click **Start**. Pages stream into the dataset as they are read.
5. Open the **Storage** tab and **Export** as JSON, CSV or Excel - or put the run on a schedule with **Monitor mode** on.

### ⬇️ Input

| Parameter | Type | Description |
|---|---|---|
| **🔍 What to scrape** | | |
| `startUrls` | List | Link-in-bio page URLs, one per line, any service mixed. A bare name is read on the service below. |
| `usernames` | List | Usernames (with or without @), read on `platform`. |
| `platform` | Select | Service for bare usernames: linktree (default), stan, komi, biosites, taplink, linkme, allmylinks, solo and others. |
| `urlsFromFile` | File / URL | A text or CSV file (uploaded or a remote link) with URLs or usernames in the first column. |
| **🧭 Discovery** | | |
| `directoryCategories` | Multi-select | Linktree's profile directory: 13 categories (All, Business, Creative, Education, Entertainment, Fashion & Beauty ...) and 96 subcategories (Real Estate, Music, Fitness, Nutrition, Marketing & Advertising ...). |
| `directoryStartPage` / `maxDirectoryPages` | Integer | First directory page (default 1) and pages per category (default 5, ~18 profiles a page). |
| `discoverRelatedProfiles` | Boolean | Also scrape the ~55 related profiles every Linktree page lists. `discoveryDepth` sets the hops (default 1). |
| `includeRelatedProfiles` | Boolean | List the related usernames on each row without scraping them (and read Linktree's noindex flag). |
| `followLinkedBioPages` | Boolean | When a page links to another bio-link page (a Linktree button to a Stan store), scrape that page too. |
| **🎯 Filters** (before you are charged) | | |
| `hasEmailOnly` / `hasContactOnly` | Boolean | Only pages with an email / with an email, phone or WhatsApp number. |
| `verifiedOnly` | Boolean | Only pages with the verified badge. |
| `countries` | List | ISO codes, e.g. `US`, `GB`, `BR` (Linktree account country). |
| `minLinks` | Integer | Minimum number of links (default 0). |
| `keywords` / `excludeKeywords` | List | Keep / drop pages whose name, username, bio or link titles contain one of the words. |
| `excludeSensitive` | Boolean | Leave out pages marked sensitive (Linktree's 18+ warning). |
| **📦 Output** | | |
| `maxResults` | Integer | Most pages delivered and charged (default 100; 0 = no limit). |
| `outputFormat` | Select | One row per page (default) or one row per link with the page's name and contacts on each (one charge per page either way). |
| `includeProducts` | Boolean | Products and offers with prices (default on). |
| `includeTheme` / `includeRawData` | Boolean | Page theme and banner / the service's own page data. |
| `compact` | Boolean | Core fields only, for AI agents and CRMs. |
| `includeUnavailable` | Boolean | A free status row for each page not found, without a profile or refused. |
| **🔁 Monitoring** | | |
| `monitorMode` | Boolean | Remember the pages and deliver only new or changed ones next time. |
| `monitorStoreName` | Text | Name of the memory (one per list). |
| `monitorDeliver` | Select | New and changed (default), only new (known pages are not read at all), or every page with its change type. |
| `monitorRecheckHours` | Integer | A known page checked within this many hours is not read again (default 24; 0 = read all every run). |
| `resetMonitor` | Boolean | Forget every page the store remembers before this run. |
| **⚙️ Advanced** | | |
| `proxyConfiguration` | Proxy | Default: the run's own connection, then an Apify datacenter proxy, then a residential one, each only if a site refuses the one before. |
| `maxConcurrency` | Integer | Pages read at once (default 20). |

Field names other link-in-bio actors use are accepted too (`profileUrls`, `profiles`, `urls`, `maxItems`, `maxProfiles`, `categories`, `subCategories`, `maxPagesPerCategory`, `onlyWithEmail`, `requireEmail`, `countryFilter`, `includeZeroLinkProfiles`, `monitorKey` ...), so an existing input can be pasted as it is.

#### Input JSON

```json
{
  "startUrls": ["https://linktr.ee/selenagomez", "https://stan.store/CoachPower", "https://kennyg.komi.io"],
  "usernames": ["garyvee"],
  "maxResults": 100,
  "hasContactOnly": false
}
```

#### Build a lead list from Linktree's directory

Pick a category, a page range and the contact filter: `{"directoryCategories": ["real-estate"], "maxDirectoryPages": 50, "hasEmailOnly": true, "maxResults": 500}`. Pages without an email are read but not delivered or charged. **Do:** paste profile URLs (`https://linktr.ee/<name>`). **Don't:** paste an Instagram or TikTok profile URL - it is skipped with a note, because a page of the same name on Linktree may belong to someone else.

#### Watch a list for changes

Turn on **Monitor mode** with a name per list and schedule the run (daily, hourly). The first run delivers every page; later runs deliver only pages that are new or changed, with `changeType` and `changes.addedLinks` / `changes.removedLinks` / `changes.changedFields`. A run within the re-check window that finds nothing new reads nothing and delivers nothing, so nothing is charged.

### ⬆️ Output

One dataset item per page. A real row from a run over Linktree's Education directory (links trimmed):

```json
{
  "platform": "linktree",
  "username": "work4freshers.com",
  "profileUrl": "https://linktr.ee/work4freshers.com",
  "displayName": "@work4freshers | Job Updates",
  "bio": "Daily Job Updates BE| BTech| MTech | BCA | MCA | BBA | BBM | MSc | MBA | Diploma",
  "isVerified": false,
  "emails": ["info@work4freshers.com"],
  "primaryEmail": "info@work4freshers.com",
  "contactSources": [{ "type": "email", "value": "info@work4freshers.com", "sources": ["emailButton"] }],
  "socialLinks": [
    { "type": "INSTAGRAM", "url": "https://instagram.com/work4freshers", "handle": "work4freshers", "position": 1 },
    { "type": "LINKEDIN", "url": "https://www.linkedin.com/company/work4freshers", "handle": "work4freshers", "position": 2 }
  ],
  "links": [
    { "id": "253705799", "title": "Join our telegram channel for more job updates", "url": "https://telegram.dog/work4freshers", "type": "CLASSIC", "position": 2, "locked": false, "groupTitle": null, "isSocial": false }
  ],
  "linkCount": 237,
  "primaryWebsite": "https://work4freshers.com",
  "country": "IN",
  "timezone": "Asia/Calcutta",
  "tier": "free1",
  "category": "consultant",
  "verticals": ["education"],
  "accountId": 52892962,
  "createdAt": "2022-09-14T13:32:20.000Z",
  "updatedAt": "2026-08-25T20:57:00.000Z",
  "discoveredVia": "directory:c/education/page-1",
  "scrapedAt": "2026-11-06T09:22:37.280Z"
}
```

#### Fields

| Field | What it is | Filled (1,119 Linktree pages) |
|---|---|---|
| `platform`, `username`, `profileUrl`, `sourceUrl` | Service, handle, canonical URL, your input | 100% |
| `displayName`, `pageTitle`, `avatarUrl` | Name and picture shown on the page | 100% |
| `bio` | The owner's bio text | 61% |
| `emails`, `primaryEmail` | Every email the page publishes, button first | 16% |
| `phones`, `primaryPhone` | Phone numbers (E.164 where the number allows it) | 1% phones, 5% phone or WhatsApp |
| `whatsapp` | WhatsApp numbers from wa.me / WhatsApp links | 4% |
| `contactSources` | Each contact with `sources`: `emailButton`, `link`, `bio`, `linkTitle`, `page`, `structuredData` | 20% |
| `socialLinks` | `{type, url, handle, position}` per social profile | 42% |
| `links`, `regularLinks` | Every link / the links that are not socials or contacts: `{id, title, url, type, position, thumbnail, description, locked, gateType, groupId, groupTitle, isSocial}` | 99% / 92% |
| `linkCount`, `socialLinkCount` | Counts | 100% |
| `websites`, `primaryWebsite` | Sites the links lead to; the first whose domain carries the owner's name (null when none does) | 73% / 22% |
| `country`, `timezone` | Account country (ISO) and time zone | 58% / 100% |
| `tier` | Linktree plan code (free, free1, paid1-3, pro) | 100% |
| `category`, `verticals` | Linktree's SEO vertical (else the owner's first category); the owner's categories | 100% |
| `isVerified`, `badges` | The verified tick and the badge names | 2.8% verified |
| `accountId`, `createdAt`, `updatedAt`, `isActive` | Linktree account facts | 100% |
| `hasPagePassword`, `hasSensitiveContent`, `contentGating` | Page protection flags | 100% (0.1% sensitive) |
| `hasShop`, `products`, `productCount` | Shop items with price, sale price and currency | 3.2% have a shop |
| `contactCards` | Titles of "Save contact" cards (their details sit behind a human check and are not read) | 1% |
| `metaTitle`, `metaDescription` | SEO title and description | 100% |
| `relatedProfiles`, `shouldNoIndex` | With `includeRelatedProfiles` or discovery on: related usernames (~55 a page) and Linktree's noindex flag | when asked |
| `platformDetails` | Other facts the service publishes (account uuid, Stan store id and currency, Taplink plan, Komi profile id ...) | 100% |
| `changeType`, `changes` | Monitor mode: NEW / UPDATED / UNCHANGED and what changed | monitor runs |
| `discoveredVia`, `scrapedAt` | How the page was found; when it was read | 100% |

Every contact is one the page shows: an email or phone button, a mailto:, tel: or WhatsApp link, or text the owner wrote in the bio, a link title or (on generic pages) the page body. Inboxes of the services themselves (support@ addresses of Linktree, AllMyLinks and the like) are left out. Linktree pinned links, when a page has them, lead the `links` list with `pinned: true` (none of the 1,467 pages measured had one).

### How can I use link-in-bio data?

- 🎯 **Influencer and creator agencies** - turn a list of creators' bio links into emails, WhatsApp numbers and every social handle in one pass
- 🏢 **B2B lead generation** - read Linktree's directory by category (Real Estate, Coaching, Restaurants ...) and keep only pages with an email
- 🛍️ **Affiliate and brand teams** - see which stores, products and affiliate links creators put in front of their audience, with prices
- 🔗 **Social-graph enrichment** - map one bio link to the creator's Instagram, TikTok, YouTube, X, Spotify and LinkedIn
- 📈 **Monitoring** - schedule a list and get only the pages whose links, bio or contacts changed
- 🤖 **AI and research teams** - compact rows with every link and its title, ready for an LLM or a database

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

Pay per page: **$0.90 per 1,000 pages** ($0.0009 a page), no start fee. You are charged only for pages delivered to the dataset; pages not found, refused by a site, filtered out or unchanged in monitor mode cost nothing. With **One row per link**, a page is still one charge.

| Pages | Cost |
|---:|---:|
| 10 | $0.009 |
| 100 | $0.09 |
| 1,000 | $0.90 |
| 10,000 | $9.00 |

Set a maximum charge for the run and the run stops cleanly at it (measured: a $0.01 limit delivered 11 pages, $0.0099). Apify platform usage is included in the price; there is nothing else to pay. Speed: a run reads **about 150 Linktree pages a minute** (2.5 a second, the first 15 at once), which keeps it under the rate Linktree allows one connection. Measured: 1 page in 3 s, 5 pages in 5 s, 1,200 directory pages in 9 minutes. Other services are not paced.

### Integrations, API, scheduling & MCP

- **Schedules:** run it hourly, daily or weekly from the **Schedules** tab; with **Monitor mode** on, each run returns only what is new or changed.
- **Webhooks:** call your URL when a run finishes and push the rows to a CRM, Slack or a sheet.
- **No-code:** Make, Zapier, n8n, Google Sheets, Airtable and Slack through [Apify integrations](https://docs.apify.com/integrations).
- **API:** call it from Node.js or Python with `apify-client` - code on the [API tab](https://apify.com/TopApi/linktree-scraper/api/python) and the [Apify API reference](https://docs.apify.com/api/v2).
- **MCP / AI agents:** connect Claude, Cursor or any MCP client through the [MCP tab](https://apify.com/TopApi/linktree-scraper/api/mcp) and ask for a creator's links and contacts in plain language.

### More social and lead actors

<table>
<tr>
<td>📸 <a href="https://apify.com/TopApi/instagram-contact-scraper">Instagram Email Scraper</a> - from an Instagram account to its bio links and contacts</td>
<td>👤 <a href="https://apify.com/TopApi/instagram-profile-scraper">Instagram Profile Scraper</a></td>
<td>🎵 <a href="https://apify.com/TopApi/tiktok-user-search-scraper">TikTok User Search Scraper</a></td>
</tr>
<tr>
<td>🐦 <a href="https://apify.com/TopApi/x-profile-scraper">X (Twitter) Profile Scraper</a></td>
<td>💻 <a href="https://apify.com/TopApi/github-scraper">GitHub Scraper</a></td>
<td>🧭 <a href="https://apify.com/TopApi">All TopApi actors</a></td>
</tr>
</table>

### Limits & empty runs

- **Beacons, bio.link, Lnk.Bio and direct.me** refused every request in our tests (Cloudflare). Their pages come back as `refused` and are not charged.
- **Linktree "Save contact" cards** show their email and phone only after a human check: the card's title is delivered in `contactCards`, its details are not.
- **Linktree limits how fast one connection may read** (it refused one connection at about 300 requests a minute). Runs read about 150 Linktree pages a minute, so 1,000 pages take about 7-9 minutes. If Linktree still asks the run to slow down, the run waits and reads more slowly; a page that cannot be read is reported, never charged. If every connection is refused, the run ends with a clear status and nothing charged.
- **App-shell pages** (Pillar, Later linkin.bio, hoo.be) have nothing in the page itself: "no profile on the page", not charged.
- **Deleted or renamed pages** answer "not found" and are not charged; `includeUnavailable` lists them as free status rows.
- **Social-network URLs** (instagram.com, tiktok.com ...) are not bio-link pages and are skipped with a note.

### FAQ

#### Do I need a Linktree account or an API key?

No. The actor reads the public pages, the same ones any visitor sees, with no login and no key.

#### Where do the emails and phone numbers come from?

Only from the page: its email and phone buttons, mailto:, tel: and WhatsApp links, and text the owner wrote in the bio or the link titles. `contactSources` names the place for each one. Nothing is guessed and nothing is looked up on other sites.

#### Why does a page have no email?

Most creators do not publish one: 16-18% of Linktree pages measured had an email, 20-28% some contact. Use **Only pages with an email** to receive (and pay for) only those.

#### Can I give it a list of usernames?

Yes - put them in **Usernames** (Linktree by default, or pick another service), or upload a CSV in **URLs or usernames from a file**.

#### Can it find Linktree pages for me?

Yes: pick **Linktree directory categories** (over 21,000 directory pages in "All"), turn on **Also scrape related Linktree profiles** to follow the ~55 related profiles each page lists, or **Follow linked bio-link pages**.

#### Does it work on Stan, Komi and other services?

Yes - Stan, Komi, Bio Sites, Taplink, link.me, AllMyLinks, solo.to, Carrd, Milkshake and any other link page, mixed in one list, in the same row shape. Beacons, bio.link, Lnk.Bio and direct.me refused our requests and are reported as refused.

#### How do I get one row per link instead of one per page?

Set **Output format** to **One row per link**. Each link row carries the page's name and contacts; a page is charged once.

#### What does monitor mode deliver?

New pages and pages whose links, bio, name or contacts changed, with `changeType` and `changes` (links added and removed, fields changed). Known pages checked within **Re-check known pages after** hours are not read again.

#### Is the verified flag the blue tick?

Yes: `isVerified` is true when the page shows Linktree's verified tick (`badges` names it). Linktree's own `isProfileVerified` data flag is true on every page measured, so it is kept in `platformDetails` only.

#### How fast is it?

About 150 Linktree pages a minute: 1 page in 3 s, 5 pages in 5 s, 1,200 pages in about 9 minutes. The pace keeps a run under Linktree's limit on one connection, so a big run is slower but complete.

#### Can I use it from an AI agent?

Yes, through the Apify API or the MCP server. Turn on **Compact output** for small rows with the name, bio, contacts, socials and links.

# Actor input Schema

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

Link-in-bio pages, one per line, any service mixed: https://linktr.ee/<name>, https://stan.store/<name>, https://<name>.komi.io, https://bio.site/<name>, https://taplink.cc/<name>, https://link.me/<name>, https://<name>.carrd.co, any other link page. A bare name is read on the service below.

## `usernames` (type: `array`):

Usernames (with or without @) read on the service chosen below, e.g. selenagomez, @garyvee. One per line.

## `platform` (type: `string`):

Where bare usernames live. Full URLs are always read on their own service.

## `urlsFromFile` (type: `array`):

Optional: upload a text or CSV file, or link a remote list (Google Sheet as CSV, a URL list), with page URLs or usernames in the first column. Merged with the lists above.

## `directoryCategories` (type: `array`):

Read Linktree's own public profile directory (linktr.ee/discover/profile-directory): ~18 profiles a page, pages in the directory's order. Pick categories or subcategories, e.g. Real Estate, Music, Fitness (Nutrition), Marketing Advertising.

## `directoryStartPage` (type: `integer`):

Directory page to start at (1 = the first). Use it to continue where an earlier run stopped.

## `maxDirectoryPages` (type: `integer`):

Directory pages read per category (~18 profiles each). "All profiles" has over 21,000 pages; Max results stops the run first.

## `discoverRelatedProfiles` (type: `boolean`):

Every Linktree page lists 10 trusted and ~45 related profiles. On: they are scraped too (snowball discovery), up to Max results.

## `discoveryDepth` (type: `integer`):

How many hops related-profile discovery and linked-page following go from your pages: 1 = their related profiles only, 2 = theirs too.

## `includeRelatedProfiles` (type: `boolean`):

Add the usernames of the related profiles each Linktree page lists (relatedProfiles) and Linktree's noindex flag, without scraping them. Always on with discovery. Off by default: pages are then read only up to what the row needs (half the bytes).

## `followLinkedBioPages` (type: `boolean`):

When a page links to another link-in-bio page (a Linktree button to a Stan store, a Komi page to a Linktree), scrape that page too.

## `hasEmailOnly` (type: `boolean`):

Deliver (and charge) only pages that publish at least one email address.

## `hasContactOnly` (type: `boolean`):

Deliver only pages that publish an email, a phone number or a WhatsApp number.

## `verifiedOnly` (type: `boolean`):

Deliver only pages with the service's verified badge (Linktree).

## `countries` (type: `array`):

Deliver only pages whose account country is one of these ISO codes, e.g. US, GB, BR (Linktree pages carry a country).

## `minLinks` (type: `integer`):

Deliver only pages with at least this many links. 0 = any.

## `keywords` (type: `array`):

Deliver only pages whose name, username, bio or link titles contain one of these words, e.g. coach, realtor, podcast.

## `excludeKeywords` (type: `array`):

Leave out pages whose name, username, bio or link titles contain one of these words.

## `excludeSensitive` (type: `boolean`):

Leave out pages the service marks as sensitive (Linktree's 18+ warning).

## `maxResults` (type: `integer`):

Most pages delivered (and charged) in the run. 0 = no limit.

## `outputFormat` (type: `string`):

One row per page (links nested), or one row per link with the page's name and contacts on each (one charge per page either way).

## `includeProducts` (type: `boolean`):

Products and offers shown on the page (Linktree shop items, Stan products and memberships, Komi products) with prices.

## `includeTheme` (type: `boolean`):

Page theme (colours, style) and banner image.

## `includeRawData` (type: `boolean`):

Attach the service's own page data (Linktree's page JSON, Komi's profile JSON ...) to each row as rawData. Large rows.

## `compact` (type: `boolean`):

Core fields only (name, bio, emails, phones, socials, links, website): small rows for AI agents, MCP clients and CRMs.

## `includeUnavailable` (type: `boolean`):

Also write a free status row for every page that was not found, had no profile on it or was refused (status + reason), so the output lines up with your list.

## `monitorMode` (type: `boolean`):

Remember every page delivered (in the store named below) and on the next run deliver only pages that are new or changed (links added or removed, bio, name, contacts), with what changed. Pairs with a schedule.

## `monitorStoreName` (type: `string`):

Name of the key-value store that remembers the pages. Give each list its own name. Letters, digits and hyphens.

## `monitorDeliver` (type: `string`):

New and changed pages (default), only pages never seen before (known pages are not even read - the cheapest way to watch a directory category), or every page with its change type.

## `monitorRecheckHours` (type: `integer`):

New and changed modes: a page checked less than this many hours ago is not read again, so a run scheduled every hour re-reads each page once a day. 0 = read every page on every run.

## `resetMonitor` (type: `boolean`):

Forget every page remembered in the store above before this run.

## `proxyConfiguration` (type: `object`):

Default: the run's own connection, then an Apify datacenter proxy, then a residential one, each only if a site refuses the one before. Pick a group or your own proxies to use only those.

## `maxConcurrency` (type: `integer`):

Pages read at once. 20 is a safe default at 256 MB; above 30, give the run 512 MB (the most it allows). Linktree pages are paced at about 150 a minute whatever this is set to.

## Actor input object example

```json
{
  "startUrls": [
    "https://linktr.ee/selenagomez",
    "https://linktr.ee/garyvee",
    "https://linktr.ee/natgeo",
    "https://stan.store/CoachPower",
    "https://kennyg.komi.io"
  ],
  "platform": "linktree",
  "directoryStartPage": 1,
  "maxDirectoryPages": 5,
  "discoverRelatedProfiles": false,
  "discoveryDepth": 1,
  "includeRelatedProfiles": false,
  "followLinkedBioPages": false,
  "hasEmailOnly": false,
  "hasContactOnly": false,
  "verifiedOnly": false,
  "minLinks": 0,
  "excludeSensitive": false,
  "maxResults": 20,
  "outputFormat": "profiles",
  "includeProducts": true,
  "includeTheme": false,
  "includeRawData": false,
  "compact": false,
  "includeUnavailable": false,
  "monitorMode": false,
  "monitorStoreName": "linktree-monitor",
  "monitorDeliver": "newAndChanged",
  "monitorRecheckHours": 24,
  "resetMonitor": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 20
}
```

# Actor output Schema

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

One item per link-in-bio page (or one per link with "One row per link").

# 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": [
        "https://linktr.ee/selenagomez",
        "https://linktr.ee/garyvee",
        "https://linktr.ee/natgeo",
        "https://stan.store/CoachPower",
        "https://kennyg.komi.io"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("topapi/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": [
        "https://linktr.ee/selenagomez",
        "https://linktr.ee/garyvee",
        "https://linktr.ee/natgeo",
        "https://stan.store/CoachPower",
        "https://kennyg.komi.io",
    ],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("topapi/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": [
    "https://linktr.ee/selenagomez",
    "https://linktr.ee/garyvee",
    "https://linktr.ee/natgeo",
    "https://stan.store/CoachPower",
    "https://kennyg.komi.io"
  ],
  "maxResults": 20
}' |
apify call topapi/linktree-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,topapi/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/5ckU6ZDROwWTkJ93T/builds/Tc7kI1Vu4lBheIwhN/openapi.json
