Linktree Page API
Extract the links from a public Linktree page — title, URL, and order for each link.
GET request to /v1/linktree/page that responds with clean JSON and costs 4 credits. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.What is the Linktree Page API?
Paste a Linktree URL and get the page's public links as structured JSON: each link's title, destination URL, and position. Ideal for lead enrichment and competitor link-in-bio research.
What you get
- Page fields as clean structured JSON
- IDs, URLs, and titles where the platform exposes them
- Engagement or popularity signals when available
- Stable IDs for joining with other endpoints
Try it
Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).
Parameters
curl "https://api.captapi.com/v1/linktree/page?url=https%3A%2F%2Flinktr.ee%2Fselenagomez" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."Edit the parameters and the code updates instantly. Switch languages and hit copy.
Example response
{
"success": true,
"data": {
"platform": "linktree",
"url": "https://linktr.ee/selenagomez",
"id": 4274511,
"username": "selenagomez",
"description": "“In The Dark” & “I Said I Love You First...And You Said It Back” Out Now",
"avatar": "https://ugc.production.linktr.ee/2be337b1-59dd-41e2-9c2d-9ecd765d1a76_506310332-18609160939019724-3952420009186030627-n.jpeg",
"verified": false,
"timezone": "America/Los_Angeles",
"linkCount": 67,
"links": [
{
"id": "562048543",
"title": "Rare Beauty Social Impact Report",
"url": "https://cdn.shopify.com/s/files/1/0314/1143/7703/files/RB-SOCIAL-IMPACT-REPORT-2025_DIGITAL_V1_OPTIMIZED_SPREADS.pdf?v=1777921017",
"type": "CLASSIC",
"thumbnail": "https://ugc.production.linktr.ee/f68b8e4f-20cf-4273-971d-1c9ec47bd725_Screenshot-2026-05-05-at-9.01.27AM.png"
},
{
"id": "515274143",
"title": "Selena Gomez - Revival LP - Selena Gomez Official Shop",
"url": "https://store.selenagomez.com/collections/revival/products/revival-vinyl",
"type": "CLASSIC",
"thumbnail": "https://ugc.production.linktr.ee/c0e0b32d-a4d4-4cf1-9924-8772737244de_Revival.jpeg"
},
{
"id": "515270816",
"title": "In The Dark",
"type": "GROUP"
},
{
"id": "515273167",
"title": "Revival 10 Year Anniversary",
"type": "GROUP"
},
{
"id": "508070161",
"title": "Selena Gomez Throwback Collection",
"type": "GROUP"
}
],
"socials": [
{
"type": "FACEBOOK",
"url": "https://facebook.com/Selena"
},
{
"type": "INSTAGRAM",
"url": "https://instagram.com/selenagomez"
},
{
"type": "TIKTOK",
"url": "https://tiktok.com/@selenagomez"
},
{
"type": "SPOTIFY",
"url": "https://open.spotify.com/artist/0C8ZW7ezQVs4URX5aX7Kqx?si=vLUeKsFuTSKqHn7JJIr2Eg"
},
{
"type": "YOUTUBE",
"url": "https://youtube.com/selenagomez"
}
],
"socialAccounts": {
"facebook": "https://facebook.com/Selena",
"instagram": "https://instagram.com/selenagomez",
"tiktok": "https://tiktok.com/@selenagomez",
"spotify": "https://open.spotify.com/artist/0C8ZW7ezQVs4URX5aX7Kqx?si=vLUeKsFuTSKqHn7JJIr2Eg",
"youtube": "https://youtube.com/selenagomez",
"appleMusic": "https://music.apple.com/us/artist/selena-gomez/280215834",
"twitter": "https://x.com/selenagomez"
}
}
}Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.
Response structure
A successful call returns success, cached, creditsUsed, and a data object with the following fields:
Top-level fields
platformPlatform identifier (e.g. youtube, instagram).urlCanonical URL of the item.idStable platform ID for the item.usernameAccount username / handle.descriptionDescription text.avatarAvatar image URL.verifiedWhether the account is verified.timezoneTimezone. Example: "America/Los_Angeles".linkCountNumber of links on the page.
Links
Each item in links contains:
idStable platform ID for the item.titleTitle of the item.urlCanonical URL of the item.typeContent type of the item.thumbnailThumbnail image URL.
Socials
Each item in socials contains:
typeContent type of the item.urlCanonical URL of the item.
Social accounts
The socialAccounts object contains:
facebookFacebook URL.instagramInstagram URL.tiktokTiktok URL.spotifySpotify URL.youtubeYoutube URL.appleMusicApple music URL.twitterTwitter URL.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Linktree profile URL or username. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 4 credits. Pass cache=true for a free 24h cache hit; default is always fresh.
How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Send one request to
/v1/linktree/pageand parse the JSON response.
Use cases
Analytics
Track views, likes, and engagement over time.
Competitor Monitoring
Benchmark the performance of other creators.
Dashboards
Power reporting and BI with real metadata.
Content Curation
Filter and rank videos by performance.
Frequently asked questions
What does the Linktree Page API do?+
The Linktree Page API lets you fetch full metadata and key stats from a public Linktree page using one GET request to /v1/linktree/page. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Linktree Page API cost?+
Each successful call costs 4 credits. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a Linktree API key or OAuth?+
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the Linktree Page API suitable for production use?+
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
Ready to use the Linktree Page API?
Sign up, grab your key, and make your first call in 60 seconds.