How to get Linktree page
GET request to /v1/linktree/page with your input. You get clean JSON back in seconds for 4 credits per call — no OAuth, scraping or platform SDKs. Extract the links from a public Linktree page — title, URL, and order for each link.How to get Linktree page (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Linktree Page API
Send an authenticated GET request to /v1/linktree/page with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
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_..."What the response looks like
{
"success": true,
"data": {
"platform": "linktree",
"url": "https://linktr.ee/selenagomez",
"id": 4274511,
"username": "selenagomez",
"name": null,
"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,
"verticals": [],
"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",
"url": null,
"type": "GROUP",
"thumbnail": null
},
{
"id": "515273167",
"title": "Revival 10 Year Anniversary",
"url": null,
"type": "GROUP",
"thumbnail": null
},
{
"id": "508070161",
"title": "Selena Gomez Throwback Collection",
"url": null,
"type": "GROUP",
"thumbnail": null
}
],
"socials": [
{
"type": "FACEBOOK",
"url": "https://facebook.com/Selena",
"position": 0
},
{
"type": "INSTAGRAM",
"url": "https://instagram.com/selenagomez",
"position": 0
},
{
"type": "TIKTOK",
"url": "https://tiktok.com/@selenagomez",
"position": 0
},
{
"type": "SPOTIFY",
"url": "https://open.spotify.com/artist/0C8ZW7ezQVs4URX5aX7Kqx?si=vLUeKsFuTSKqHn7JJIr2Eg",
"position": 0
},
{
"type": "YOUTUBE",
"url": "https://youtube.com/selenagomez",
"position": 0
}
],
"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 (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request 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. |
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 get Linktree page?
Start free with 100 credits — no credit card required.
Get your free API key