Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Instagram Reels Search

Документация API
https://api.sandbase.ai/v1/api/instagram/v2/search-reels

Search Instagram Reels by keyword: reel IDs, captions, creators, play, like and comment counts, with pagination.

Цена
$0.002USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 1 необязательных
100 бесплатных вызовов в деньПервые 100 вызовов в день — бесплатно (общий лимит для организации) · Сброс в 00:00 UTC. Далее оплата за каждый вызов.

Песочница

Ввод
Search keyword
Pagination token from previous response
ВыходПример
Ответoutputs · 23.7 KB · 530 строк
[
  {
    "data": {
      "data": {
        "count": 6,
        "items": [
          {
            "are_remixes_crosspostable": true,
            "boost_unavailable_identifier": null,
            "boost_unavailable_reason": null,
            "boost_unavailable_reason_v2": null,
            "can_reshare": true,
            "can_save": true,
            "caption": {
              "created_at": 1770003608,
              "created_at_utc": 1770003608,
              "did_report_as_spam": false,
              "hashtags": [],
              "id": "3823389733213195521",
              "is_covered": false,
              "is_ranked_comment": false,
              "mentions": [
                "@uncover.ai"
              ],
              "private_reply_status": 0,
              "share_enabled": false,
              "text": "Sam Altman is pointing out a quiet shift in what actually creates advantage. \n\nFor the last 20 to 30 years, learning to program was an obvious bet because software scaled faster than people. Now AI has flattened that edge by making execution cheap and abundant.\n\nIn this new phase, survival is less a…",
              "text_translation": "Sam Altman is pointing out a quiet shift in what actually creates advantage. \n\n For the last 20 to 30 years, learning to program was an obvious bet because software scaled faster than people. Now AI has flattened that edge by making execution cheap and abundant. \n\n In this new phase, survival is les…",
              "type": 1,
              "user": {
                "fbid_v2": "17841459126786248",
                "full_name": "AI Tools & News | Technology | Artificial Intelligence",
                "id": "59249986892",
                "is_private": false,
                "is_unpublished": false,
                "is_verified": false,
                "profile_pic_id": "3272143541228950129",
                "profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.2885-19/416403823_301210005719845_6066841641578020643_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gFHOoVv1c3B5mskgZnDWR0Yp0xeRdAxNHgFZ8…",
                "username": "uncover.ai"
              },
              "user_id": "59249986892"
            },
            "caption_is_edited": false,
            "clips_demotion_control": {
              "confirmation_body": "We'll suggest fewer posts like this.",
              "confirmation_icon": "none",
              "confirmation_style": "bottomsheet",
              "confirmation_title": "Post hidden",
              "confirmation_title_style": "large_left",
              "enable_word_wrapping": true,
              "followup_options": [
                {
                  "data": "author_id:59249986892",
                  "demotion_control": "…",
                  "id": "dislike",
                  "show_icon": true,
                  "style": null,
                  "subtitle": null,
                  "text": "Don't suggest posts from uncover.ai"
                },
                {
                  "data": null,
                  "demotion_control": null,
                  "id": "hide",
                  "show_icon": true,
                  "style": null,
                  "subtitle": null,
                  "text": "Don't suggest posts with certain words"
                },
                "… 2 more items in the full response"
              ],
              "title": "Not interested",
              "title_style": "normal",
              "undo_style": "top_right"
            },
            "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_canonical_id": "18550972105055296",
              "audio_ranking_info": {
                "best_audio_cluster_id": "25362672083414662"
              },
              "audio_type": "original_sounds",
              "basel_template_info_for_ig_app": {
                "is_basel_template": null,
                "original_template_media_id": null,
                "should_show_reuse_setting_for_owner": false,
                "use_template_deeplink": null
              },
              "branded_content_tag_info": {
                "can_add_tag": false
              },
              "breaking_content_info": null,
              "breaking_creator_info": null,
              "challenge_info": null,
              "clips_creation_entry_point": "clips",
              "content_appreciation_info": {
                "enabled": true,
                "entry_point_container": {
                  "comment": "…",
                  "overflow": null,
                  "pill": "…",
                  "ufi": null
                }
              },
              "contextual_highlight_info": null,
              "cutout_sticker_info": [],
              "disable_use_in_clips_client_cache": false,
              "external_media_info": null,
              "featured_label": null,
              "is_fan_club_promo_video": false,
              "is_public_chat_welcome_video": false,
              "is_shared_to_fb": false,
              "mashup_info": {
                "can_toggle_mashups_allowed": false,
                "formatted_mashups_count": null,
                "has_been_mashed_up": true,
                "has_nonmimicable_additional_audio": false,
                "is_creator_requesting_mashup": false,
                "is_light_weight_check": true,
                "is_light_weight_reuse_allowed_check": false,
                "is_pivot_page_available": false,
                "is_reuse_allowed": true,
                "mashup_type": null,
                "mashups_allowed": true,
                "mashups_allowed_for_carousel": false,
                "non_privacy_filtered_mashups_media_count": 3,
                "original_media": null,
                "privacy_filtered_mashups_media_count": null
              },
              "may_have_template_info": null,
              "merchandising_pill_info": null,
              "music_info": null,
              "nux_info": null,
              "original_sound_info": {
                "allow_creator_to_rename": true,
                "attributed_custom_audio_asset_id": null,
                "audio_asset_start_time_in_ms": 0,
                "audio_filter_infos": null,
                "audio_id": "25346037491745494",
                "audio_parts": [],
                "audio_parts_by_filter": [],
                "can_remix_be_shared_to_fb": true,
                "can_remix_be_shared_to_fb_expansion": false,
                "consumption_info": {
                  "display_labels": null,
                  "display_labels_with_translations": null,
                  "display_media_id": null,
                  "inline_audio_label": null,
                  "is_bookmarked": false,
                  "is_trending_in_clips": false,
                  "should_mute_audio_reason": "",
                  "should_mute_audio_reason_type": null,
                  "user_notes": null
                },
                "derived_content_start_time_in_composition_in_ms": 0,
                "duration_in_ms": 58000,
                "fb_downstream_use_xpost_metadata": {
                  "downstream_use_xpost_deny_reason": "NONE"
                },
                "formatted_clips_media_count": null,
                "hide_remixing": false,
                "ig_artist": {
                  "full_name": "AI Tools & News | Technology | Artificial Intelligence",
                  "id": "59249986892",
                  "is_private": false,
                  "is_verified": false,
                  "profile_pic_id": "3272143541228950129",
                  "profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.2885-19/416403823_301210005719845_6066841641578020643_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gFHOoVv1c3B5mskgZnDWR0Yp0xeRdAxNHgFZ8…",
                  "username": "uncover.ai"
                },
                "is_audio_automatically_attributed": false,
                "is_eligible_for_audio_effects": true,
                "is_eligible_for_vinyl_sticker": true,
                "is_explicit": false,
                "is_original_audio_download_eligible": true,
                "is_reuse_disabled": false,
                "is_xpost_from_fb": false,
                "oa_owner_is_music_artist": false,
                "original_audio_subtype": "default",
                "original_audio_title": "Original audio",
                "original_media_id": "3823389733213195521",
                "overlap_duration_in_ms": 0,
                "previous_trend_rank": null,
                "progressive_download_url": "https://scontent-cph2-1.cdninstagram.com/o1/v/t2/f2/m86/AQMO-TitJDiUFuIL4LvItkrJIDUl6blgq3pzAuGRReLwBfvyl7b4omR9tILCubyzYC4wiQWH8v-NqI4SMX14OJV3.mp4?_nc_cat=108&_nc_sid=ef5aa3&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_ohc=fxbTR0ke6-IQ7kNvwFQt4WW&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5WSV9V…",
                "should_mute_audio": false,
                "time_created": 1770003610,
                "trend_rank": null,
                "xpost_fb_creator_info": null
              },
              "originality_info": null,
              "professional_clips_upsell_type": 0,
              "reels_on_the_rise_info": null,
              "reusable_text_attribute_string": null,
              "reusable_text_info": null,
              "shopping_info": null,
              "show_achievements": false,
              "show_tips": null,
              "template_info": null,
              "viewer_interaction_settings": null
            },
            "clips_tab_pinned_user_ids": [],
            "coauthor_producer_can_see_organic_insights": false,
            "coauthor_producers": [],
            "code": "DUPaLSGDE0B",
            "collaborator_edit_eligibility": false,
            "comment_count": 217,
            "comment_inform_treatment": {
              "action_type": null,
              "should_have_inform_treatment": false,
              "text": "",
              "url": null
            },
            "community_notes_info": {
              "enable_submission_friction": false,
              "has_viewer_submitted_note": false,
              "is_eligible_for_request_a_note": true,
              "note_submission_disabled": false
            },
            "creative_config": null,
            "creator_is_in_premium_reactions_alpha": false,
            "crosspost_metadata": {
              "fb_downstream_use_xpost_metadata": {
                "downstream_use_xpost_deny_reason": "NONE"
              }
            },
            "cutout_sticker_info": [],
            "deleted_reason": 0,
            "device_timestamp": 177000358445889,
            "disable_caption_and_comment": false,
            "eligible_insights_entrypoints": "NONE",
            "fb_user_tags": {
              "in": []
            },
            "fbid": "18107917723668147",
            "filter_type": 0,
            "floating_context_items": [],
            "fundraiser_tag": {
              "has_standalone_fundraiser": false
            },
            "gen_ai_detection_method": {
              "detection_method": "NONE"
            },
            "has_audio": true,
            "has_high_risk_gen_ai_inform_treatment": false,
            "has_liked": false,
            "has_privately_liked": false,
            "has_shared_to_fb": 0,
            "has_tagged_users": false,
            "has_views_fetching": true,
            "hidden_likes_string_variant": -1,
            "…": "88 more fields in the full response"
          },
          {
            "are_remixes_crosspostable": true,
            "boost_unavailable_identifier": null,
            "boost_unavailable_reason": null,
            "boost_unavailable_reason_v2": null,
            "can_reshare": true,
            "can_save": true,
            "caption": {
              "created_at": 1790951637,
              "created_at_utc": 1790951637,
              "did_report_as_spam": false,
              "hashtags": [],
              "id": "3999113499365461169",
              "is_covered": false,
              "is_ranked_comment": false,
              "mentions": [],
              "private_reply_status": 0,
              "share_enabled": false,
              "text": "DevDay scenes",
              "type": 1,
              "user": {
                "fbid_v2": "17841445531001821",
                "full_name": "OpenAI",
                "id": "45374573700",
                "is_private": false,
                "is_unpublished": false,
                "is_verified": true,
                "profile_pic_id": "3973928817672774008",
                "profile_pic_url": "https://scontent-cph2-1.cdninstagram.com/v/t51.82787-19/788716177_18115256264517701_8401817653356104064_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4zMjAuYzIifQ&_nc_ht=scontent-cph2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gFHOoVv1c3B5mskgZnDWR0Yp0xeRdAxNHgFZ8…",
                "username": "openai"
              },
              "user_id": "45374573700"
            },
            "caption_is_edited": false,
            "clips_demotion_control": {
              "confirmation_body": "We'll suggest fewer posts like this.",
              "confirmation_icon": "none",
              "confirmation_style": "bottomsheet",

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в playground.

README по API

Instagram Reels Search API

Returns Instagram Reels that match a keyword. Each item includes the reel code, caption data, and engagement counts. The only required input is keyword.

Use cases

  • Find reels about a topic such as openai and rank them by comment_count.
  • Collect the hashtags used in captions of matching reels to see which tags travel with a topic.
  • Find creators who post about a subject by reading the author shown in each result.
  • Track mentions of a brand in short video by searching its name on a schedule.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-reels" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "openai"}'

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

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword
pagination_tokenstringNoPagination token from previous response

Example response

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

{
  "data": {
    "count": 12,
    "items": [
      {
        "are_remixes_crosspostable": true,
        "boost_unavailable_identifier": null,
        "boost_unavailable_reason": null,
        "boost_unavailable_reason_v2": null,
        "can_reshare": true,
        "can_save": true,
        "caption": {
          "created_at": 1788649979,
          "created_at_utc": 1788649979,
          "did_report_as_spam": false,
          "hashtags": [
            "#ChatGPT"
          ],
          "id": "3979805292819643726",
          "is_covered": false,
          "is_ranked_comment": false,
          "mentions": []
        },
        "caption_is_edited": false,
        "clips_demotion_control": {
          "confirmation_body": "We'll suggest fewer posts like this.",
          "confirmation_icon": "none",
          "confirmation_style": "bottomsheet",
          "confirmation_title": "Post hidden",
          "confirmation_title_style": "large_left",
          "enable_word_wrapping": true,
          "followup_options": [
            {
              "data": "author_id:38717249519",
              "demotion_control": {
                "confirmation_body": "We won't suggest posts from aiwithsachi.",
                "confirmation_icon": "eye-off-pano",
                "confirmation_style": "bottomsheet",
                "confirmation_title": "",
                "undo_style": "inline"
              },
              "id": "dislike",
              "show_icon": true,
              "style": null,
              "subtitle": null,
              "text": "Don't suggest posts from aiwithsachi"
            }
          ],
          "title": "Not interested"
        },
        "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_canonical_id": "18490968535098900",
          "audio_ranking_info": {
            "best_audio_cluster_id": "949900630772750"
          },
          "audio_type": "original_sounds",
          "basel_template_info_for_ig_app": {
            "is_basel_template": null,
            "original_template_media_id": null,
            "should_show_reuse_setting_for_owner": false,
            "use_template_deeplink": null
          },
          "branded_content_tag_info": {
            "can_add_tag": false
          }
        },
        "clips_tab_pinned_user_ids": [],
        "coauthor_producer_can_see_organic_insights": false
      }
    ]
  },
  "pagination_token": "GU1bBDYp…"
}

Response fields

FieldMeaning
data.countNumber of items in this page of results.
data.items[].codeShort code of the reel. It is the part of the reel URL after /reel/.
data.items[].fbidNumeric ID attached to the reel.
data.items[].caption.idID of the caption object for the reel.
data.items[].caption.hashtagsList of hashtags used in the caption, each with the leading #.
data.items[].caption.mentionsList of accounts tagged in the caption, each with the leading @. The list is empty when none are tagged.
data.items[].caption.created_at / data.items[].caption.created_at_utcUnix timestamps in seconds for when the caption was created.
data.items[].comment_countNumber of comments on the reel.
data.items[].clips_metadata.audio_typeType of audio on the reel, for example original_sounds.
data.items[].clips_metadata.audio_canonical_idID of the audio track used in the reel.
data.items[].has_audioWhether the reel has an audio track.

Notes

  • Pass the pagination_token from a previous response to get the next page. Keep the same keyword.
  • The creator's user ID appears in data.items[].clips_demotion_control.followup_options[].data as author_id:<id>. Use it with Instagram User Profile to look up the creator.
  • Use code with Instagram Post Details (V2) for full details on one reel, or Instagram Post Comments (V2) to read its comments.

Pricing

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

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Instagram$0.002 за запросJSON
Instagram$0.002 за запросJSON
Instagram$0.002 за запросJSON
Instagram$0.002 за запросJSON
Instagram$0.002 за запросJSON
Instagram$0.002 за запросJSON

Руководства:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Instagram Reels Search?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/instagram/v2/search-reels, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Instagram Reels Search?

$0.002 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.

Какие параметры принимает API Instagram Reels Search?

Обязательные: keyword (string). Необязательные: pagination_token (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Instagram Reels Search?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Instagram или API key?

Нет. Instagram Reels Search работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Instagram.