# Instagram User Reposts API

> Returns a paginated list of reposts and shared media for a specified Instagram account. Includes engagement metrics, captions, and original owner details.

Source: https://www.sandbase.ai/apis/instagram/v1/user-reposts
API reference: https://www.sandbase.ai/apis/instagram/v1/user-reposts/docs

## Facts

- Provider: Instagram
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/instagram/v1/user-reposts`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, instagram
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/instagram/v1/user-reposts` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `user_id` | string | yes |  |
| `max_id` | string | no |  |

## FAQ

### How do I use the Instagram User Reposts API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v1/user-reposts 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 Reposts 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 Reposts API accept?

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

### What does the Instagram User Reposts 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 Reposts 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.

## README

### Instagram User Reposts API

Retrieve shared posts and reposted media for a specific account using `user_id`. Supports cursor-based pagination through `max_id`.

#### Use cases

- Track media reposted by target Instagram profiles.
- Inspect engagement metrics on shared user content.
- Gather repost histories for creator and audience analytics.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `user_id` | string | Yes | Instagram user ID |
| `max_id` | string | No | Pagination 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.

```json
{
  "items": [
    {
      "caption_is_edited": false,
      "carousel_media_count": 5,
      "carousel_media_pending_post_count": 0,
      "coauthor_producer_can_see_organic_insights": false,
      "comment_count": 4477,
      "filter_type": 0,
      "id": "3997941272011173993_36623372661",
      "like_and_view_counts_disabled": false,
      "like_count": 26048,
      "media_repost_count": 1502,
      "caption": {
        "__typename": "XDTCommentDict",
        "content_type": "comment",
        "media_id": "3997941272011173993",
        "private_reply_status": 0,
        "status": "Active",
        "text": "Make it Instagram official. You can now add your Muse to your profile."
      },
      "mashup_info": {
        "non_privacy_filtered_mashups_media_count": 0
      },
      "owner": {
        "__typename": "XDTUserDict",
        "full_name": "Muse",
        "id": "36623372661",
        "profile_pic_id": "3981848964622792966_36623372661",
        "profile_pic_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-19/800604240_18094883642220…",
        "username": "<user>"
      },
      "user": {
        "__typename": "XDTUserDict",
        "account_type": 2,
        "full_name": "Muse",
        "id": "36623372661",
        "profile_pic_id": "3981848964622792966_36623372661",
        "profile_pic_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-19/800604240_18094883642220…"
      }
    }
  ]
}
```

#### Notes

- Pass `user_id` to identify the target Instagram profile.
- Omit `max_id` on the initial call and pass the pagination cursor to page through results.

#### Related APIs

- [Instagram Cities by Country](/model/instagram/v1/cities): Returns a list of Instagram cities and regions for a specified country code.
- [Instagram Hashtag Posts (V1)](/model/instagram/v1/hashtag-posts): Returns public Instagram posts associated with a specific hashtag.
- [Instagram Location Details (V1)](/model/instagram/v1/location-info): Returns detailed metadata and profile information for a specified Instagram location using its unique identifier.
