section_idstring必填
Section ID (from fetch_explore_sections API)
https://api.sandbase.ai/v1/api/instagram/v1/section-postsReturns posts listed under a specific Instagram explore section. Supports pagination controls and page size configuration by section ID.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
Returns a page of posts listed under one Instagram explore section, plus the section name and its subsections. It needs a section_id. You can set the page size with count and continue with max_id.
subsections list to collect posts for narrower topics such as Beauty or Fashion.display_uri images and post code values from an explore section for a content research board.comment_count across posts in a section to find the most discussed posts.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/section-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"section_id": "10156104410190727"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
section_id | string | Yes | Section ID (from fetch_explore_sections API) |
count | integer | No | Count per page, default 20 |
max_id | string | No | Pagination cursor, omit for first request |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"attempts": "0",
"items": [
{
"boost_unavailable_identifier": null,
"boost_unavailable_reason": null,
"boost_unavailable_reason_v2": [],
"can_modify_carousel": true,
"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": 1792382586,
"created_at_utc": 1792382586,
"did_report_as_spam": false,
"is_covered": false,
"is_ranked_comment": false,
"media_id": 4011117858977833779
},
"caption_is_edited": true,
"carousel_media": [
{
"caption": null,
"carousel_parent_id": "4011117858977833779_23527883966",
"commerciality_status": "not_commercial",
"creative_config": null,
"display_uri": "https://instagram.fsvq2-1.fna.fbcdn.net/v/t51.82787-15/852515261_181270900127879…",
"explore_pivot_grid": false,
"fb_user_tags": {
"in": []
},
"featured_products": []
}
],
"carousel_media_count": 8
}
],
"max_id": null,
"more_available": false,
"section_name": "Fashion & Beauty",
"status": "ok",
"subsections": [
{
"name": "Beauty",
"section_id": 1700128603535381
}
]
}
| Field | Meaning |
|---|---|
section_name | Name of the explore section you requested, for example Fashion & Beauty. |
subsections[].name / subsections[].section_id | Name and ID of each narrower section inside this one. You can pass these section_id values in a new request. |
items[].code | Short post code. It is the part of an Instagram post URL that identifies the post. |
items[].caption.created_at | Unix timestamp in seconds for the caption. The caption text itself is not in this response. |
items[].caption.media_id | Numeric ID of the post the caption belongs to. |
items[].comment_count | Number of comments on the post. |
items[].display_uri | URL of the main image for the post. |
items[].carousel_media_count | Number of slides in a carousel post. |
items[].carousel_media[].display_uri | Image URL for one slide of the carousel. The list may show only the first few slides. |
more_available / max_id | Pagination state. more_available tells you whether more pages exist, and max_id holds the cursor for the next page. |
section_id from the explore sections API. Each entry in subsections also gives a usable ID.max_id as the max_id parameter. In this response max_id is null and more_available is false, so there was no next page.count accepts 1 to 50 and defaults to 20.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/section-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"section_id": "10156104410190727"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
section_idstring必填Section ID (from fetch_explore_sections API)
countintegerCount per page, default 20
max_idstringPagination cursor, omit for first request
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
Instagram | 每次呼叫 $0.001 | JSON |
Instagram | 每次呼叫 $0.001 | JSON |
Instagram | 每次呼叫 $0.001 | JSON |
Instagram | 每次呼叫 $0.001 | JSON |
Instagram | 每次呼叫 $0.001 | JSON |
Instagram | 每次呼叫 $0.001 | JSON |
指南:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/v1/section-posts。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:section_id (string)。 選填:count (integer) 和 max_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Instagram Explore Section Posts 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。