- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
Threads shows only the latest 20 to 30 posts of a profile, so paging runs out early.
You send handle.
Part of the Threads Scraper API: 5 Threads endpoints on one key.
Request
Send your key in the x-api-key header.
1curl -G "https://api.socialscrape.dev/v1/threads/profile/posts" \2 -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3 --data-urlencode 'handle=zuck'1import os2import requests34params = {5 "handle": "zuck",6}7res = requests.get(8 "https://api.socialscrape.dev/v1/threads/profile/posts",9 headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10 params=params,11 timeout=60,12)13body = res.json()1415if body["ok"]:16 print(body["data"])17else:18 print(body["error"]["code"], body["error"]["message"])1const url = new URL("https://api.socialscrape.dev/v1/threads/profile/posts");2url.search = new URLSearchParams({3 handle: "zuck",4}).toString();5const res = await fetch(url, {6 headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },7});8const body = await res.json();910if (body.ok) {11 console.log(body.data);12} else {13 console.error(body.error.code, body.error.message);14}1{2 "nodes": [3 {4 "name": "SocialScrape Threads profile posts",5 "type": "n8n-nodes-base.httpRequest",6 "typeVersion": 4.2,7 "position": [8 0,9 010 ],11 "parameters": {12 "method": "GET",13 "url": "https://api.socialscrape.dev/v1/threads/profile/posts",14 "sendQuery": true,15 "queryParameters": {16 "parameters": [17 {18 "name": "handle",19 "value": "zuck"20 }21 ]22 },23 "sendHeaders": true,24 "headerParameters": {25 "parameters": [26 {27 "name": "x-api-key",28 "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"29 }30 ]31 }32 }33 }34 ],35 "connections": {}36}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | yes | Username, with or without the leading @. Also accepted as username. |
cursor | string | Opaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are examples, not your data.
1{2 "ok": true,3 "credits_charged": 1,4 "credits_remaining": 4999,5 "cached": false,6 "cached_at": null,7 "request_id": "req_68bcea83f48672ab3fb0c7b4",8 "data": {9 "object": "list",10 "items": [11 {12 "object": "post",13 "platform": "threads",14 "id": "4006434140014576097",15 "url": "https://www.threads.com/@zuck/post/DeZtp-TkQHh",16 "type": "image",17 "author": {18 "id": "63055343223",19 "handle": "zuck",20 "name": "Mark Zuckerberg",21 "url": "https://www.threads.com/@zuck",22 "avatar_url": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jpg_s206x206_tt6&_nc_cat=107&ccb=7-5&_n...",23 "verified": true24 },25 "title": null,26 "text": "Introducing Muse Wonder, our new family of frontier models with state of the art performance for personal and professional agentic work.",27 "published_at": "2026-10-12T16:56:29Z",28 "duration_seconds": null,29 "language": "en",30 "hashtags": null,31 "mentions": null,32 "stats": {33 "views": null,34 "likes": 2143,35 "comments": 623,36 "shares": 232,37 "saves": null,38 "dislikes": null39 },40 "media": {41 "thumbnail_url": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-15/844965867_17991705567103224_8296143909108287920_n.webp?_nc_cat=109&ig_cache_key=NDAwNjQzNDE0MDAxNDU3N...",42 "video_url": null,43 "audio_url": null,44 "image_urls": [45 "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-15/844965867_17991705567103224_8296143909108287920_n.webp?_nc_cat=109&ig_cache_key=NDAwNjQzNDE0MDAxNDU3N..."46 ],47 "width": 2160,48 "height": 326049 },50 "song": null,51 "location": null,52 "is_pinned": false,53 "is_sponsored": null,54 "extra": {55 "code": "DeZtp-TkQHh",56 "full_id": "4006434140014576097_63055343223",57 "quotes": 62,58 "reply_control": "everyone",59 "reposts": 170,60 "shares_sent": 14861 }62 },63 {64 "object": "post",65 "platform": "threads",66 "id": "4006434261020307755",67 "url": "https://www.threads.com/@zuck/post/DeZtrvAEfEr",68 "type": "video",69 "author": {70 "id": "63055343223",71 "handle": "zuck",72 "name": "Mark Zuckerberg",73 "url": "https://www.threads.com/@zuck",74 "avatar_url": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jpg_s206x206_tt6&_nc_cat=107&ccb=7-5&_n...",75 "verified": true76 },77 "title": null,78 "text": "It's been just over a year since we started Meta Superintelligence Labs. Muse Spark was our first family of models, and now Muse Wonder is a much larger and ...",79 "published_at": "2026-10-12T16:57:09Z",80 "duration_seconds": null,81 "language": "en",82 "hashtags": null,83 "mentions": null,84 "stats": {85 "views": null,86 "likes": 837,87 "comments": 100,88 "shares": 43,89 "saves": null,90 "dislikes": null91 },92 "media": {93 "thumbnail_url": "https://scontent-lax3-1.cdninstagram.com/v/t51.71878-15/843458448_2045298256099953_8644614754157170636_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=110&ig_cache_key=NDA...",94 "video_url": "https://scontent-lax3-2.cdninstagram.com/o1/v/t16/f2/m84/AQNdJDHTIzzEwEm2PIjsadzjW1lwnHlvhFof0tf0jvzczIF8OYWYVm8Resjw7ztm_wUKjM1RRs5UCeXGQVVfsVYMFHfSYiO6pe7h...",95 "audio_url": null,96 "image_urls": null,97 "width": 1920,98 "height": 108099 },100 "song": null,101 "location": null,102 "is_pinned": false,103 "is_sponsored": null,104 "extra": {105 "code": "DeZtrvAEfEr",106 "full_id": "4006434261020307755_63055343223",107 "is_reply": true,108 "quotes": 9,109 "reply_control": "everyone",110 "reposts": 34111 }112 }113 ],114 "cursor": "eyJ1IjoiNjMwNTUzNDMyMjMiLCJhIjoiQVFIVGo5RnJ2MTRZOXRNVnZxU1V5UTJLQ1lwM1ZxTEpGZ3Fhc01ucUNVZTF0MU1SMWZMNWJnakV5R2RYZXdrVjhOMlBUUVFGRFVzbVd2b2NHS2pHa01NS3RnIn0",115 "has_more": true,116 "parent": null117 },118 "cursor": "eyJ1IjoiNjMwNTUzNDMyMjMiLCJhIjoiQVFIVGo5RnJ2MTRZOXRNVnZxU1V5UTJLQ1lwM1ZxTEpGZ3Fhc01ucUNVZTF0MU1SMWZMNWJnakV5R2RYZXdrVjhOMlBUUVFGRFVzbVd2b2NHS2pHa01NS3RnIn0",119 "has_more": true120}Fields
A page of results. Each entry in items is a Post. cursor and has_more page through the rest.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "post" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
type | "video" or "short" or "reel" or "image" or "carousel" or "story" or "live" or "clip" or "text" or "link" or "tweet" or "pin" or "community_post" or "episode" or "unknown" | ||
author | Author or null | ||
title | string or null | ||
text | string or null | ||
published_at | string (ISO 8601 date-time) or null | ||
duration_seconds | number or null | ||
language | string or null | ||
hashtags | string[] or null | ||
mentions | string[] or null | ||
stats | Stats |
Show the other 6 fields
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
How do I get more than one page?
Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.
Is there an SDK call for it?
The Python client has client.threads.profile_posts(...) and the TypeScript client client.threads.profilePosts(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.
Can an AI agent call it?
Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.