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

Instagram Tagged Posts

API 文件
https://api.sandbase.ai/v1/api/instagram/tagged-posts

List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).

價格
自 $0.00188 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填

Playground

輸入
Instagram username without the leading @.
Pagination cursor from a previous response's nextCursor.
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `audioId`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Instagram Tagged Posts API

This API returns a page of Instagram posts that a given user is tagged in. It needs an Instagram handle without the leading @. Each post includes the author, caption, engagement counts, tagged users, and sound details where present.

Use cases

  • Track which creators and fans post content that tags a brand account such as nasa.
  • Measure engagement on tagged posts by comparing likes, comments, reshares, and views.
  • Find tagged posts at a physical place using locationName, locationLat, and locationLng.
  • Collect url values of tagged reels and feed posts for a review or moderation queue.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/tagged-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle": "nasa"}'

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

Parameters

NameTypeRequiredDescription
handlestringYesInstagram username without the leading @.
cursorstringNoPagination cursor from a previous response's nextCursor.
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example audioId, and it is served only by a source that returns every one of

Example response

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

{
  "data": {
    "nextCursor": "cur_yHFk0Kv5Y5je_8NgQW11og",
    "posts": [
      {
        "audioId": "1455782958355315",
        "author": "exoplanet_emma",
        "avatarUrl": "https://scontent-ord5-1.cdninstagram.com/v/t51.2885-19/343267148_538566048451511…",
        "caption": "Still on cloud 9 from this weekend 🚀✨\n\n📁 Astrophysics aerospace rocket launch ex…",
        "comments": 8,
        "createdUtc": 1788205763,
        "durationSeconds": 10.842,
        "hashtags": [],
        "id": "3976079382136818132",
        "likes": 3,
        "mentions": [],
        "paidPartnership": false
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.posts[].id / data.posts[].urlThe post's ID and its public Instagram link.
data.posts[].authorUsername of the account that published the post.
data.posts[].captionCaption text of the post. Long captions can be shortened.
data.posts[].likes / comments / reshares / viewsEngagement counts for the post. views is missing on some feed posts.
data.posts[].createdUtcCreation time of the post as a Unix timestamp in seconds.
data.posts[].productTypePost format, for example clips for reels or feed for standard posts.
data.posts[].taggedUsers[].username / userId / displayNameThe accounts tagged in the post, with their username, numeric ID, and display name.
data.posts[].hashtags / mentionsHashtags and @mentions found in the caption, as lists of strings.
data.posts[].audioId / soundTitle / soundAuthorID, title, and author of the sound used in the post. Present on posts that carry audio.
data.posts[].locationName / locationLat / locationLngName and coordinates of the tagged location. Only present when the post has a location.

Notes

  • To get the next page, pass data.nextCursor from the response as cursor in the next request.
  • Use handle without the @, for example nasa.
  • Set requireFields to audioId or carouselCount only if you need that field on every post. This can route the call to a dearer source and raise the price.
  • To read one post in full, call Instagram Post Details. For the tagged account itself, call Instagram Profile.

Pricing

Billed at the actual cost of each call, about $0.00188 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
Instagram每次呼叫 $0.00188 起JSON
Instagram每次呼叫 $0.0011 起JSON
Instagram每次呼叫 $0.001 起JSON
Instagram每次呼叫 $0.0011 起JSON
Instagram每次呼叫 $0.0012 起JSON
Instagram每次呼叫 $0.0011 起JSON

指南:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Instagram Tagged Posts API?

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

Instagram Tagged Posts API 的費用是多少?

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

Instagram Tagged Posts API 接受哪些參數?

必要:handle (string)。 選填:cursor (string) 和 requireFields (array)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Instagram Tagged Posts API 會回傳什麼?

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

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

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