Query parameters
| Field | Type | Description |
|---|---|---|
| url | string | Required. A public HTTPS linktr.ee profile URL. |
Link in bio API
Retrieve a public profile and its published links in one request.
Fetch profile details, links, grouped links, and social icons from the public Linktree page. No Linktree login is required.
http://localhost:3007Local development example. Replace with your service origin.
/v1/linktreeAccepts one HTTPS linktr.ee profile URL. Tracking parameters and fragments are removed. Custom domains, duplicate parameters, and cache_max_age are unsupported.
| Field | Type | Description |
|---|---|---|
| url | string | Required. A public HTTPS linktr.ee profile URL. |
| Field | Type | Description |
|---|---|---|
| id | integer | Linktree's numeric account ID. |
| username | string | The username on the retrieved profile. |
| profilePictureUrl | string | null | Profile image URL, or null when unavailable. |
| description | string | null | Public bio, preserving line breaks; null when unavailable. |
| verticals | array | null | Public category metadata; null when unavailable. |
| linkPlatforms | array | null | Linktree's platform labels, which may differ from its social icons. |
| timezone | string | null | Timezone exposed by Linktree, or null when unavailable. |
| links | array | Publicly embedded link records: id, type, title, url, and optional parentId. Includes action blocks. Empty URLs are preserved for groups and embedded blocks. Pins come first; duplicate IDs are returned once. |
| socialLinks | array | Published social icons as type and url, including types beyond the convenience fields below. |
| string | Published Instagram social icon; omitted if absent. | |
| tiktok | string | Published TikTok social icon; omitted if absent. |
| spotify | string | Published Spotify social icon; omitted if absent. |
| youtube | string | Published YouTube social icon; omitted if absent. |
| soundcloud | string | Published SoundCloud social icon; omitted if absent. |
| apple_music | string | Published Apple Music social icon; omitted if absent. |
| email_address | string | Published email icon, with mailto: and query parameters removed; omitted if absent. |
| string | Published LinkedIn social icon; omitted if absent. | |
| discord | string | Published Discord social icon; omitted if absent. |
| requestId | string | Identifier for correlating a request with operational logs. |
| accounting | object | Upstream request count, decoded HTML bytes read, and total duration. Bytes exclude discarded error/redirect bodies and are not billing totals. |
| success | boolean | True when usable profile data is returned, including partial results. |
| status | string | success or partial. Failures return failed or challenged with a failure object. |
| sourceUrl | string | Final canonical profile URL after allowed redirects. |
| fetchedAt | string | UTC timestamp of retrieval. |
| coverage | object | complete applies to supported embedded public page fields. Inspect warnings for omitted or unavailable data. |
Nested fields and every response variant are in the OpenAPI specification.
| HTTP | Code / status | Meaning |
|---|---|---|
| 400 | invalid_request | Invalid URL, missing URL, duplicates, or unsupported parameters. |
| 401 | unauthorized | Missing or invalid service API key. |
| 403 | restricted_page | The profile requires access or consent. |
| 404 | not_found | The profile is missing or inactive. |
| 429 | upstream_rate_limited | Linktree rate limited the request; no automatic retry. |
| 502 | upstream_challenged | The upstream rejected or challenged the request. |
| 502 | unsupported_page | Data is missing, malformed, or belongs to another profile. |
| 502 | response_too_large / unsafe_redirect / request_limit / upstream_error | Retrieval could not safely complete. |
| 503 | busy | All worker slots are in use. |
| 504 | timeout | The request exceeded its deadline. |