Skip to main content

Search Users ๐Ÿ”Ž๐Ÿ‘จโ€๐Ÿฆฑ

Search for a specific user in Threads

Paramsโ€‹

NameTypeDefaultDescription
query (required)stringโ€“The search query
rank_tokenstringNoneUse for pagination
page_tokenstringNoneUse for pagination

In order to use pagination, you need to use both the rank_token and page_token parameters. You can obtain these values from the response's rank_token and page_token fields.

Usageโ€‹

from rocketapi import ThreadsAPI


threads_api = ThreadsAPI(token="your-api-key")
print(threads_api.search_users(query="kanyewest"))

Response exampleโ€‹

Loading...