Get User Posts
get_user_postsRetrieve Instagram posts for any username with structured data, including media type and thumbnails. Set a maximum post count to control output size.
Instructions
Get an Instagram user's posts with structured data.
Args: username: Instagram username (e.g., "instagram", "natgeo") ctx: FastMCP context for progress reporting max_posts: Maximum number of posts to retrieve (default 50)
Returns: Dict with url, posts list, total_posts count, sections, and references. Each post has: id, shortcode, url, thumbnail_url, media_type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | ||
| max_posts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||