Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Threads Post Detail

Docs 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.

Prix
$0.002USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 0 facultatifs

Bac à sable

Entrée
Post ID (numeric only), for example: 3349029093483693129, can be obtained from other APIs. If using URL to get, call /fetch_post_detail_v2 API.
SortieExemple
Réponseoutputs · 10.7 KB · 174 lignes
[
  {
    "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"
      }
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Threads$0.002 par appelJSON
Threads$0.002 par appelJSON
Threads$0.003 par appelJSON
Threads$0.002 par appelJSON
Threads$0.002 par appelJSON
Threads$0.002 par appelJSON

Guides :Best Threads API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Threads Post Detail ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/threads/web/post-detail avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Threads Post Detail ?

$0.002 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Threads Post Detail accepte-t-elle ?

Obligatoire : post_id (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Threads Post Detail ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Threads ?

Non. Threads Post Detail fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Threads séparément.