user_idstring必須
Instagram user ID
https://api.sandbase.ai/v1/api/instagram/v1/user-reelsReturns a paginated list of Instagram Reels associated with a specific user account. Supports custom page sizes and cursor-based navigation.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns a paginated list of Reels for one Instagram account. You pass the numeric Instagram user_id, and each item in items holds a media object for one Reel.
created_at values.max_id and store the media IDs.can_viewer_reshare and can_viewer_save flags.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-reels" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "25025320"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Instagram user ID |
count | integer | No | Count per page, default 12 |
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": [
{
"media": {
"are_remixes_crosspostable": true,
"boost_unavailable_identifier": null,
"boost_unavailable_reason": null,
"boost_unavailable_reason_v2": [],
"can_see_insights_as_brand": false,
"can_viewer_reshare": true,
"can_viewer_save": true,
"caption": {
"bit_flags": 0,
"content_type": "comment",
"created_at": 1793647551,
"created_at_utc": 1793647551,
"did_report_as_spam": false,
"is_covered": false,
"is_ranked_comment": false,
"media_id": 4021726163100932870
}
}
}
],
"paging_info": {
"max_id": "QVFESzFzMkVFcTJZS0NNa3ZiMGktQ2NMaS01N0k2VmlRcTNncm1iZW5DaUlmQ3NNVi1hX0kwc0pFa19W…",
"more_available": true
},
"status": "ok"
}
| Field | Meaning |
|---|---|
items[].media | One Reel. All other per-Reel fields sit inside this object. |
items[].media.caption.media_id | Numeric ID of the Reel that the caption belongs to. |
items[].media.caption.created_at / items[].media.caption.created_at_utc | Time the caption was created, as a Unix timestamp in seconds. Both fields hold the same value in this response. |
items[].media.caption.content_type | Type of the caption object. It shows comment in this response. |
items[].media.can_viewer_reshare / items[].media.can_viewer_save | Booleans that show whether the viewer can reshare or save the Reel. |
items[].media.are_remixes_crosspostable | Boolean that shows whether remixes of the Reel can be crossposted. |
paging_info.max_id | Cursor for the next page. Send it as max_id in the next request. |
paging_info.more_available | Boolean that is true when more Reels can be fetched with the cursor. |
status | Request status. The value is ok on success. |
max_id on the first request. For the next page, send the value of paging_info.max_id.paging_info.more_available is true.count sets the page size from 1 to 50 and defaults to 12.user_id from a username, call Instagram User Info by Username.$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/user-reels" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 12,
"user_id": "25025320"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
user_idstring必須Instagram user ID
countintegerCount per page, default 12
デフォルト: 12
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
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/instagram/v1/user-reels に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: user_id (string)。 任意: count (integer) と max_id (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Instagram User Reels (V1) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Instagram の API アクセスを別途申請する必要はありません。