LurkAPI
Docs · Linktree page

Linktree page

A public Linktree profile, its link cards and listed social accounts.

1 credit per callFresh within 1 dayMCP tool: linkinbio_linktree
GEThttps://api.lurkapi.com/v1/linktree

Example responseView as markdown

When to use this

Pass a linktr.ee profile URL. Returns the profile's title, bio, picture, categories, public link cards and social links in the page's order. Link cards without a destination (such as a header or embedded shop) have url: null. Locked link destinations are withheld. Missing pages return 404 not_found; pages requiring a password or content consent return 403 not_public. Results are cached for up to one day. This endpoint reads the page and does not follow its outgoing links.

Parameters

All parameters go in the query string.

ParameterDescription
url
stringrequired
The creator's Linktree profile URL, such as https://linktr.ee/linktree. Tracking parameters are ignored.
Example
https://linktr.ee/miguelangeles

Example request

Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.

Language

Example response

A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….

Show the example response (3 KB)
{
  "success": true,
  "credits_remaining": 999942,
  "credits_charged": 1,
  "id": 15278008,
  "username": "miguelangeles",
  "pageTitle": "MIGUEL ANGELES",
  "profilePictureUrl": "https://ugc.production.linktr.ee/d3141538-f586-4f3f-bc9a-a82fbebab798_DE…",
  "description": "☆☆☆☆ IRL ANGEL ☆☆☆☆\nψ EMBRACE CHAOS ψ",
  "verticals": [
    "music",
    "creative",
    "arts-entertainment"
  ],
  "linkPlatforms": [
    "TikTok",
    "Instagram"
  ],
  "timezone": "America/New_York",
  "links": [
    {
      "id": 463416775,
      "type": "SPOTIFY_ALBUM",
      "title": "new project \"BEFORE THE SUN RISES & WINTERR ENDS\"",
      "url": "https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG?si=Zub7J4I3RySAaM9WVX3Okg",
      "thumbnailUrl": "https://ugc.production.linktr.ee/8ed131c7-6d74-47fc-bceb-8be7f6bae4c8_ab…",
      "locked": false
    },
    {
      "id": 460281204,
      "type": "SPOTIFY_SONG",
      "title": "stream \"NOVEMBERR\"",
      "url": "https://open.spotify.com/track/62HnBMEdZjeFCd2T8g37T8?si=7bd35dd0e9f24d65",
      "thumbnailUrl": "https://ugc.production.linktr.ee/3bd59146-cd44-4187-9601-4341b21070d2_ab…",
      "locked": false
    }
  ],
  "socialLinks": [
    {
      "type": "INSTAGRAM",
      "url": "https://instagram.com/miguelangeles"
    },
    {
      "type": "SPOTIFY",
      "url": "https://open.spotify.com/artist/14xRX3JR8H4RWh8R7V3fvZ?si=EgRxWIPiRcaEHtSnqk5PAQ"
    },
    {
      "type": "SOUNDCLOUD",
      "url": "https://soundcloud.com/miguelangeles"
    },
    {
      "type": "YOUTUBE",
      "url": "https://www.youtube.com/watch?v=xiFUzOJaiC4"
    },
    {
      "type": "APPLE_MUSIC",
      "url": "https://music.apple.com/ca/artist/miguel-angeles/1209423162"
    },
    {
      "type": "TIKTOK",
      "url": "https://tiktok.com/@irlangel"
    },
    {
      "type": "EMAIL_ADDRESS",
      "url": "mailto:miguel@irlangel.com"
    }
  ],
  "instagram": "https://instagram.com/miguelangeles",
  "tiktok": "https://tiktok.com/@irlangel",
  "spotify": "https://open.spotify.com/artist/14xRX3JR8H4RWh8R7V3fvZ?si=EgRxWIPiRcaEHtSnqk5PAQ",
  "youtube": "https://www.youtube.com/watch?v=xiFUzOJaiC4",
  "soundcloud": "https://soundcloud.com/miguelangeles",
  "apple_music": "https://music.apple.com/ca/artist/miguel-angeles/1209423162",
  "email_address": "miguel@irlangel.com"
}

Response fields

Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.

Show all 28 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
idintegerLinktree account id.
usernamestringThe profile's Linktree username.
pageTitlestringProfile title; the username when no title is set.
profilePictureUrlstringnullableProfile picture URL; null when no picture is set.
descriptionstringnullableProfile bio as plain text; null when none is set.
verticalsstring[]Creator categories selected on Linktree, such as music or internet-technology.
linkPlatformsstring[]Social platform labels provided by Linktree, in the source order.
timezonestringnullableAccount timezone reported by the public page; null when absent.
linksobject[]Public top-level link cards in page order; embedded product details and nested collection contents are not returned.
links[].idintegerLink card id.
links[].typestringLinktree card type, such as CLASSIC, HEADER or YOUTUBE_VIDEO.
links[].titlestringnullableLink card title; null if none is set.
links[].urlstringnullablePublic destination URL; null for locked cards or cards without an outgoing URL.
links[].thumbnailUrlstringnullableCard thumbnail URL; null when none is set.
links[].lockedbooleanLinktree marks this card as locked; its destination is withheld.
socialLinksobject[]Listed social destinations in their displayed order.
socialLinks[].typestringLinktree's social type, such as INSTAGRAM, TIKTOK or EMAIL_ADDRESS.
socialLinks[].urlstringThe social destination or mailto URL listed on the profile.
instagramstringnullablePublic Instagram social link; null if the profile does not list one.
tiktokstringnullablePublic TikTok social link; null if the profile does not list one.
spotifystringnullablePublic Spotify social link; null if the profile does not list one.
youtubestringnullablePublic YouTube social link; null if the profile does not list one.
soundcloudstringnullablePublic SoundCloud social link; null if the profile does not list one.
apple_musicstringnullablePublic Apple Music social link; null if the profile does not list one.
email_addressstringnullableEmail address from the public EMAIL_ADDRESS social link, without mailto or query parameters; null when none is listed.

Caching and freshness

Responses are cached for up to 1 day, so a repeat call within that window can return the same data. It still costs 1 credit.

Errors

Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.

StatusCodeMeaning
401missing_api_keyNo API key. Send it in the x-api-key header.
401invalid_api_keyThe key is unknown or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack or wait for tomorrow's top-up.
403not_publicThe platform confirmed this account or content isn't available to logged-out visitors. Use a publicly visible target.
404not_foundThe endpoint, or the thing you asked for (ad, post, subreddit), doesn't exist. Charged when the platform was checked.
405method_not_allowedEndpoints take GET with query params.
429rate_limitedToo many calls at once. Wait for the retry-after seconds, then retry.
500internal_errorSomething broke on our side. Retry; 5xx errors are free.
502upstream_errorThe platform didn't give a usable answer. Retry; 5xx errors are free.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds; 5xx errors are free.
504upstream_timeoutThe platform took over 30 seconds to answer. Retry; timeouts are free.

Use it in Claude

Once LurkAPI is connected to Claude, this endpoint is the linkinbio_linktree tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's linkinbio_linktree with url "https://linktr.ee/miguelangeles" and summarize what you find.

Claude calls linkinbio_linktree with arguments like these, and each call costs 1 credit:

Tool arguments
{
  "url": "https://linktr.ee/miguelangeles"
}

Tool results skip nulls and empty lists to save tokens.