Skip to main content
POST
Search TikTok users

Description

This endpoint allows you to search for TikTok users using keywords. It returns a paginated list of user profiles matching your search query, including profile information and statistics.

Endpoint

POST /api/v1/search-tiktok-users

Request Headers

Request Body

The search query can be a username, partial username, or keywords related to user profiles.

Responses

Success (200 OK)

Returns a JSON object containing an array of user search results with pagination information.
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.
Possible error messages:
  • Invalid JSON in request body
  • 'query' parameter is required and must be a non-empty string.
  • The search service could not process the query.
  • The search service reported an issue.

401 Unauthorized

API key is missing, invalid, or inactive.

403 Forbidden

API key does not have enough credits.

404 Not Found

No users found matching the search query.

500 Internal Server Error

An unexpected error occurred on the server.
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.
Possible error messages:
  • The search service is currently unavailable.
  • Received invalid data structure from search service.
  • Error fetching search results from the upstream service.

503 Service Unavailable

Rate limit exceeded with an upstream service.

Example Request

cURL

Node.js (fetch)

Notes

  • Use the cursor field from the response to paginate through search results.
  • The hasMore field indicates whether there are additional pages available.
  • Search results include both profile information and statistics for each user.
  • This endpoint is useful for influencer discovery, competitor analysis, and audience research.
  • Results are ranked by relevance to the search query.

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
query
string
required
cursor
number
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

TikTok user search results returned.

userList
object[]
cursor
number | null
hasMore
boolean | null