Linktree API reference
Get public Linktree profiles as JSON: every link with its title and URL, the social accounts, verification and country, plus Linktree Shop products and the public profile directory.
The Linktree API has 5 endpoints, called the same way: POST /execute with the endpoint ID as capability and its fields as input, or pin Linktree in the MCP server and call each one as a tool. The data comes back as JSON in results[0].data, with what the call cost in billing.credits_charged.
The inputs you send most are username, category and subcategory. Prices run from 0.75 credits to 1.5 credits per call, and a failed call costs nothing.
Endpoints
Open an endpoint for its input, the fields it returns and the request in cURL, Python and Node.js.
| Endpoint | What it returns | Price |
|---|---|---|
linktree.profile.get |
Get a public Linktree profile from its handle or URL: name, bio, every link with its title and URL, social accounts, verification, tier, country and creation date. | 1 credit |
linktree.profile.shop |
Get a profile's Linktree Shop: its collections and products with prices, currencies, links and shoppable posts. | 1.5 credits |
linktree.profile.posts |
List the public social posts a profile shows on its Linktree page. | 1.5 credits |
linktree.directory.get |
Get one page of Linktree's public profile directory, filtered by category. | 0.75 credits |
linktree.directory.profiles |
Collect profiles from several pages of the directory in one call, filtered by category. | 1–10 credits |
What to know
- Public profiles only Everything comes from public Linktree pages. Locked profiles and gated links are marked as such, without the protected content.
- Prices in minor units Shop prices come in the currency's smallest unit, such as cents, with the currency code next to them.
- Handles are not always the brand Check the verified flag: a handle that matches a brand name is not always the brand's own profile.
- Directory in pages The directory comes a page at a time, and the collect endpoint gathers several pages of a category in one call.
Something missing or unclear? Ask the team that builds the Linktree endpoints.