Threads
Threads Profile API
Get a Threads user profile as JSON - numeric user id, handle, full name, biography, profile picture, follower count and verified flag. Costs 2 credits addressed by user_id and 4 credits addressed by username: the handle has to be resolved upstream first, so it buys a second call. Resolve a handle once, keep the user_id, and every later request stays on the cheap path.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonuser_idstringNumeric Threads user id. The cheap path: 2 credits. Get one from the Threads User Search endpoint, or from the user object on any post.
Example: 63269174602
usernamestringThreads handle without the leading @, 1 to 60 characters. Costs 4 credits instead of 2, because the upstream handle lookup is dead and the id is resolved through people search first. Provide user_id or username; sending neither is rejected.
Example: natgeo
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# 2 credits: addressed by numeric id
profile = client.threads.profile(user_id="63269174602")
# 4 credits: addressed by handle
# profile = client.threads.profile(username="natgeo")
print(profile)Response