Threads profile API
A public Threads profile by username: name, bio, links, follower count, verification and topic tags.
GET /v1/threads/users/{username}Beta1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/threads/users/zuck",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "user": { "pk": "63055343223", "username": "zuck", "full_name": "Mark Zuckerberg", "biography": "Mostly superintelligence and MMA takes", "bio_links": [], "profile_pic_url": "https://scontent-lax7-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jp…", "hd_profile_pic_url": "https://scontent-lax7-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jp…", "is_verified": true, "is_private": false, "follower_count": 5784144, "profile_tags": [ "aithreads", "UFCThreads", "… 2 more" ] }}Parameters
| Name | Type | Description |
|---|---|---|
usernamepath · required | string | Username, with or without the @, or a profile URL. Example: zuck. |
Response fields
200 with a ThreadsUserResponse, in the shape of Threads’ own post and user objects.
| Field | Type | Description |
|---|---|---|
user | ThreadsUser |
Status codes
| Status | Meaning |
|---|---|
200 | The profile. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The account or post does not exist, or was removed. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Threads 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.