Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Threads Post Detail (V2)

API 文件
https://api.sandbase.ai/v1/api/threads/web/post-detail-v2

Returns detailed information for a specific Threads post. Queries can be performed using either a full post link or a post short code as input.

價格
$0.002美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 2 個選填

Playground

輸入
Post short code (optional), for example: DPVUglOjOUu, can be extracted from post URL, e.g., DPVUglOjOUu in https://www.threads.com/@taylorswift/post/DPVUglOjOUu
Full post URL (optional), for example: https://www.threads.com/@taylorswift/post/DPVUglOjOUu
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Threads Post Detail (V2) API

Returns the details of one Threads post, including its caption, media, engagement counts, author, and a list of replies. It needs either a full post link in url or the post short code in post_id.

Use cases

  • Track the like, reply, and repost counts of a single announcement post over time.
  • Download the image URLs from a carousel post for archiving or review.
  • Read the top replies to a post to see how an audience reacts.
  • Check the author's username and verification status from a shared post link.

Request

curl -X POST "https://api.sandbase.ai/v1/api/threads/web/post-detail-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"post_id": "DPVUglOjOUu", "url": "https://www.threads.com/@taylorswift/post/DPVUglOjOUu"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
post_idstringNoPost short code (optional), for example: DPVUglOjOUu, can be extracted from post URL, e.g., DPVUglOjOUu in https://www.threads.com/@taylorswift/post/DPVUglOjOUu
urlstringNoFull post URL (optional), for example: https://www.threads.com/@taylorswift/post/DPVUglOjOUu

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "author_thread": [],
  "parent_thread": [],
  "pinned_replies": [],
  "post": {
    "accessibility_caption": null,
    "can_inline_expand_below": false,
    "caption": "I can’t tell you how proud I am to share this with you, an album that just feels…",
    "caption_is_edited": false,
    "carousel_media": [
      {
        "accessibility_caption": null,
        "id": "3734981661403426835_66109110437",
        "image_versions2": {
          "candidates": [
            {
              "height": 1440,
              "url": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/558969126_17913678132206…",
              "width": 2159
            }
          ]
        },
        "media_type": 1,
        "original_height": 1440,
        "original_width": 2159,
        "pk": "3734981661403426835",
        "video_versions": []
      }
    ],
    "code": "DPVUglOjOUu",
    "direct_reply_count": 10079,
    "image_versions2": {
      "candidates": [
        {
          "height": 1440,
          "url": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/558969126_17913678132206…",
          "width": 2159
        }
      ]
    },
    "is_pinned_to_profile": false,
    "is_post_unavailable": false,
    "is_reply": false,
    "like_count": 139993
  },
  "raw_json_size": 611771,
  "replies": [
    {
      "accessibility_caption": null,
      "can_inline_expand_below": false,
      "caption": "I LOVE YOU SO MUCH TAYLOR!!! THIS ALBUM ASWELL AS ALL YOUR OTHER ALBUMS IS AMAZI…",
      "caption_is_edited": false,
      "carousel_media": [],
      "code": "DPXoFfxjQUQ",
      "direct_reply_count": 0,
      "image_versions2": {
        "candidates": []
      },
      "is_pinned_to_profile": false,
      "is_post_unavailable": false,
      "is_reply": true,
      "like_count": 1
    }
  ],
  "success": true
}

Response fields

FieldMeaning
post.captionThe text of the post. post.caption_is_edited shows whether the author edited it.
post.code / post.post_idcode is the short code used in the post link. post_id is the long numeric ID of the same post.
post.like_count / post.direct_reply_count / post.quote_count / post.repost_count / post.reshare_countEngagement counts for the post: likes, direct replies, quotes, reposts, and reshares.
post.taken_atTime the post was published, as a Unix timestamp in seconds.
post.user.username / post.user.full_name / post.user.is_verifiedThe author's handle, display name, and verification flag.
post.carousel_media[].image_versions2.candidates[]Image files for each carousel item. Each entry has url, width, and height, with several sizes per image.
post.media_typeA numeric code for the post format. This post has 8 and a carousel_media list with 3 images.
replies[]Replies to the post. Each item uses the same structure as post, with its own caption, like_count, code, and user.
replies[].is_replyIs true for items in the reply list.
author_thread[] / parent_thread[] / pinned_replies[]Related thread lists. They are empty in this response.

Notes

  • Send post_id or url. The short code is the last part of a post link, for example DPVUglOjOUu in https://www.threads.com/@taylorswift/post/DPVUglOjOUu.
  • The long numeric post.post_id differs from the short post.code. To look up a post by its numeric ID, use Threads Post Detail.
  • To list more posts from the author, call Threads User Posts. For their replies, call Threads User Replies.

Pricing

$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Threads每次呼叫 $0.002JSON
Threads每次呼叫 $0.002JSON
Threads每次呼叫 $0.003JSON
Threads每次呼叫 $0.002JSON
Threads每次呼叫 $0.002JSON
Threads每次呼叫 $0.002JSON

指南:Best Threads API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Threads Post Detail (V2) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/threads/web/post-detail-v2。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Threads Post Detail (V2) API 的費用是多少?

每次 $0.002,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Threads Post Detail (V2) API 接受哪些參數?

不需要任何參數。 選填:post_id (string) 和 url (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Threads Post Detail (V2) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Threads 開發者帳號或 API 金鑰嗎?

不需要。Threads Post Detail (V2) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Threads API 存取權。