API Updates: YouTube and Threads Endpoints Now Available
ZOCIALMINE adds YouTube and Threads to its API lineup. Fetch profiles, posts, and comments across five platforms — TikTok, Instagram, Facebook, YouTube, and Threads — through a single REST interface.
What's New
Two new platforms have joined the ZOCIALMINE Data API: YouTube and Threads. With this release the API now covers five major social networks — TikTok, Instagram, Facebook, YouTube, and Threads — through the same authentication, pagination, and webhook patterns you already use.
| Platform | Profile | Post | Posts | Comments | Followers / Following |
|---|---|---|---|---|---|
| TikTok | yes | yes | yes | yes | yes |
| yes | yes | yes | yes | yes | |
| yes | yes | yes | yes | yes | |
| YouTube | yes | yes | yes | yes | — |
| Threads | yes | yes | yes | yes | — |
YouTube and Threads currently support profile, post, posts, and comments. Followers and following endpoints for both platforms are on the roadmap.
YouTube API
Pull channel metadata, individual video details, full upload feeds, and video comments — all from a single URL input. No OAuth, no quota approval.
Get a YouTube Channel Profile
curl -X POST 'https://api.zocialmine.com/v1/youtube/profile' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"url": "https://www.youtube.com/@MrBeast"
}'
The response includes channel ID, handle, subscriber count, total view count, video count, country, banner, avatar, and the description.
Get a Video
curl -X POST 'https://api.zocialmine.com/v1/youtube/post' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"url": "https://www.youtube.com/watch?v=VIDEO_ID"
}'
Returns title, description, publish date, duration, view count, like count, comment count, thumbnails, and channel info.
Paginate Through a Channel's Uploads
import requests
URL = "https://api.zocialmine.com/v1/youtube/posts"
HEADERS = {"x-api-key": "YOUR_API_KEY", "Content-Type": "application/json"}
cursor = ""
while True:
body = {"url": "https://www.youtube.com/@MrBeast", "cursor": cursor}
res = requests.post(URL, json=body, headers=HEADERS).json()
for video in res["data"]["videos"]:
print(video["title"], video["viewCount"])
if not res["data"].get("hasMore"):
break
cursor = res["data"]["cursor"]
Comments on a Video
curl -X POST 'https://api.zocialmine.com/v1/youtube/comments' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"url": "https://www.youtube.com/watch?v=VIDEO_ID",
"cursor": ""
}'
Cursor-paginated. Each comment includes the author's handle, channel ID, like count, reply count, and the comment text.
Threads API
Threads (Meta's text-first network) is exposed through the same shape as the rest of the API. Profile, post, posts, and comments are live.
Get a Threads Profile
curl -X POST 'https://api.zocialmine.com/v1/threads/profile' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"url": "https://www.threads.net/@zuck"
}'
Returns username, full name, biography, follower count, profile picture, verified status, and the linked Instagram handle when available.
Get a Single Thread
curl -X POST 'https://api.zocialmine.com/v1/threads/post' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"url": "https://www.threads.net/@username/post/POST_ID"
}'
Includes text content, media attachments, like count, reply count, repost count, quote count, and publish timestamp.
Paginate a User's Threads
const url = 'https://api.zocialmine.com/v1/threads/posts';
const headers = {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
};
let cursor = '';
do {
const res = await fetch(url, {
method: 'POST',
headers,
body: JSON.stringify({ url: 'https://www.threads.net/@zuck', cursor })
}).then(r => r.json());
for (const post of res.data.posts) {
console.log(post.id, post.text, post.likeCount);
}
cursor = res.data.cursor;
} while (cursor);
Read Replies on a Thread
curl -X POST 'https://api.zocialmine.com/v1/threads/comments' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"url": "https://www.threads.net/@username/post/POST_ID",
"cursor": ""
}'
Pricing
The credit costs match the existing model:
| Platform | Cost per request |
|---|---|
| TikTok | 1 credit |
| YouTube | 1 credit |
| 2 credits | |
| 2 credits | |
| Threads | 2 credits |
All endpoints share the same flat rate — there is no surcharge for paginated calls or comment retrieval. Credit packs start at $49 for 25,000 credits.
Webhook Support
Every YouTube and Threads endpoint supports the same async pattern as TikTok and Instagram. Add a webhook field to any request body and the API responds immediately with a correlationId. The full response is POSTed to your URL when processing completes.
{
"url": "https://www.youtube.com/@MrBeast",
"webhook": "https://your-server.com/zocialmine-callback"
}
Migration Notes
Existing integrations are unaffected — paths, headers, and response envelopes are unchanged. To start using the new platforms:
- Switch the path prefix from
/v1/tiktok/*to/v1/youtube/*or/v1/threads/*. - Reuse your API key. No separate provisioning required.
- Same
urlinput. Pass any public profile or post URL; the API resolves IDs internally. - Same response envelope.
status,data,cursor,hasMore, andcorrelationIdkeep their shape.
If you already have a unified client wrapping TikTok or Instagram (see our Nuxt integration guide), adding YouTube and Threads is usually a config change, not new code.
What's Next
Coming next:
- Followers / Following for YouTube (subscribers list where public) and Threads.
- Search endpoints for YouTube videos and Threads posts.
- Hashtag endpoints across all five platforms.
Sign in to the dashboard to grab an API key and start pulling data — the free tier still includes 100 credits, more than enough to evaluate every endpoint across all five platforms.