Tutorial · TikTok · cURL, Python, Node.js, PHP, Go, Ruby

Find TikTok accounts similar to a creator with the API

Accounts TikTok suggests alongside this one (one page). Complete code for GET /v1/tiktok/users/{user}/suggested in six languages and both official SDKs, each tested against the documented response.

Short answer. GET /v1/tiktok/users/{user}/suggested returns the accounts TikTok suggests alongside a profile: up to about 30 in a single page, each with handle, id, sec_uid, verified flag and counts.

Facts checked 2 December 2026. Prices change: follow the links before you decide.

Why call it

  • Creator discovery: grow an influencer shortlist from one seed creator in a niche.
  • Lookalike research for agencies and brands planning a campaign in a category.
  • Map a niche for analytics apps by feeding each suggested sec_uid back in.

The request

GET https://api.handlehaul.com/v1/tiktok/users/{user}/suggested with your key in the X-Api-Key header. Accounts TikTok suggests alongside this one (one page). Accounts TikTok suggests alongside this one (one page). 1 credit a page. Page size up to 30, one page. Docs: https://api.handlehaul.com/docs/tiktok-followers-api

Parameters for Accounts TikTok suggests alongside this one (one page)
ParameterInDescription
user requiredpathTikTok handle (with or without @), numeric user id, or secUid. All digits = an id; write "@12345" for an all-digit handle. On list routes a handle we have to look up costs 1 extra credit (meta.lookup_credits); an id or secUid never does.
freshquerytrue skips the cache (full price).
rawquerytrue returns TikTok's raw JSON in data instead of our fields (same price).

Code in 6 languages

Each sample is a complete program: it reads the key from HANDLEHAUL_API_KEY, waits and retries when the API answers 429 (using Retry-After), stops with the error code on anything else. The SDK versions do the retries for you.

tiktok-suggested-accounts.sh

# Accounts TikTok suggests alongside this one (one page). --retry waits out a 429 using its Retry-After header;
# --fail exits with code 22 on any other error (drop it to read the error JSON).
curl -sS --fail --retry 3 "https://api.handlehaul.com/v1/tiktok/users/mila.studio/suggested" \
  -H "X-Api-Key: $HANDLEHAUL_API_KEY"
Generated from the OpenAPI spec (2026-12-02); every sample was syntax-checked and run against a local mock serving the response below. Language guides: Python, Node.js, PHP, Go, Ruby, cURL.

Response

A list in data, with pagination.next_cursor and has_more, and meta with what the call cost. Example values; same tiktokuser shape as followers; one page only, from the API docs. Lists are cut to two rows here.

200 · application/json
{
  "data": [
    {
      "id": "6800816061066175854",
      "sec_uid": "MS4wLjABAAAAwqygALAganfhe4jZpzulcXsnpJBzOO7RGirtKtKB5Mk",
      "handle": "wren.wren16",
      "nickname": "Wren Wren",
      "avatar_url": "https://p16-sign.tiktokcdn-us.com/…/avatar/6800816061066175854~c5_1080x1080.jpeg",
      "is_verified": false,
      "is_private": false,
      "url": "https://www.tiktok.com/@wren.wren16",
      "counts": {
        "followers": 1360658,
        "following": 878,
        "likes": 42180398,
        "videos": 898
      }
    }
  ],
  "pagination": {
    "next_cursor": null,
    "has_more": false,
    "page_size": 1
  },
  "meta": {
    "request_id": "req_…",
    "list_hidden": false,
    "cached": false,
    "cache_age_seconds": 0,
    "credits_charged": 1,
    "credits_remaining": 26943
  }
}

Cost, cache and limits

  • 1 credit per call. At $1.40 to $0.80 per 1,000 calls. Cache hits, failed calls and 429 answers are free; meta.credits_charged says what each call cost.
  • Lookup credit. A handle we have not looked up in the last 7 days adds 1 lookup credit (meta.lookup_credits). A sec_uid or numeric id from any result skips it, and later pages never pay it.
  • Cache. Identical calls that arrive while an answer is cached are served from it. Add fresh=true to force a live call (billed).
  • Speed. Over your plan's requests-per-second limit the API answers 429 rate_limited with Retry-After; the samples wait that long and retry.
  • Private accounts. Public data only: a private account answers 403 private_account, and that call is free.
  • Testing. A kd_test_ key returns sample data in this exact shape at no cost, so you can run the code before you spend anything.

Things to know

  • It is one page only, with no cursor parameter: do not loop on next_cursor.
  • Each item carries id and sec_uid. Send those to the profile, posts or another suggested call so no handle lookup is needed.
  • raw=true returns TikTok's own JSON in data at the same price, if you need fields beyond the user shape.

Next steps

TikTok suggested accounts API: questions

How many similar accounts does one TikTok suggested call return?
Up to about 30, in a single page. There is no next page to request.
How do I build a list of TikTok creators in a niche?
Start from one creator, call /suggested, then call it again with the sec_uid of each account you keep. Keep a set of seen id values so each account is stored once.

Run it on real data

One key for Instagram and TikTok. $1.40 to $0.80 per 1,000 calls; failed calls and cache hits are free.

Want to test first? Sandbox keys are free and unlimited, with sample data in the live schema.