Get post detail V2(supports URL)

Browse registered social-data routes across platforms, then dive into detailed reference docs

API DocsthreadsContentGet post detail V2(supports URL)

Get post detail V2(supports URL)

What this API is for

  • Get Threads post detail (supports short code and full URL)
  • Price: 0.002$ / time
GET/openapi/api/v1/threads/web/fetch_post_detail_v2

Price:Price unavailable · Actual charges depend on free quota and account discounts

Authentication

All API requests require a Bearer project token in the Authorization header

Authorization headerAuthorization: Bearer YOUR_API_TOKEN

Request parameters

  • post_id: Post short code (optional), for example: DPVUglOjOUu, can be extracted from post URL, e.g., DPVUglOjOUu in https://www.threads.com/@taylorswift/post/DPVUglOjOUu
  • url: Full post URL (optional), for example: https://www.threads.com/@taylorswift/post/DPVUglOjOUu
  • Note: At least one of post_id or url must be provided
NameLocation / typeRequiredNotesExample
post_idquery / stringNo
  • Post short code
DPVUglOjOUu
urlquery / stringNo
  • Full post URL
https://www.threads.com/@taylorswift/post/DPVUglOjOUu

Request examples

curl -X GET "https://api.trmesh.com/openapi/api/v1/threads/web/fetch_post_detail_v2" \
  -H "Authorization: Bearer sdc_your_project_token" \
  -H "Accept: application/json"

Response fields

  • Post data grouped by role:
    • post: The requested post itself (a single object), including post_id / code /
    • caption / user / like_count / direct_reply_count / repost_count / quote_count /
    • image_versions2 / video_versions / carousel_media, etc.
    • replies: Comments on the post. Note this is only a small first-screen subset,
    • not the full comment list; call /fetch_post_comments for complete comments
    • parent_thread: Parent post chain. Non-empty only when the requested post is itself a reply
    • author_thread: The author's own thread continuation (subsequent posts by the same author)
    • pinned_replies: Pinned comments
  • Note: The role is determined by which group a post appears in. Do NOT use a post's own
    • is_reply field to infer its role — when the requested post is itself a reply,
    • its is_reply is also true
  • replies / parent_thread / author_thread / pinned_replies are always arrays,
    • empty when there is no data
FieldTypeNotesExample
postunknown
  • The requested post itself (a single object), including post_id / code /
repliesunknown
  • Comments on the post. Note this is only a small first-screen subset,
parent_threadunknown
  • Parent post chain. Non-empty only when the requested post is itself a reply
author_threadunknown
  • The author's own thread continuation (subsequent posts by the same author)
pinned_repliesunknown
  • Pinned comments
Noteunknown
  • The role is determined by which group a post appears in. Do NOT use a post's own

Common response envelope

Common fields for response status, request identifiers and data

FieldTypeNotesExample
codeinteger
  • HTTP status code | HTTP状态码
request_idstring | null
  • Unique request identifier | 唯一请求标识符
messagestring
  • Response message (EN-US) | 响应消息 (English)
message_zhstring
  • Response message (ZH-CN) | 响应消息 (中文)
supportstring
  • Support message | 支持消息
timestring
  • The time the response was generated | 生成响应的时间
time_stampinteger
  • The timestamp the response was generated | 生成响应的时间戳
time_zonestring
  • The timezone of the response time | 响应时间的时区
docsstring | null
  • Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接
cache_messagestring | null
  • Cache message (EN-US) | 缓存消息 (English)
cache_message_zhstring | null
  • Cache message (ZH-CN) | 缓存消息 (中文)
cache_urlstring | null
  • The URL to access the cached result | 访问缓存结果的 URL
routerstring
  • The endpoint that generated this response | 生成此响应的端点
paramsunknown
  • The parameters used in the request | 请求中使用的参数
dataunknown | null
  • The response data | 响应数据

Errors and limits

The docs cover not only success responses, but also auth failures, rate limits, and data-service errors

CodeMeaningNotes
200SuccessThe request completed and returned the standard response envelope.
401UnauthorizedThe token is missing, invalid, or no longer active.
429Rate limitedThe request exceeded token, user, or plan-level throughput limits.
502Service unavailableThe gateway could not obtain a healthy result. Retry in a moment.
Next steps

New to the API? Read the guide or explore examples