100 free credits. No credit card required. Get a key

Threads post API

One post by URL or shortcode, with counts, media, the quoted post and the author’s thread.

GET /v1/threads/posts/{shortcode}Beta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/threads/posts/DZpPDXbCeTt",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"post": {
"pk": "3920731152608519405",
"id": "3920731152608519405_63055343223",
"code": "DZpPDXbCeTt",
"url": "https://www.threads.com/@zuck/post/DZpPDXbCeTt",
"taken_at": 1781607596,
"text": "500M monthly actives on Threads in less than 3 years. Thanks for making this platform what it is. 🙏",
"media_type": 19,
"user": {
"pk": "63055343223",
"username": "zuck",
"full_name": "Mark Zuckerberg",
"profile_pic_url": "https://scontent-lax7-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst-jp…",
"is_verified": true
},
"like_count": 18059,
"reply_count": 4682,
"repost_count": 581,
"quote_count": 248,
"reshare_count": 503,
"is_reply": false,
"reply_to_post_id": null,
"reply_to_username": null,
"language": "en"
},
"thread": []
}

Parameters

NameTypeDescription
shortcodepath · requiredstringA post shortcode, or its URL (threads.com or threads.net /@user/post/<code>). Example: DZpPDXbCeTt.
Response fields

200 with a ThreadsPostResponse, in the shape of Threads’ own post and user objects.

FieldTypeDescription
postThreadsPost
threadThreadsPost[]The author’s own follow-ups in the same thread, in order.
Status codes
StatusMeaning
200The post and its thread.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account or post does not exist, or was removed.
429Too many requests. Wait for Retry-After seconds.
503Threads is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Threads is a trademark of Instagram, LLC (Meta Platforms, Inc.). We are not affiliated with or endorsed by Threads, Instagram or Meta.