Skip to main content
POST
/
api
/
v1
/
get-tiktok-user-followers
List TikTok followers
curl --request POST \
  --url https://app.dumplingai.com/api/v1/get-tiktok-user-followers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "handle": "<string>",
  "minTime": 123,
  "count": 123,
  "requestSource": "API"
}'
{
  "followers": [
    {}
  ],
  "maxCursor": 123,
  "minCursor": 123,
  "hasMore": true,
  "total": 123
}

Description

This endpoint allows you to fetch a paginated list of followers for a specific TikTok account. Each entry includes user profile information and statistics.

Endpoint

POST /api/v1/get-tiktok-user-followers

Request Headers

HeaderTypeDescription
Content-TypestringMust be application/json.
AuthorizationstringYour API key (Bearer token). e.g. Bearer sk_xxx

Request Body

ParameterTypeDescriptionRequiredDefault
handlestringThe TikTok user’s handle (username).Yes
minTimenumberOptional cursor for pagination. Pass the minTime from a previous response to get the next page.No
countnumberNumber of followers to fetch per request.NoAPI default
requestSourcestringOptional. Source of the request (e.g., MAKE_DOT_COM, ZAPIER, API).NoAPI
The handle is the TikTok username (e.g., stoolpresidente). You can find it in the profile URL: https://www.tiktok.com/@{handle}.

Responses

Success (200 OK)

Returns a JSON object containing an array of the account’s followers with pagination information.
{
  "followers": [
    {
      "user": {
        "id": "6123456789012345678",
        "uniqueId": "followeruser1",
        "nickname": "Follower User Name",
        "avatarThumb": "https://...jpeg",
        "signature": "User bio",
        "verified": false,
        "secUid": "MS4wLjABAAAA...",
        "privateAccount": false
      },
      "stats": {
        "followerCount": 5678,
        "followingCount": 123,
        "heartCount": 234567,
        "videoCount": 34,
        "diggCount": 89
      }
    }
    // ... more followers
  ],
  "maxCursor": 1234567890,
  "minCursor": 1234567800,
  "hasMore": true,
  "total": 12345
}
Response Headers:
  • Content-Type: application/json
  • X-RateLimit-Limit: The rate limit for the user.
  • X-RateLimit-Remaining: The remaining number of requests for the user.

Error Responses

400 Bad Request

Indicates an issue with the request parameters.
{
  "error": "'handle' parameter is required and must be a non-empty string."
}
Possible error messages:
  • Invalid JSON in request body
  • 'handle' parameter is required and must be a non-empty string.
  • The followers service could not process the handle.
  • The followers service reported an issue.

401 Unauthorized

API key is missing, invalid, or inactive.
{
  "error": "API key is invalid or missing."
}

403 Forbidden

API key does not have enough credits.
{
  "error": "Insufficient credits. Please top up your account."
}

404 Not Found

The followers list could not be found.
{
  "error": "Followers list not found for user: [handle]"
}

500 Internal Server Error

An unexpected error occurred on the server.
{
  "error": "An unexpected server error occurred while fetching the TikTok user followers: [specific error message]"
}
Possible error messages:
  • Service not configured. Please contact support.
  • Service authentication failed. Please contact support.
  • An unexpected server error occurred...

502 Bad Gateway

Indicates an issue with an upstream service.
{
  "error": "Received invalid data structure from followers service."
}
Possible error messages:
  • The followers service is currently unavailable.
  • Received invalid data structure from followers service.
  • Error fetching followers data from the upstream service.

503 Service Unavailable

Rate limit exceeded with an upstream service.
{
  "error": "Rate limit exceeded. Please try again later."
}

Example Request

cURL

curl -X POST \
  https://app.dumplingai.com/api/v1/get-tiktok-user-followers \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "handle": "stoolpresidente" }'

Node.js (fetch)

async function getTikTokUserFollowers(apiKey, handle, minTime = null) {
  const url = 'https://app.dumplingai.com/api/v1/get-tiktok-user-followers';
  const body = { handle };
  if (minTime !== null) body.minTime = minTime;

  const options = {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'Authorization': `Bearer ${apiKey}`
    },
    body: JSON.stringify(body)
  };

  try {
    const response = await fetch(url, options);
    const data = await response.json();
    if (!response.ok) {
      console.error(`Error: ${response.status}`, data);
      return null;
    }
    console.log(`Fetched ${data.followers.length} followers`);
    console.log(`Has more: ${data.hasMore}`);
    console.log(`Total: ${data.total}`);
    return data;
  } catch (error) {
    console.error('Failed to fetch TikTok user followers:', error);
    return null;
  }
}

// Example usage:
// getTikTokUserFollowers('YOUR_API_KEY', 'stoolpresidente');

Notes

  • Use the minTime field from the response to paginate through all followers.
  • The hasMore field indicates whether there are additional pages available.
  • The total field provides the approximate total count of followers.
  • Each follower entry includes both profile information and statistics.
  • This endpoint is useful for influencer analytics, audience analysis, and growth tracking.

Credit Cost

This endpoint costs 10 credits per successful request. For more details, see our Credit Costs page.

Rate Limiting

This endpoint is subject to standard API rate limits. Check the X-RateLimit-Limit and X-RateLimit-Remaining headers in the response to monitor your usage.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
handle
string
required
minTime
number

Cursor for pagination.

count
number
requestSource
enum<string>

Optional identifier describing where the API request originated.

Available options:
API,
WEB,
MAKE_DOT_COM,
ZAPIER,
N8N,
PLAYGROUND,
DEFAULT_AUTOMATION,
AGENT_PREVIEW,
AGENT_LIVE,
AUTOPILOT,
STUDIO

Response

Followers retrieved.

followers
object[]
maxCursor
number | null
minCursor
number | null
hasMore
boolean | null
total
integer | null