Platforms
Threads
Read Threads profiles and their tabs, threads and their replies, search and trending.
Read profiles with their threads, replies, media and reposts, a thread with its replies, and what Threads shows by search and trend.
Quick Reference
| Property | Value |
|---|---|
| Endpoints | 10 |
| Accounts by | handle or url |
| Threads by | url or id |
| Threads a page | 25 |
| Replies | About 15, one page |
| Transcripts | No |
| Counts | Followers, no views |
Accounts
| Endpoint | Returns | Credits |
|---|---|---|
profile | A profile with its follower count. | 1 |
profile/media | An account's threads with photos or videos, 25 a page. | 1 |
profile/posts | An account's threads, newest first, 25 a page. | 1 |
profile/replies | An account's replies to other threads, 25 a page. | 1 |
profile/reposts | Other people's threads an account reposted. | 1 |
Read a Profile
import { SocialAPI } from "@socialapihq/sdk";
const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });
const { data } = await client.threads.profile({ handle: "zuck" });{
"data": {
"id": "63055343223",
"username": "zuck",
"displayName": "Mark Zuckerberg",
"bio": "Mostly superintelligence and MMA takes",
"avatarUrl": "https://scontent-nrt6-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jpg_s640x640_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-nrt6-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gEbJAaY4VAfsA-SdUiOuyyefB_PaDbIjArtHdBA5E9_oz8s23mkKO8K36do2sY94fk&_nc_ohc=TcNBs21yW1gQ7kNvwHHOsMz&_nc_gid=3utomVOdhJVr5GxFQLdxgQ&edm=AAZTMJEBAAAA&ccb=7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQQ7XHzV0_X-JdqIiVqvgiHTaON1Otu3q1X6WoaBBg9WbA&oe=6B0BE5EB&_nc_sid=49cb7f",
"url": "https://www.threads.com/@zuck",
"verified": true,
"private": false,
"followers": 5783862,
"following": null,
"likes": null,
"posts": null,
"externalUrl": null,
"createdAt": null,
"ext": {
"bioLinks": [],
"interests": [
"AI Threads",
"UFC Threads",
"AI"
]
}
}
}A profile's ext has its bioLinks and interests.
Profile Tabs
- Threads come newest first, pinned ones first of all.
- Each reply names the thread it answers in
ext.replyTo. - Each repost says when in
ext.repostedAt.
Posts
| Endpoint | Returns | Credits |
|---|---|---|
post | One thread with its counts, media and links. | 1 |
post/comments | A thread's replies, top or latest first. | 1 |
Thread Fields
- The
statshave its likes, replies and shares. - Its
ext.repostsandext.quoteshave the rest. - The thread it quotes or answers is in
ext.quotedorext.replyTo.
Replies
A thread's comments are its replies, the first 15 or so, on one page. Their sort takes top (the default) or recent.
Discovery
| Endpoint | Returns | Credits |
|---|---|---|
search | Threads matching a query, top or latest first. | 1 |
search/users | Accounts matching a name, the first 10. | 1 |
trending | The feed Threads gives a visitor now. | 1 |
- Search takes
sorttoo: about 30topor 20recentthreads, on one page. - Account search gives the first 10 accounts, without their counts.
- Trending is the feed a visitor gets, about 20 threads in all.