API · Linktree
GET /linktree/pages
A Linktree page: profile, links with their types, and social links.
| Request | GET /v1/linktree/pages |
| Operation id | linktree.page.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Linktree page: profile, links with their types, and social links.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | A Linktree page link (linktr.ee/<username>) or the username. Example: https://linktr.ee/charlidamelio. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The page. | LinktreePageResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No public Linktree page by that name. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Linktree is temporarily unavailable. Retryable; nothing was charged. | Error |
LinktreePageResponse fields
| Field | Type | Description |
|---|---|---|
account | LinktreeAccount | |
isProfileVerified | boolean | |
links | LinktreeLink[] | |
socialLinks | object[] | |
musicPlaylists | object[] | |
localBusinesses | object[] | |
url | string |
Errors use one shape everywhere; see Errors for every code and what to do.