Developer tutorial
How to scrape Threads profiles with Python (2026)
This tutorial shows how to scrape Threads profiles in Python using the SocialCrawl API. You get a Threads user's follower count, bio, verification, and avatar by handle from one GET request, with no Threads developer account, proxies, or HTML parsing. The code below is runnable as-is, and the response underneath it is a real, unedited call.
Code tested July 2026
How it works
- 1Get a free API keyCreate a SocialCrawl account and copy your API key from the dashboard. Every new account starts with free credits.
- 2Set up PythonInstall the requests library with `pip install requests`.
- 3Call the Threads Profile endpointSend a GET request to /v1/threads/profile with your API key in the x-api-key header and the `handle` parameter.
- 4Read the responseParse the JSON. SocialCrawl returns a Threads user's follower count, bio, verification, and avatar by handle in one normalized schema, so you write no HTML parsing or proxy code.
The code
A real, unedited response from the request above.
import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/threads/profile",
headers={"x-api-key": "YOUR_API_KEY"},
params={"handle": "zuck"},
)
data = response.json()
print(data)[ RESPONSE ]
{
"success": true,
"platform": "threads",
"endpoint": "/v1/threads/profile",
"data": {
"author": {
"id": "63055343223",
"username": "zuck",
"display_name": "Mark Zuckerberg",
"avatar_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-19/550174606_17925811725103224_8363667901743352243_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHsoq98gEgCwlrJ9AF4X9asZYwbfeiIPJJUA8BWq-7xHsWYKN0v-Wk_947y43Q2SJE&_nc_ohc=ZIy5tON9X10Q7kNvwG4TCfs&_nc_gid=Fb_AneJQySzpkwzOWawf6Q&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQD9s2yOdl1xql__gvvvrcdhjrzK8p8QvMVEKi2GBXPxgQ&oe=6A632E3E&_nc_sid=10d13b",
"bio": "Mostly superintelligence and MMA takes",
"verified": true,
"followers": 5671540,
"following": null,
"posts_count": null,
"likes_count": null,
"url": null,
"private": false,
"joined_at": null
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null
}
},
"credits_used": 1,
"credits_remaining": 9999,
"request_id": "req_example000000",
"cached": false
}Prefer another language?
FAQ
Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usDo I need a Threads developer account to scrape Threads profiles?
No. SocialCrawl handles authentication and proxies upstream, so you never register a Threads app, manage OAuth tokens, or run your own scrapers. One API key returns Threads data directly.
What does the Threads Profile endpoint return?
It returns a Threads user's follower count, bio, verification, and avatar by handle. The response is normalized into SocialCrawl's unified schema, identical in shape across every platform.
How much does it cost to scrape Threads profiles?
Each call costs a small number of credits, and new accounts start with free credits. There are no monthly minimums, so you pay only for the calls you make.
Can I use this Python code in production?
Yes. The snippet on this page is the real request against the live API. For production, add error handling and follow the response cursor to paginate through large result sets.
Ask AI about SocialCrawl
