Skip to content
Eden Engine

Instagram User Reposts (by User ID)

omnial/instagram-fetch-user-reposts

Given an Instagram numeric user ID, returns that account's most recent reposts -- reshared photos, videos, and carousel posts -- with captions, engagement counts (likes, comments, plays/views), the original owner's and any coauthors'/tagged accounts' public identity, and a pagination cursor to page through older reposts. Media dimensions and format are included; direct file download URLs are not exposed by this tool.

activeper callv2

Price

$0.00205 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Instagram

Data from Instagram.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/instagram-fetch-user-reposts" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/instagram-fetch-user-reposts" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/instagram-fetch-user-reposts", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/instagram-fetch-user-reposts", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00205
Updated
Nov 6, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "user_id"
  ],
  "properties": {
    "max_id": {
      "type": "string",
      "description": "Pagination cursor from a previous call's `next_max_id`, used to fetch the next page of older reposts."
    },
    "user_id": {
      "type": "string",
      "examples": [
        "25025320"
      ],
      "description": "The numeric Instagram user ID of the account whose reposts to fetch (not a username)."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The reposted media's compound id."
          },
          "pk": {
            "type": "string",
            "description": "The reposted media's numeric primary-key id, as a string."
          },
          "code": {
            "type": "string",
            "description": "Instagram shortcode -- the `/p/<code>/` or `/reel/<code>/` segment of the post's own URL."
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "pk": {
                "type": "string"
              },
              "username": {
                "type": "string",
                "description": "Public handle."
              },
              "full_name": {
                "type": "string",
                "description": "Public display name, self-chosen by the account."
              },
              "is_private": {
                "type": "boolean"
              },
              "is_verified": {
                "type": "boolean"
              }
            },
            "description": "The item's own attributed user context (observed identical in shape to `owner`)."
          },
          "owner": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "pk": {
                "type": "string"
              },
              "username": {
                "type": "string",
                "description": "Public handle."
              },
              "full_name": {
                "type": "string",
                "description": "Public display name, self-chosen by the account."
              },
              "is_private": {
                "type": "boolean"
              },
              "is_verified": {
                "type": "boolean"
              }
            },
            "description": "The public account that originally posted the media being reposted."
          },
          "caption": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "text": {
                "type": "string",
                "description": "The caption's own text."
              },
              "user": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "pk": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Public handle."
                  },
                  "full_name": {
                    "type": "string",
                    "description": "Public display name, self-chosen by the account."
                  },
                  "is_private": {
                    "type": "boolean"
                  },
                  "is_verified": {
                    "type": "boolean"
                  }
                },
                "description": "The public account that wrote the caption (usually the post owner)."
              },
              "created_at": {
                "type": "number",
                "description": "Unix timestamp the caption was written."
              }
            },
            "description": "Null on a media item with no caption."
          },
          "taken_at": {
            "type": "number",
            "description": "Unix timestamp (seconds) the media was originally posted."
          },
          "usertags": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "in": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "user": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "pk": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "full_name": {
                          "type": "string"
                        },
                        "is_private": {
                          "type": "boolean"
                        },
                        "is_verified": {
                          "type": "boolean"
                        }
                      },
                      "description": "One publicly tagged account."
                    }
                  }
                }
              }
            },
            "description": "Accounts publicly tagged in the media, null when no one is tagged."
          },
          "has_audio": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether the media carries an audio track."
          },
          "like_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Total likes, when the owner shows this count."
          },
          "media_type": {
            "type": "number",
            "description": "1 = photo, 2 = video, 8 = carousel/album."
          },
          "play_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Video/Reel play count. Observed null on at least one video item that instead carries `view_count`."
          },
          "view_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Alternate view-count field observed on some video items; null on others (see `play_count`)."
          },
          "product_type": {
            "type": "string",
            "description": "e.g. `\"clips\"` (a Reel), `\"carousel_container\"`, `\"carousel_item\"`."
          },
          "comment_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Total comments."
          },
          "carousel_media": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "pk": {
                  "type": "string"
                },
                "media_type": {
                  "type": "number",
                  "description": "1 = photo, 2 = video, per carousel slot."
                },
                "video_duration": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "video_versions": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "null",
                        "description": "Always null -- not exposed by this tool."
                      },
                      "width": {
                        "type": "number"
                      },
                      "height": {
                        "type": "number"
                      }
                    }
                  }
                },
                "image_versions2": {
                  "type": "object",
                  "properties": {
                    "candidates": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "null",
                            "description": "Always null -- not exposed by this tool."
                          },
                          "width": {
                            "type": "number"
                          },
                          "height": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "description": "Present only on a `media_type: 8` carousel post; null otherwise."
          },
          "clips_metadata": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "audio_type": {
                "type": "string",
                "description": "e.g. `\"original_sounds\"` or `\"licensed_music\"`, observed both."
              },
              "music_info": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "music_asset_info": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string",
                        "description": "Observed empty string on one licensed-music item."
                      },
                      "ig_username": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The artist's public Instagram handle, when the track is linked to one."
                      },
                      "is_explicit": {
                        "type": "boolean"
                      },
                      "display_artist": {
                        "type": "string",
                        "description": "Observed empty string on one licensed-music item."
                      },
                      "duration_in_ms": {
                        "type": "number"
                      }
                    }
                  }
                },
                "description": "Present when `audio_type` is `\"licensed_music\"`."
              },
              "original_sound_info": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "ig_artist": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "pk": {
                        "type": "string"
                      },
                      "username": {
                        "type": "string"
                      },
                      "full_name": {
                        "type": "string"
                      },
                      "is_private": {
                        "type": "boolean"
                      },
                      "is_verified": {
                        "type": "boolean"
                      }
                    },
                    "description": "The public account credited as the original audio's creator."
                  },
                  "is_explicit": {
                    "type": "boolean"
                  },
                  "duration_in_ms": {
                    "type": "number"
                  },
                  "original_audio_title": {
                    "type": "string"
                  }
                },
                "description": "Present when `audio_type` is `\"original_sounds\"`."
              },
              "additional_audio_info": {
                "type": "object",
                "properties": {
                  "additional_audio_username": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Public handle credited for a mixed-in additional audio track; null when none."
                  }
                }
              }
            },
            "description": "Reel-specific audio attribution. Null on a plain photo/video post (observed)."
          },
          "original_width": {
            "type": [
              "number",
              "null"
            ],
            "description": "Original media pixel width."
          },
          "video_duration": {
            "type": [
              "number",
              "null"
            ],
            "description": "Seconds, for a video/Reel item; null on a photo."
          },
          "video_versions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "url": {
                  "type": "null",
                  "description": "Always null -- the underlying CDN URL is not shipped by this tool."
                },
                "type": {
                  "type": "number"
                },
                "width": {
                  "type": "number"
                },
                "height": {
                  "type": "number"
                }
              }
            },
            "description": "Available video renditions, null on a photo. `url` is not exposed -- only format metadata."
          },
          "image_versions2": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "candidates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "null",
                      "description": "Always null -- the underlying CDN URL is not shipped by this tool."
                    },
                    "width": {
                      "type": "number"
                    },
                    "height": {
                      "type": "number"
                    }
                  }
                }
              }
            },
            "description": "Available image renditions. `candidates[].url` is not exposed by this tool -- only dimensions."
          },
          "original_height": {
            "type": [
              "number",
              "null"
            ],
            "description": "Original media pixel height."
          },
          "coauthor_producers": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "pk": {
                  "type": "string"
                },
                "username": {
                  "type": "string"
                },
                "full_name": {
                  "type": "string"
                },
                "is_private": {
                  "type": "boolean"
                },
                "is_verified": {
                  "type": "boolean"
                }
              }
            },
            "description": "Accounts credited as collaborators on the post, null when there are none."
          },
          "media_repost_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "How many times this specific media has itself been reposted by others."
          },
          "is_paid_partnership": {
            "type": "boolean",
            "description": "Whether the post is tagged as paid/branded content."
          },
          "carousel_media_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Number of items in the carousel; null on a non-carousel post."
          }
        },
        "description": "One reposted media item -- a photo, video, carousel, or Reel."
      },
      "description": "Empty on an account with no reposts. e.g. 7 items for a large official account."
    },
    "next_max_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Opaque pagination cursor for the `max_id` input on the next call. `null` when there is nothing further to page through."
    },
    "more_available": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether a further page exists. Observed `true` (populated account) and `null` (an account with no reposts at all)."
    }
  },
  "description": "One page of an Instagram account's reposts. `more_available`/`next_max_id` are null on the observed no-reposts case rather than absent."
}