Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Instagram Explore Section Posts

Tài liệu API
https://api.sandbase.ai/v1/api/instagram/v1/section-posts

Returns posts listed under a specific Instagram explore section. Supports pagination controls and page size configuration by section ID.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Section ID (from fetch_explore_sections API)
150
Count per page, default 20 Phạm vi: 1 đến 50.
Pagination cursor, omit for first request
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Instagram Explore Section Posts API

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.

Use cases

  • Pull the posts shown in the Fashion & Beauty explore section to see which carousels get the most comments.
  • Walk the subsections list to collect posts for narrower topics such as Beauty or Fashion.
  • Save the display_uri images and post code values from an explore section for a content research board.
  • Compare comment_count across posts in a section to find the most discussed posts.

Request

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.

Parameters

NameTypeRequiredDescription
section_idstringYesSection ID (from fetch_explore_sections API)
countintegerNoCount per page, default 20
max_idstringNoPagination cursor, omit for first request

Example response

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
    }
  ]
}

Response fields

FieldMeaning
section_nameName of the explore section you requested, for example Fashion & Beauty.
subsections[].name / subsections[].section_idName and ID of each narrower section inside this one. You can pass these section_id values in a new request.
items[].codeShort post code. It is the part of an Instagram post URL that identifies the post.
items[].caption.created_atUnix timestamp in seconds for the caption. The caption text itself is not in this response.
items[].caption.media_idNumeric ID of the post the caption belongs to.
items[].comment_countNumber of comments on the post.
items[].display_uriURL of the main image for the post.
items[].carousel_media_countNumber of slides in a carousel post.
items[].carousel_media[].display_uriImage URL for one slide of the carousel. The list may show only the first few slides.
more_available / max_idPagination state. more_available tells you whether more pages exist, and max_id holds the cursor for the next page.

Notes

  • Get section_id from the explore sections API. Each entry in subsections also gives a usable ID.
  • For the next page, send the returned 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.
  • Use Instagram Post Details by ID or Instagram Post Details by URL to look at a single post from the list.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON

Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Instagram Explore Section Posts?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v1/section-posts với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Instagram Explore Section Posts có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Instagram Explore Section Posts chấp nhận những tham số nào?

Bắt buộc: section_id (string). Tùy chọn: count (integer) và max_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Instagram Explore Section Posts trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Instagram không?

Không. Instagram Explore Section Posts chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Instagram.