RequestBeam 文件
Instagram 資料 API
透過 93 個需要驗證的介面查詢 Instagram 使用者資料、貼文、Reels、限時動態、留言、粉絲、地點及搜尋結果。
並行上限
AI 與 Data 分別共用帳戶層級的並行名額,預設 5 AI / 2 Data,訂閱方案可調整上限。介面個別設定仍受類別總上限約束。達到任一上限回傳 HTTP 429;非同步任務執行結束前占用名額。
GET /v1/instagram/v1/media-ids GET /v1/instagram/v1/shortcodes GET /v1/instagram/v1/users/username GET /v1/instagram/v1/users/profile/by-username GET /v1/instagram/v1/users/profile/by-username-v2 GET /v1/instagram/v1/users/profile/by-username-v3 GET /v1/instagram/v1/users/profile/by-id GET /v1/instagram/v1/users/profile/by-id-v2 GET /v1/instagram/v1/users/about GET /v1/instagram/v1/users/posts GET /v1/instagram/v1/users/posts-v2 GET /v1/instagram/v1/users/reels GET /v1/instagram/v1/users/reposts GET /v1/instagram/v1/users/tagged-posts GET /v1/instagram/v1/users/related GET /v1/instagram/v1/search GET /v1/instagram/v1/posts/by-url GET /v1/instagram/v1/posts/by-url-v2 GET /v1/instagram/v1/posts/by-id GET /v1/instagram/v1/posts/comments-v2 GET /v1/instagram/v1/comments/replies GET /v1/instagram/v1/music/posts GET /v1/instagram/v1/hashtags/posts GET /v1/instagram/v1/locations/info GET /v1/instagram/v1/locations/posts GET /v1/instagram/v1/locations/cities GET /v1/instagram/v1/locations GET /v1/instagram/v1/explore/sections GET /v1/instagram/v1/explore/sections/posts GET /v1/instagram/v2/media-ids GET /v1/instagram/v2/shortcodes GET /v1/instagram/v2/users/username GET /v1/instagram/v2/users/profile GET /v1/instagram/v2/users/posts GET /v1/instagram/v2/users/reels GET /v1/instagram/v2/users/followers GET /v1/instagram/v2/users/following GET /v1/instagram/v2/users/stories GET /v1/instagram/v2/users/highlights GET /v1/instagram/v2/highlights/stories GET /v1/instagram/v2/users/tagged-posts GET /v1/instagram/v2/users/similar GET /v1/instagram/v2/search/users GET /v1/instagram/v2/search GET /v1/instagram/v2/search/reels GET /v1/instagram/v2/search/music GET /v1/instagram/v2/search/hashtags GET /v1/instagram/v2/search/locations GET /v1/instagram/v2/locations/nearby GET /v1/instagram/v2/posts/info GET /v1/instagram/v2/posts/likes GET /v1/instagram/v2/posts/comments GET /v1/instagram/v2/comments/replies GET /v1/instagram/v2/music/posts GET /v1/instagram/v2/locations/posts GET /v1/instagram/v2/hashtags/posts GET /v1/instagram/v3/search/users GET /v1/instagram/v3/search/hashtags GET /v1/instagram/v3/search GET /v1/instagram/v3/users/id GET /v1/instagram/v3/users/username GET /v1/instagram/v3/users/profile GET /v1/instagram/v3/users/brief GET /v1/instagram/v3/users/posts GET /v1/instagram/v3/users/tagged-posts GET /v1/instagram/v3/users/reels GET /v1/instagram/v3/users/highlights GET /v1/instagram/v3/highlights/stories GET /v1/instagram/v3/users/about GET /v1/instagram/v3/users/former-usernames GET /v1/instagram/v3/users/stories GET /v1/instagram/v3/reels/recommended GET /v1/instagram/v3/posts/info GET /v1/instagram/v3/posts/by-code GET /v1/instagram/v3/posts/comments GET /v1/instagram/v3/comments/replies GET /v1/instagram/v3/posts/oembed GET /v1/instagram/v3/comments/translation GET /v1/instagram/v3/comments/translations GET /v1/instagram/v3/explore GET /v1/instagram/v3/users/following GET /v1/instagram/v3/users/followers GET /v1/instagram/v3/locations/info GET /v1/instagram/v3/locations/posts GET /v1/instagram/v3/locations/nearby-content GET /v1/instagram/v3/media-ids GET /v1/instagram/v3/shortcodes GET /v1/instagram/v3/shortcodes/from-url GET /v1/instagram/v3/posts/likes GET /v1/instagram/v3/users/similar GET /v1/instagram/v3/locations/nearby GET /v1/instagram/v3/hashtags/posts GET /v1/instagram/v3/music/posts 透過 93 個需要驗證的介面查詢 Instagram 使用者資料、貼文、Reels、限時動態、留言、粉絲、地點及搜尋結果。
身分驗證
請在驗證標頭中傳送 RequestBeam API Key。可用性取決於已啟用的閘道及 API Key 權限;文件不代表正式環境已開放。
Authorization: Bearer YOUR_API_KEY請求
所有介面使用 GET 查詢參數,不接受請求主體。版本路徑選擇 Instagram 介面版本。未知或重複欄位會遭拒絕。識別碼和分頁游標須保留為字串,包括超出 JavaScript 安全整數範圍的值。
curl --get "https://api.requestbeam.com/v1/instagram/v1/users/profile/by-username" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "username=instagram"回應
保留原始 JSON 回應及其 code/data 結構與數字精度。各介面的資料結構不同。成功傳回空結果也可能計費,錯誤不能視為空結果。以下為說明性範例,並非即時回應。
{"code":200,"data":{"user":{"id":"25025320","username":"instagram"}}}計費與分頁
依成功請求次數計費,不依傳回筆數計費;每一頁單獨計費。V1 為 $0.0013;V2 為 $0.0026;V3 為 $0.0104,但三個短碼工具介面為 $0.0026。帳戶專屬價格優先。供應商依用量提供的折扣不會自動轉為客戶折扣。上游呼叫失敗會釋放預扣,結算失敗傳回錯誤且不會再次呼叫上游。
介面參考
選擇介面後,僅傳入文件列出的欄位。列出替代欄位群組時,每組至少提供一個欄位。分頁參數須取自上一頁回應,不會自動翻頁。
錯誤
平台以 HTTP 400 表示參數錯誤、401 表示驗證失敗、402 表示餘額不足、403 表示無閘道權限、429 表示限流、5xx 表示服務或供應商故障。排查時請保留 X-Request-Id。上游 HTTP 200 中的失敗業務碼不代表成功。
來源
介面與價格於 2026-10-31 依官方介面定義及即時價格中繼資料核對。文字說明與即時資料衝突時,以即時資料為準。