Instagram User Posts (V1)

https://api.sandbase.ai/v1/api/instagram/v1/user-posts

Returns a paginated list of posts for a specified Instagram account. Results include captions, like counts, comment counts, and media details.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 2 optional
Production route

Try the model

Playground

Open playground
Input
150
Count per page, default 12 Range: 1 to 50.
Pagination cursor, omit for first request
Instagram user ID
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

user_id
string · required
count
integer · optional
max_id
string · optional

Access

Provider
Instagram
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/instagram/v1/user-posts
Authentication
Bearer API key

API README

Instagram User Posts (V1) API

Retrieve recent posts from an Instagram account by supplying the target user_id. Supports pagination via cursor parameters to browse historical media feeds.

Use cases

  • Display an Instagram account media feed in an external application.
  • Monitor engagement metrics such as likes and comments over recent posts.
  • Archive captions and post metadata for specific public profiles.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "25025320"}'

Parameters

NameTypeRequiredDescription
user_idstringYesInstagram user ID
countintegerNoCount per page, default 12
max_idstringNoPagination cursor, omit for first request

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "items": [
    {
      "caption_is_edited": false,
      "coauthor_producer_can_see_organic_insights": false,
      "comment_count": 18380,
      "device_timestamp": 1790870048722622,
      "disable_caption_and_comment": false,
      "filter_type": 0,
      "id": "3998430248382584993_25025320",
      "ig_play_count": 150975683,
      "like_and_view_counts_disabled": false,
      "like_count": 642777,
      "caption": {
        "content_type": "comment",
        "media_id": 3998430248382584993,
        "private_reply_status": 0,
        "status": "Active",
        "text": "DIY fish squishy 🐟⁣ ⁣ @yano4kaa.a made this squishy using stuff she already had at home l…",
        "text_translation": "DIY fish squishy 🐟     @yano4kaa.a made this squishy using stuff she already had at home …"
      },
      "clips_metadata": {
        "audio_type": "licensed_music",
        "music_canonical_id": "18242041438023387",
        "professional_clips_upsell_type": 0
      },
      "user": {
        "account_type": 3,
        "eligible_for_text_app_activation_badge": false,
        "full_name": "Instagram",
        "id": "25025320",
        "pk_id": "25025320",
        "profile_pic_id": "3725434617063385984_25025320"
      }
    }
  ]
}

Notes

  • Supply user_id to identify the Instagram profile.
  • Pass max_id as the pagination cursor for requests after the first page.
  • Use count to specify the number of posts returned per page, defaulting to 12.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/instagram/v1/user-posts
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "count": 12,
  "user_id": "25025320"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026
Instagram$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Instagram User Posts (V1) API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v1/user-posts with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Instagram User Posts (V1) API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Instagram User Posts (V1) API accept?

Required: user_id (string). Optional: count (integer) and max_id (string). The Parameters table and the Playground on this page list every field.

What does the Instagram User Posts (V1) API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Instagram developer account or API key?

No. Instagram User Posts (V1) runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.