Support needed? Reach out! ๐Ÿ“ง

How to Scrape Threads User Profile Data

This tutorial shows how to use Threads User Profile Data API to scrape and crawl structured Threads data in real-time.
Crawl complete Threads user profile data with our analytics API and retrieve follower totals, bio details, post counts, and engagement rates for influencer evaluation and audience profiling.

Access Threads Data in 3 Steps

Start crawling Threads user analytics data. Follow these steps to extract social media data in minutes.

1

Create Your Account

Go to our registration page and make an account. It's free, no credit card, and you get credits right away to play around with.

2

Verify Your Email Address

You'll get a verification email, click the link in it. Once that's done, you can grab your API token from the dashboard.

3

Make Your First API Call

Copy the code snippet below, swap in your API key, and run it. You'll get Threads data back as JSON within a few seconds.

Code Sample

Here's a JavaScript example to get you going. Swap out the token and you're good, works the same way in any language that can make HTTP requests. Start collecting user analytics data via our REST API!

javascript-logo JavaScript
Threads User Info
1 const root = 'https://ensembledata.com/apis'
2 const endpoint = '/threads/user/info'
3 const params = {
4   "id"195178788,
5   "token""YOUR-TOKEN-HERE"
6 }
7  
8 const queryString = new URLSearchParams(params).toString();
9 const url = `${root}${endpoint}?${queryString}`;
10  
11 await fetch(url)
12   .then(response => response.json())
13   .then(data => console.log(data))
14   .catch(error => console.error(error));
15  

Parameters

id (integer) User ID. REQUIRED
token (string) Private token assigned to each client to access the APIs. REQUIRED

Example Response

Explore the fields returned by this endpoint. Click a row to expand nested objects and arrays, hover a value to copy it, or use "Expand all" to see everything at once.

JSON
Threads User Info
dataobject21 fields
pkstring"195178788"
text_post_app_is_privatebooleanfalse
hd_profile_pic_versionsarray2 items ยท schema from #0 2 items
heightnumber320
urlstring"https://instagram.fpiu2-1.fna.fbcdn.net/v/t51.2885-19/438868684_384914โ€ฆ"
widthnumber320
profile_pic_urlstring"https://instagram.fpiu2-1.fna.fbcdn.net/v/t51.2885-19/438868684_384914โ€ฆ"
usernamestring"orlandomagic"
friendship_statusnullnull
follower_countnumber276177
profile_context_facepile_usersnullnull
eligible_for_text_app_activation_badgebooleanfalse
hide_text_app_activation_badge_on_text_appbooleanfalse
biographystring"building the culture in the O ๐Ÿช„"
text_app_biographyobject1 field
text_fragmentsobject1 field
fragmentsarray1 item ยท schema from #0 1 item
fragment_typestring"plaintext"
link_fragmentnullnull
mention_fragmentnullnull
plaintextstring"building the culture in the O ๐Ÿช„"
tag_fragmentnullnull
account_badgesarray0 items
empty
text_post_app_remove_mention_entrypointnullnull
is_verifiedbooleantrue
full_namestring"Orlando Magic"
bio_linksarray0 items
empty
transparency_labelnullnull
is_threads_only_userbooleanfalse
gatingnullnull
idstring"195178788"

Response Codes

Status codes this endpoint can return, so you can handle errors before they surprise you in production.

200SuccessSuccessful Response
422Client ErrorValidation Error
491Client ErrorToken not found
492Client ErrorEmail not verified
493Client ErrorSubscription expired
495Client ErrorAll daily units used
500Server ErrorSomething went wrong

API Pricing

4 units Cost per successful call to this endpoint.

Fetch Threads Data at Scale

Access detailed Threads account data for any public user and use it to power influencer campaigns or audience profiling.

deco-icon

Follower Counts

Get exact follower totals and post counts for any Threads account.

deco-icon

Bio & Engagement

Pull bio text and engagement rate to evaluate audience quality.

deco-icon

Profile Metadata

Access complete public profile metadata in one API response.