Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Instagram Post Details (V3)

เอกสาร API
https://api.sandbase.ai/v1/api/instagram/v3/post-info

Returns comprehensive details for an Instagram post, reel, or video. Look up content using either a direct media link or a specific media identifier.

ราคา
$0.008USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 2 ไม่บังคับ

Playground

อินพุต
Post media ID (numeric ID), can be obtained via `/shortcode_to_media_id` endpoint
Post URL, e.g. `https://www.instagram.com/p/DUajw4YkorV/`, supports `/p/`, `/reel/`, `/reels/`, `/tv/` paths
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Instagram Post Details (V3) API

Returns details for one Instagram post, reel, or video as a list under items. Send a post url or a numeric media_id.

Use cases

  • Read the comment count and Facebook cross-post counts for a single reel.
  • Find the co-authors of a collaboration post and check whether they are verified.
  • Convert a post link into its code, fbid, and caption timestamp for record keeping.
  • Check whether comments and reshares are enabled on a post before you build a tool around it.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/post-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"media_id": "3850699893338385742", "url": "https://www.instagram.com/p/DUajw4YkorV/"}'

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

Parameters

NameTypeRequiredDescription
media_idstringNoPost media ID (numeric ID), can be obtained via /shortcode_to_media_id endpoint
urlstringNoPost URL, e.g. https://www.instagram.com/p/DUajw4YkorV/, supports /p/, /reel/, /reels/, /tv/ paths

Example response

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

{
  "_rid": "1ccf10e877cb4",
  "auto_load_more_enabled": false,
  "items": [
    {
      "are_remixes_crosspostable": true,
      "boost_unavailable_identifier": null,
      "boost_unavailable_reason": null,
      "boost_unavailable_reason_v2": null,
      "can_see_insights_as_brand": false,
      "can_view_more_preview_comments": false,
      "can_viewer_reshare": true,
      "can_viewer_save": true,
      "caption": {
        "bit_flags": 0,
        "content_type": "comment",
        "created_at": 1773259206,
        "created_at_utc": 1773259206,
        "did_report_as_spam": false,
        "has_translation": true,
        "is_covered": false,
        "is_ranked_comment": false
      },
      "caption_is_edited": false,
      "client_cache_key": "Mzg1MDY5OTg5MzMzODM4NTc0Mg==.3",
      "clips_metadata": {
        "achievements_info": {
          "num_earned_achievements": null,
          "show_achievements": false
        },
        "additional_audio_info": {
          "additional_audio_username": null,
          "audio_reattribution_info": {
            "should_allow_restore": false
          }
        },
        "asset_recommendation_info": null,
        "audio_ranking_info": {
          "best_audio_cluster_id": "727312237013877"
        },
        "audio_type": "original_sounds",
        "branded_content_tag_info": {
          "can_add_tag": false
        },
        "breaking_content_info": null,
        "breaking_creator_info": null
      }
    }
  ],
  "more_available": false,
  "num_results": 1,
  "status": "ok"
}

Response fields

FieldMeaning
items[].codeShort code of the post. It is the part of the post URL after /p/ or /reel/.
items[].comment_countNumber of comments on the post.
items[].caption.created_at / items[].caption.created_at_utcTime the caption was created, as a Unix timestamp in seconds.
items[].caption.has_translationShows whether a translation exists for the caption.
items[].fb_like_count / items[].fb_play_count / items[].fb_comment_countLike, play, and comment counts for the Facebook side of the post.
items[].fbidFacebook-side ID for the post.
items[].coauthor_producers[].full_name / items[].coauthor_producers[].id / items[].coauthor_producers[].is_verifiedName, user ID, and verified status of each co-author on a collaboration post.
items[].clips_metadata.audio_typeType of audio used in the reel. The value original_sounds marks audio made for this reel.
items[].can_viewer_reshare / items[].can_viewer_save / items[].comment_likes_enabledFlags that show whether the viewer can reshare or save the post and whether comment likes are on.
items[].device_timestampUnix timestamp in seconds recorded by the posting device.

Notes

  • Send either url or media_id. The url can use the /p/, /reel/, /reels/, or /tv/ path.
  • To get a media_id from a post link, call Instagram Shortcode to Media ID (V3).
  • The response holds one post in items, and num_results is 1. more_available is false, so there is no paging.
  • To read the comments on the post, call Instagram Post Comments (V3).

Pricing

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

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Instagram$0.008 ต่อการเรียกJSON
Instagram$0.008 ต่อการเรียกJSON
Instagram$0.008 ต่อการเรียกJSON
Instagram$0.008 ต่อการเรียกJSON
Instagram$0.002 ต่อการเรียกJSON
Instagram$0.008 ต่อการเรียกJSON

คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Instagram Post Details (V3) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/v3/post-info โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Instagram Post Details (V3) API ราคาเท่าไร?

$0.008 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Instagram Post Details (V3) API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: media_id (any) และ url (any). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Instagram Post Details (V3) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Instagram ไหม?

ไม่จำเป็น Instagram Post Details (V3) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก