TikTok

TikTok

User Search

per_call

Searches TikTok accounts and returns 30 ranked matches per call under `user_list`, each with a `user_info` record: uid, sec_uid, username (`unique_id`), nickname, follower and following counts, video count (`aweme_count`), total likes (`total_favorited`), private flag and verification fields. Pass the returned `cursor` (a number) for the next 30. Important: this search always returns its closest matches. A query with no good match still returns loosely related accounts and still costs a credit, so check the usernames before relying on the top result.

What you get

Each call returns up to 30 accounts, plus a cursor for the next 30.

Endpoint

GET /v1/tiktok/user-search

Price

from $1.50

per 1,000 calls · from $0.0015 per call

Cost per call

1 credit

Failed calls never charged

Parameters

query
required
string

Name or username to search TikTok accounts for.

limit
optional
integer

Maximum records to return, capped at this service's page size (see Limits below). Omit it to receive the whole page. It shapes the response, not the price — a call costs the same either way.

cursor
optional
string

Pagination cursor (a number) returned by a previous response.

fresh
optional
enum

Bypass cached data and force a live fetch for this one call. Use it for daily monitoring or any figure you are tracking over time. Accepts `true`, `1`, `false` or `0`; anything else returns 400 `invalid_fresh`. Defaults to false and costs exactly the same as a cached call.

One of: true, 1, false, 0

Example request

Live call. Successful calls are charged; failed and empty results are not.

curl
curl "https://fastfetchz.com/v1/tiktok/user-search?query=nasa" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Example response

200 application/json
{
  "success": true,
  "service": {
    "platform": "TikTok",
    "name": "User Search",
    "slug": "user-search"
  },
  "credits_charged": 1,
  "credits_remaining": 99,
  "latency_ms": 214,
  "data": {
    "query": "nasa",
    "results": [
      {
        "id": "9000085629",
        "type": "profile",
        "title": "nasa result 1",
        "url": "https://example.com/tiktok/result/85629",
        "engagement_score": 62.9,
        "matched_at": "2026-12-01T12:41:04.949Z"
      },
      {
        "id": "9000108010",
        "type": "post",
        "title": "nasa result 2",
        "url": "https://example.com/tiktok/result/108010",
        "engagement_score": 1,
        "matched_at": "2026-11-30T12:41:04.949Z"
      }
    ],
    "paging": {
      "has_more": true,
      "next_cursor": "cursor_s_2"
    }
  }
}

Getting more results

Each response includes a cursor. Pass it back as cursor to fetch the next 30 accounts. Repeat until no cursor is returned.

two calls
# Call 1 — first 30 accounts
curl "https://fastfetchz.com/v1/tiktok/user-search?query=nasa" \
  -H "X-API-Key: $FASTFETCHZ_KEY"
# -> { "data": { ... }, "cursor": "eyJwYWdlIjoyfQ" }

# Call 2 — next 30 accounts
curl "https://fastfetchz.com/v1/tiktok/user-search?query=nasa&cursor=eyJwYWdlIjoyfQ" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Limits

  • Maximum per call: 30 accounts.
  • Minimum per call: 1 account — a target with less data returns fewer accounts. A call that returns none is not charged.
  • Each call fetches a full page of up to 30 and costs the same either way. Pass limit to receive fewer than that in the response.
  • Larger jobs are paginated with a cursor; there is no cap on how many pages you fetch.

What this costs in practice

300,000 accounts ≈ 10,000 calls × 1 credit per call = 10,000 credits

At the Starter pack rate: $29.00
10,000 credits for $29.00 · $0.00290 per credit. This is the credit value used by the job, not the pack purchase price.
At the Volume pack rate: $15.00
500,000 credits for $750.00 · $0.00150 per credit. This is the credit value used by the job, not the pack purchase price.
Open in the pricing calculator

Error codes

401invalid_api_keyMissing or unrecognized X-API-Key header. No credits are charged.
402insufficient_creditsYour balance is below the cost of the call. Top up to continue.
403account_suspended / key_revokedThe account is suspended or the key was revoked.
429rate_limitedOver your account's requests-per-second limit. Retrying helps: the body carries retry_after_seconds and the response carries a Retry-After header. Not charged.
429monthly_cap_reachedThis key used the monthly call cap you set for it. Retrying will not help — raise the cap, use another key, or wait for the next calendar month. No Retry-After header is sent. Not charged.
500upstream_errorUnexpected failure while fulfilling the request. Not charged.