Linktree API docs

Linktree API: Directory — Users by category

Retrieve Directory data from Linktree through the focused “Users by category” operation and connect it to product workflows.

Use this method when an input identifier or parameter is known and one predictable API result is required.

Method GET
Entity Directory
Versions 2
What this endpoint does

What you can build with this API method

Review the result and common workflows first, then move to parameters and a working request example.

What this endpoint helps with

The response includes public Directory data and context needed for subsequent API requests.

When to use it

Use this method when an input identifier or parameter is known and one predictable API result is required.

Common use cases

Focused retrieval

Request the object you need without loading a larger collection.

Product enrichment

Add the Linktree API result to records, workflows, and internal tools.

Request orchestration

Use the response as input for adjacent methods and multi-step workflows.

Available versions

Response version

Both versions solve the same job and accept the same parameters. Use the switch to compare the response structure and choose the version your client expects.

Response version V2

Switch versions on this page to compare response structures while keeping the same documentation URL.

What stays the same

Authentication, required parameters, and the request shape stay the same across V1 and V2. In practice, you choose the version when you build the endpoint path and when you parse the response.

What changes between versions

The main difference is the response envelope. Use V2 for new integrations and keep V1 only when you need compatibility with an existing client contract.

How to use it

How to call the method

Use the same API key header and the same query parameters for both versions. This documentation shows the shared parameter set first, then version-specific endpoint paths and code snippets.

Input parameters

Shared parameters
Parameter Required Type Example Description
category No all | business | creative | education | entertainment | fashion-beauty | food-beverage | government-politics | health-wellness | non-profit | other | tech | travel-tourism all Linktree directory category slug. Example: all.
page No int 1 Requested results page number. Example: 1.

Version-specific request path

V2

Choose a version when you copy the exact endpoint path, example URL, and code snippet. The parameter list above stays the same.

GET /api/v2/linktr.ee/directory/users-by-category

Normalized format

Code examples

curl --request GET \
  --url "https://www.scrapestorm.net/api/v2/linktr.ee/directory/users-by-category" \
  --header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
  # Optional parameters:
  # --data-urlencode 'category=all'
  # --data-urlencode 'page=1'
Response example

Live response by version

The preview keeps key fields and the first collection items so you can scan the response shape quickly. Switching versions changes the JSON format.

Response example

V2 response JSON

Verified example

This compact JSON example comes from the latest successful verification run for V2.

{
  "success": true,
  "status": "ok",
  "pagination": {
    "page": 1,
    "has_more": true
  },
  "search_context": {
    "page": 1,
    "category": "all"
  },
  "data": {
    "directory_context": {
      "selected_category": {
        "category_id": "all",
        "label": "All Categories"
      },
      "selected_subcategory": {
        "category_id": "all",
        "subcategory_id": "all",
        "label": "All"
      },
      "title": "Explore the Linktree community",
      "description": "Discover everything our most popular creators are sharing all over the internet, in one simple place."
    },
    "categories": {
      "count": 13,
      "items": [
        {
          "category_id": "all",
          "label": "All Categories"
        },
        {
          "category_id": "business",
          "label": "Business"
        },
        {
          "_more_items": 11
        }
      ]
    },
    "profiles": {
      "count": 18,
      "items": [
        {
          "username": "marjem",
          "display_name": "Marjem Kat",
          "url": "https://linktr.ee/marjem",
          "avatar_url": "https://example.com/image.jpg",
          "category": {
            "category_id": "other",
            "label": "Other"
          },
          "badges": [],
          "is_verified": false
        },
        {
          "username": "frontlinesmedia",
          "display_name": null,
          "url": "https://linktr.ee/frontlinesmedia",
          "avatar_url": "https://example.com/image.jpg",
          "category": {
            "category_id": "entertainment",
            "label": "Entertainment"
          },
          "badges": [],
          "is_verified": false
        },
        {
          "_more_items": 16
        }
      ]
    },
    "total_pages": 21112
  }
}
What to do next

Continue the evaluation

Use this documentation as the first decision point, then move into pricing, platform coverage, and integration rules before you connect the endpoint for recurring use.

Open the Linktree platform page

Compare adjacent entities, API method groups, and related docs before implementation.

Open platform page

Compare API method pricing

Check where this API method sits inside the public price table before you scale usage.

View pricing

Review integration rules

Use the starter docs to confirm authentication, versioning, retries, and mock vs live behavior.

Open docs
FAQ

Questions teams ask before implementation

Use these answers to decide whether this API method fits your workflow, versioning choice, and rollout plan.

What data does this Linktree API method return?

The method performs “Users by category” for Directory. The compact response example below shows the exact field structure.

Should I choose V1 or V2?

Choose V2 for new integrations because it provides a normalized structure. Use V1 only for compatibility with clients that already consume the platform-native format.

What do I need for the first request?

Create an API key, send it in the request header, and provide the required parameters from the table. The code samples already contain the correct path and request structure.