100 free credits. No credit card required. Get a key

Threads account search API

Threads accounts whose username or name matches a query.

GET /v1/threads/search/usersBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/threads/search/users?q=coffee",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"users": [
{
"pk": "63055343223",
"username": "zuck",
"full_name": "Mark Zuckerberg",
"profile_pic_url": "https://scontent-lax7-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jp…",
"is_verified": true,
"biography": "Mostly superintelligence and MMA takes"
},
{
"pk": "23060834392",
"username": "zuckkhotaa",
"full_name": "Leenu",
"profile_pic_url": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-19/924568130_18135345838770393_7085172483261371733_n.jpg?stp=dst-jp…",
"is_verified": false,
"biography": "For you a thousand times over"
},
"… 2 more"
]
}

Parameters

NameTypeDescription
qquery · requiredstringSearch text. Example: coffee.
Response fields

200 with a ThreadsUsers, in the shape of Threads’ own post and user objects.

FieldTypeDescription
usersobject[]
Status codes
StatusMeaning
200Matching accounts.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account or post does not exist, or was removed.
429Too many requests. Wait for Retry-After seconds.
503Threads is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Threads is a trademark of Instagram, LLC (Meta Platforms, Inc.). We are not affiliated with or endorsed by Threads, Instagram or Meta.