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

Threads Post Detail

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

Returns detailed information for a specific Threads post using its numeric ID. Call this endpoint to inspect post content and metadata from the web interface.

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

Playground

輸入
Post ID (numeric only), for example: 3349029093483693129, can be obtained from other APIs. If using URL to get, call /fetch_post_detail_v2 API.
輸出範例
回應outputs · 10.7 KB · 174 行
[
  {
    "data": {
      "cursor": "",
      "node": {
        "__typename": "XDTThread",
        "header": null,
        "id": "3349029093483693129",
        "thread_header_context": null,
        "thread_items": [
          {
            "line_type": "none",
            "post": {
              "accessibility_caption": null,
              "audio": null,
              "caption": {
                "has_translation": null,
                "pk": "18062882737479481",
                "text": "🦙 Today’s the day! Introducing Meta Llama 3: the next generation of our state-of-the-art open source LLM.\n\nWe believe these are the best open source models of their class, period.\n\nMore details 👉 https://go.fb.me/0lkabd\nDownload Llama 3 👉 https://go.fb.me/swt2z7"
              },
              "caption_add_on": null,
              "caption_is_edited": false,
              "carousel_media": null,
              "code": "C56JDdzi0RJ",
              "fbid": "18062879098479481",
              "gen_ai_detection_method": null,
              "giphy_media_info": null,
              "has_audio": false,
              "has_liked": false,
              "id": "3349029093483693129_63297508186",
              "image_versions2": {
                "candidates": [
                  {
                    "height": 360,
                    "url": "https://scontent-sea5-1.cdninstagram.com/v/t51.71878-15/528746475_742979485248600_7859785870513216870_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=107&ig_cache_key=MzM0OTAyOTA5MzQ4MzY5MzEyOQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuNjQwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLkMzIn0%3D&_nc_ohc=CPXrr4pfiSoQ7kNvwEu_hVw&_nc_oc=Adqx755Ghqpu6tgNf5JlJ4m7EqWdJMgiqnhFr1A21I35Pf0SigbXHFzaNGIM6rmFjyg&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_gid=ujuIBQ72kdd2_-Dbn3akyw&_nc_ss=7a22e&oh=00_AQOgtXwwVSBdPx-LlC-pAlsEGhjGtj5mXbv2c6xwrJYftA&oe=6AC1A83C",
                    "width": 640
                  },
                  {
                    "height": 270,
                    "url": "https://scontent-sea5-1.cdninstagram.com/v/t51.71878-15/528746475_742979485248600_7859785870513216870_n.jpg?stp=dst-jpg_e15_s480x480_tt6&_nc_cat=107&ig_cache_key=MzM0OTAyOTA5MzQ4MzY5MzEyOQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuNjQwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLkMzIn0%3D&_nc_ohc=CPXrr4pfiSoQ7kNvwEu_hVw&_nc_oc=Adqx755Ghqpu6tgNf5JlJ4m7EqWdJMgiqnhFr1A21I35Pf0SigbXHFzaNGIM6rmFjyg&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_gid=ujuIBQ72kdd2_-Dbn3akyw&_nc_ss=7a22e&oh=00_AQPxMTMcoWAbEQemNgpZb-MFclcQojVkmL6NsigmMTCh-Q&oe=…",
                    "width": 480
                  },
                  {
                    "height": 180,
                    "url": "https://scontent-sea5-1.cdninstagram.com/v/t51.71878-15/528746475_742979485248600_7859785870513216870_n.jpg?stp=dst-jpg_e15_s320x320_tt6&_nc_cat=107&ig_cache_key=MzM0OTAyOTA5MzQ4MzY5MzEyOQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuNjQwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLkMzIn0%3D&_nc_ohc=CPXrr4pfiSoQ7kNvwEu_hVw&_nc_oc=Adqx755Ghqpu6tgNf5JlJ4m7EqWdJMgiqnhFr1A21I35Pf0SigbXHFzaNGIM6rmFjyg&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_gid=ujuIBQ72kdd2_-Dbn3akyw&_nc_ss=7a22e&oh=00_AQMUnCp13Xbv5dtA20ymEkcAc6V0js2wH_C_AfUF5MKqNQ&oe=…",
                    "width": 320
                  },
                  "… 8 more items in the full response"
                ]
              },
              "is_fb_only": null,
              "is_internal_only": null,
              "is_paid_partnership": null,
              "like_and_view_counts_disabled": false,
              "like_count": 518,
              "logging_info_token": null,
              "media_overlay_info": null,
              "media_type": 2,
              "metaPlace": null,
              "meta_place": null,
              "organic_tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiN2MzOGMwNTgtY2E4Yi00YTY5LWFkZDQtZjY0MmEwYmZiZGJhMzM0OTAyOTA5MzQ4MzY5MzEyOSJ9LCJzaWduYXR1cmUiOiIifQ==",
              "original_height": 1080,
              "original_width": 1920,
              "pk": "3349029093483693129",
              "sharing_friction_info": {
                "sharing_friction_payload": null,
                "should_have_sharing_friction": false
              },
              "taken_at": 1713457832,
              "text_post_app_info": {
                "can_private_reply": false,
                "can_reply": false,
                "delete_timestamp": null,
                "direct_reply_count": 48,
                "fediverse_info": null,
                "hush_info": null,
                "is_post_unavailable": false,
                "is_reply": false,
                "link_preview_attachment": null,
                "linked_inline_media": null,
                "pinned_post_info": {
                  "is_pinned_to_parent_post": false,
                  "is_pinned_to_profile": false
                },
                "post_unavailable_reason": null,
                "private_reply_partner": null,
                "quote_count": 10,
                "related_trends_info": null,
                "reply_control": "everyone",
                "reply_to_author": null,
                "repost_count": 80,
                "reshare_count": null,
                "search_trend_info_from_link_preview": null,
                "share_info": {
                  "can_quote_post": false,
                  "is_reposted_by_viewer": false,
                  "quoted_attachment_author_attribution_allowed": true,
                  "quoted_attachment_post": null,
                  "quoted_attachment_post_unavailable": false,
                  "quoted_post": null,
                  "reposted_post": null
                },
                "special_effects_enabled_str": "",
                "text_fragments": {
                  "fragments": [
                    {
                      "fragment_type": "plaintext",
                      "link_fragment": null,
                      "linkified_web_url": null,
                      "mention_fragment": null,
                      "plaintext": "🦙 Today’s the day! Introducing Meta Llama 3: the next generation of our state-of-the-art open source LLM.\n\nWe believe these are the best open source models of their class, period.\n\nMore details 👉 ",
                      "tag_fragment": null
                    },
                    {
                      "fragment_type": "link",
                      "link_fragment": {
                        "display_text": "go.fb.me/0lkab…",
                        "uri": "https://go.fb.me/0lkabd"
                      },
                      "linkified_web_url": null,
                      "mention_fragment": null,
                      "plaintext": "https://go.fb.me/0lkabd",
                      "tag_fragment": null
                    },
                    {
                      "fragment_type": "plaintext",
                      "link_fragment": null,
                      "linkified_web_url": null,
                      "mention_fragment": null,
                      "plaintext": "\nDownload Llama 3 👉 ",
                      "tag_fragment": null
                    },
                    "… 1 more items in the full response"
                  ]
                }
              },
              "transcription_data": null,
              "user": {
                "eligible_for_text_app_activation_badge": false,
                "friendship_status": null,
                "hide_text_app_activation_badge_on_text_app": false,
                "id": "63297508186",
                "is_verified": true,
                "pk": "63297508186",
                "profile_pic_url": "https://scontent-sea5-1.cdninstagram.com/v/t51.2885-19/361122390_644249634089977_6670648448782839402_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4zNTQuYzIifQ&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gEsIQw4s_nQ6v0Jur8c-tp9PSZ6AfkfSHtO3MkODTjUJPGHdHjJL1XvwS8NHxGRNv0&_nc_ohc=Cwh966N7o0gQ7kNvwHsg1rK&_nc_gid=ujuIBQ72kdd2_-Dbn3akyw&edm=APs17CUBAAAA&ccb=7-5&oh=00_AQPixA1fra1VuruVFr4p5GBAVG99ROf8CtrufVfqTBFUGA&oe=6AC1B44A&_nc_sid=10d13b",
                "text_app_last_visited_time": 0,
                "transparency_label": null,
                "transparency_product": null,
                "transparency_product_enabled": false,
                "username": "aiatmeta"
              },
              "video_versions": [
                {
                  "type": 101,
                  "url": "https://scontent-sea5-1.cdninstagram.com/o1/v/t16/f2/m69/AQNAdHRnHb2kePF8rMMLraS7uKd3lhBT_IEqq-AmQKQNr5KbcHoQW2LQDHCVACkAlTc0hKQUiAJZ3fW1YOwrx2aT.mp4?strext=1&_nc_cat=111&_nc_sid=5e9851&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_ohc=yx7g6CnduX0Q7kNvwFNKLDp&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uRkVFRC5DMy4xMjgwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6NDA2MDA1MzU1NjEyNjgzLCJhc3NldF9hZ2VfZGF5cyI6ODk0LCJ2aV91c2VjYXNlX2lkIjoxMDE2NCwiZHVyYXRpb25fcyI6Nywid2F0Y2hfdGltZV9zIjowLCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=e4ab350209829b67&_nc_vs=HBkcFQIYOnBhc3N0aHJvdWdoX2V…"
                },
                {
                  "type": 102,
                  "url": "https://scontent-sea5-1.cdninstagram.com/o1/v/t16/f2/m69/AQNAdHRnHb2kePF8rMMLraS7uKd3lhBT_IEqq-AmQKQNr5KbcHoQW2LQDHCVACkAlTc0hKQUiAJZ3fW1YOwrx2aT.mp4?strext=1&_nc_cat=111&_nc_sid=5e9851&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_ohc=yx7g6CnduX0Q7kNvwFNKLDp&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uRkVFRC5DMy4xMjgwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6NDA2MDA1MzU1NjEyNjgzLCJhc3NldF9hZ2VfZGF5cyI6ODk0LCJ2aV91c2VjYXNlX2lkIjoxMDE2NCwiZHVyYXRpb25fcyI6Nywid2F0Y2hfdGltZV9zIjowLCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=e4ab350209829b67&_nc_vs=HBkcFQIYOnBhc3N0aHJvdWdoX2V…"
                },
                {
                  "type": 103,
                  "url": "https://scontent-sea5-1.cdninstagram.com/o1/v/t16/f2/m69/AQNAdHRnHb2kePF8rMMLraS7uKd3lhBT_IEqq-AmQKQNr5KbcHoQW2LQDHCVACkAlTc0hKQUiAJZ3fW1YOwrx2aT.mp4?strext=1&_nc_cat=111&_nc_sid=5e9851&_nc_ht=scontent-sea5-1.cdninstagram.com&_nc_ohc=yx7g6CnduX0Q7kNvwFNKLDp&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uRkVFRC5DMy4xMjgwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6NDA2MDA1MzU1NjEyNjgzLCJhc3NldF9hZ2VfZGF5cyI6ODk0LCJ2aV91c2VjYXNlX2lkIjoxMDE2NCwiZHVyYXRpb25fcyI6Nywid2F0Y2hfdGltZV9zIjowLCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=e4ab350209829b67&_nc_vs=HBkcFQIYOnBhc3N0aHJvdWdoX2V…"
                }
              ]
            },
            "should_show_ephemeral_post_timer": null
          }
        ],
        "thread_type": "thread"
      }
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Threads Post Detail API

Returns the content and metadata of one Threads post. It needs the numeric post_id of the post.

Use cases

  • Read the caption text of a single Threads post from its ID.
  • Check whether a post caption was edited with caption_is_edited.
  • Get the short post code for a post you only know by numeric ID.
  • Confirm a post exists and has the type thread before you store it.

Request

curl -X POST "https://api.sandbase.ai/v1/api/threads/web/post-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"post_id": "3349029093483693129"}'

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

Parameters

NameTypeRequiredDescription
post_idstringYesPost ID (numeric only), for example: 3349029093483693129, can be obtained from other APIs. If using URL to get, call /fetch_post_detail_v2 API.

Example response

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

{
  "cursor": "",
  "node": {
    "__typename": "XDTThread",
    "header": null,
    "id": "3349029093483693129",
    "thread_header_context": null,
    "thread_items": [
      {
        "line_type": "none",
        "post": {
          "accessibility_caption": null,
          "audio": null,
          "caption": {
            "has_translation": null,
            "pk": "18062882737479481",
            "text": "🦙 Today’s the day! Introducing Meta Llama 3: the next generation of our state-of…"
          },
          "caption_add_on": null,
          "caption_is_edited": false,
          "carousel_media": null,
          "code": "C56JDdzi0RJ",
          "fbid": "18062879098479481"
        },
        "should_show_ephemeral_post_timer": null
      }
    ],
    "thread_type": "thread"
  }
}

Response fields

FieldMeaning
node.idNumeric ID of the thread. It matches the post_id you sent.
node.thread_typeType of the returned node. The sample value is thread.
node.thread_items[].post.caption.textText of the post caption. Long captions may include emoji and line breaks.
node.thread_items[].post.caption.pkID of the caption object.
node.thread_items[].post.caption_is_editedBoolean. It is true when the caption was edited after posting.
node.thread_items[].post.codeShort alphanumeric code for the post.
node.thread_items[].post.fbidAnother numeric ID for the post.
node.thread_items[].post.carousel_media / node.thread_items[].post.audioMedia details. Both are null when the post has no carousel or audio.

Notes

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 API?

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

Threads Post Detail API 的費用是多少?

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

Threads Post Detail API 接受哪些參數?

必要:post_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Threads Post Detail API 會回傳什麼?

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

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

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