Instagram MCP server for AI agents
Let Claude, ChatGPT or your own agent read and act on Instagram: 24 typed functions through one MCP server. No Instagram API key needed.
- Site
- instagram.com
- Functions
- 24
- Sign-in
- For account actions
- Works with
- MCP, HTTP, Node, Python
Connect
An MCP server for Instagram alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/instagramOne MCP server for Instagram and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes. Functions that need a login use the person's own account: how sign-in works.
Functions
Open a function to see its arguments, what it returns and how to call it.
getDirectMessagesLists the signed-in user's direct message threads with preview of the latest message in each.Arguments
None.
Returns
InstagramDirectMessageThread[]interface InstagramDirectMessageThread { id: string; recipientUsername: string; recipientId: string; lastMessageText: string | null; lastMessageTimestamp: string | null; isSpamThread: boolean; title?: string | null; // group name, else the participants' usernames participants?: { id: string; username: string; fullName: string | null }[]; isGroup?: boolean; isUnread?: boolean | null; isPinned?: boolean; lastActivityAt?: string | null; url?: string | null; // https://www.instagram.com/direct/t/<thread_key>/ }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getDirectMessagesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getDirectMessages();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getDirectMessages())curl -X POST https://api.bowmark.ai/v1/sites/instagram/getDirectMessages \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getDirectMessages();getFeedReads the public posts behind an Instagram hashtag, keyword or location URL, without a login, in the same post shape as getPost.Arguments
Name Type Required inputstring | { url?: string; hashtag?: string; keyword?: string; locationId?: string }Yes Returns
InstagramFeedinterface InstagramMediaPost { id: string; shortcode: string; url: string; permalink: string; type: "image" | "video" | "carousel" | "reel" | null; isVideo: boolean | null; postedAt: string | null; // ISO 8601 caption: string | null; hashtags: string[]; // without "#" mentions: string[]; // without "@" owner: { id: string | null; username: string | null } | null; likeCount: number | null; commentCount: number | null; viewCount: number | null; // plays; null for images videoDurationSeconds: number | null; thumbnailUrl: string | null; displayUrl: string | null; videoUrl: string | null; // signed CDN link, expires taggedUsers: string[]; collaborators: string[]; location: { id: string; name: string | null } | null; isPaidPartnership: boolean | null; sponsors: string[]; } interface InstagramPlace { id: string; name: string | null; slug: string | null; category: string | null; postCount: number | null; lat: number | null; lng: number | null; address: string | null; city: string | null; zipCode: string | null; phone: string | null; } interface InstagramFeed { source: { kind: "hashtag" | "keyword" | "location"; value: string; url: string }; posts: InstagramMediaPost[]; sections: { keyword: string; url: string; posts: InstagramMediaPost[] }[]; relatedKeywords: string[]; location: InstagramPlace | null; // location feeds hasNextPage: boolean | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getFeedCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getFeed("<input>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getFeed("<input>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/getFeed \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"input":"<input>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getFeed("<input>");getHomeFeedReads the signed-in user's home feed.Arguments
None.
Returns
InstagramHomeFeedinterface InstagramPost { id: string; shortcode: string; permalink: string; isVideo: boolean; displayUrl: string; caption: string | null; likeCount: number; commentCount: number; takenAt: string; } interface InstagramHomeFeedPost extends InstagramPost { authorUsername: string; authorId: string; } interface InstagramHomeFeed { posts: InstagramHomeFeedPost[]; hasNextPage: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getHomeFeedCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getHomeFeed();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getHomeFeed())curl -X POST https://api.bowmark.ai/v1/sites/instagram/getHomeFeed \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getHomeFeed();getNotificationsReads the signed-in user's activity feed.Arguments
None.
Returns
InstagramNotification[]interface InstagramNotification { id: string; type: "like" | "comment" | "follow" | "mention" | "tag" | "message" | "other"; senderUsername: string; senderId: string; senderProfilePicUrl: string | null; actionText: string; mediaId: string | null; mediaUrl: string | null; timestamp: string | null; isViewed: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getNotificationsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getNotifications();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getNotifications())curl -X POST https://api.bowmark.ai/v1/sites/instagram/getNotifications \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getNotifications();getPostReads one public Instagram post or reel by URL (/p/, /reel/, /reels/, /tv/) or shortcode, without a login: type, caption, hashtags, mentions, owner…Arguments
Name Type Required inputstring | { url?: string; shortcode?: string }Yes Returns
InstagramPostDetailinterface InstagramMediaPost { id: string; shortcode: string; url: string; permalink: string; type: "image" | "video" | "carousel" | "reel" | null; isVideo: boolean | null; postedAt: string | null; // ISO 8601 caption: string | null; hashtags: string[]; // without "#" mentions: string[]; // without "@" owner: { id: string | null; username: string | null } | null; likeCount: number | null; commentCount: number | null; viewCount: number | null; // plays; null for images videoDurationSeconds: number | null; thumbnailUrl: string | null; displayUrl: string | null; videoUrl: string | null; // signed CDN link, expires taggedUsers: string[]; collaborators: string[]; location: { id: string; name: string | null } | null; isPaidPartnership: boolean | null; sponsors: string[]; } interface InstagramMediaItem { type: "image" | "video"; imageUrl: string | null; videoUrl: string | null; width: number | null; height: number | null; shortcode: string | null; } interface InstagramComment { id: string; text: string | null; createdAt: string | null; likeCount: number | null; replyCount: number | null; author: { id: string; username: string; isVerified: boolean; profilePicUrl: string | null }; } interface InstagramPostDetail extends InstagramMediaPost { media: InstagramMediaItem[]; // the image/video, or every carousel slide comments: InstagramComment[]; // top public comments; commentCount is the total }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getPostCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getPost("<input>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getPost("<input>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/getPost \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"input":"<input>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getPost("<input>");getPostsReads the most recent posts on one public Instagram profile.Arguments
Name Type Required usernamestringYes Returns
InstagramPost[]interface InstagramPost { id: string; shortcode: string; permalink: string; isVideo: boolean; displayUrl: string; caption: string | null; likeCount: number; commentCount: number; takenAt: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getPostsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getPosts("nasa");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getPosts("nasa"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/getPosts \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"username":"nasa"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getPosts("nasa");getProfileReads one public Instagram profile without a login: full name, biography, bio links, pronouns, verified/private flags, profile picture, follower and…Arguments
Name Type Required usernamestringYes Returns
InstagramProfileDetailinterface InstagramProfile { id: string; username: string; fullName: string; biography: string | null; externalUrl: string | null; isPrivate: boolean; isVerified: boolean; profilePicUrl: string; followerCount: number; followingCount: number | null; postCount: number | null; // read off the profile embed when the GraphQL root carries none; null only when both fail } interface InstagramProfileDetail extends InstagramProfile { bioLinks: { url: string; title: string | null }[]; pronouns: string[]; highlightCount: number | null; isBusinessAccount: boolean | null; // always null: not served logged out isProfessionalAccount: boolean | null; // always null: not served logged out category: string | null; // always null: not served logged out businessAddress: { street: string | null; city: string | null; zipCode: string | null; latitude: number | null; longitude: number | null } | null; // always null similarAccounts: { id: string; username: string; fullName: string | null; isVerified: boolean; profilePicUrl: string | null }[]; // always []: needs a session latestPosts: InstagramMediaPost[]; // 12 newest, pinned first; counts null (the grid carries none) warnings?: string[]; } interface InstagramMediaPost { id: string; shortcode: string; url: string; permalink: string; type: "image" | "video" | "carousel" | "reel" | null; isVideo: boolean | null; postedAt: string | null; // ISO 8601 caption: string | null; hashtags: string[]; // without "#" mentions: string[]; // without "@" owner: { id: string | null; username: string | null } | null; likeCount: number | null; commentCount: number | null; viewCount: number | null; // plays; null for images videoDurationSeconds: number | null; thumbnailUrl: string | null; displayUrl: string | null; videoUrl: string | null; // signed CDN link, expires taggedUsers: string[]; collaborators: string[]; location: { id: string; name: string | null } | null; isPaidPartnership: boolean | null; sponsors: string[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getProfileCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getProfile("nasa");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getProfile("nasa"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/getProfile \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"username":"nasa"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getProfile("nasa");getSavedPostsLists the signed-in user's saved posts with post metadata including media, captions, and engagement counts.Arguments
None.
Returns
InstagramSavedPostsinterface InstagramPost { id: string; shortcode: string; permalink: string; isVideo: boolean; displayUrl: string; caption: string | null; likeCount: number; commentCount: number; takenAt: string; } interface InstagramSavedPost extends InstagramPost { authorUsername: string; authorId: string; collectionName: string | null; } interface InstagramSavedPosts { posts: InstagramSavedPost[]; hasNextPage: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getSavedPostsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getSavedPosts();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getSavedPosts())curl -X POST https://api.bowmark.ai/v1/sites/instagram/getSavedPosts \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getSavedPosts();getStoriesLists stories from accounts the signed-in user follows, with expiration times.Arguments
None.
Returns
InstagramStory[]interface InstagramStory { id: string; ownerUsername: string; ownerId: string; mediaUrl: string; isVideo: boolean; expiresAt: string | null; hasBeenSeen: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getStoriesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getStories();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getStories())curl -X POST https://api.bowmark.ai/v1/sites/instagram/getStories \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getStories();getThreadMessagesReads the message history for one direct message thread, including sent and received messages with timestamps.Arguments
Name Type Required threadIdstringYes Returns
InstagramDirectMessage[]interface InstagramDirectMessage { id: string; senderUsername: string; senderId: string; text: string | null; timestamp: string | null; isUnsent: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/getThreadMessagesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.getThreadMessages("123");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.getThreadMessages("123"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/getThreadMessages \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"threadId":"123"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.getThreadMessages("123");searchAccountsSearches Instagram for public accounts matching a query (username, full name, or display name).Arguments
Name Type Required querystringYes Returns
InstagramAccountSearchResult[]interface InstagramAccountSearchResult { id: string; username: string; fullName: string; isPrivate: boolean; isVerified: boolean; profilePicUrl: string | null; followerCount: number | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/searchAccountsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.searchAccounts("nasa");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.searchAccounts("nasa"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/searchAccounts \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"nasa"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.searchAccounts("nasa");
blockUserBlocks a user, preventing them from seeing the signed-in account's posts and sending it messages.Arguments
Name Type Required userIdstringYes Returns
InstagramBlockResultinterface InstagramBlockResult { userId: string; username: string; blocking: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/blockUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.blockUser("<userId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.blockUser("<userId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/blockUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"userId":"<userId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.blockUser("<userId>");commentOnPostPosts a comment on a photo or video by its media id.Arguments
Name Type Required mediaIdstringYes commentTextstringYes Returns
InstagramCommentResultinterface InstagramCommentResult { commentId: string; mediaId: string; text: string; timestamp: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/commentOnPostCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.commentOnPost("<mediaId>", "<commentText>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.commentOnPost("<mediaId>", "<commentText>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/commentOnPost \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"mediaId":"<mediaId>","commentText":"<commentText>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.commentOnPost("<mediaId>", "<commentText>");followUserFollows a user. For public accounts, follows immediately; for private accounts, sends a follow request. Requires the caller to be signed in through…Arguments
Name Type Required userIdstringYes Returns
InstagramFollowResultinterface InstagramFollowResult { userId: string; username: string; following: boolean; followRequested: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/followUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.followUser("<userId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.followUser("<userId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/followUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"userId":"<userId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.followUser("<userId>");likePostLikes a post by its media id.Arguments
Name Type Required mediaIdstringYes Returns
InstagramLikeResultinterface InstagramLikeResult { mediaId: string; likeCount: number; hasLiked: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/likePostCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.likePost("<mediaId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.likePost("<mediaId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/likePost \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"mediaId":"<mediaId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.likePost("<mediaId>");muteUserMutes a user's posts and stories from the signed-in account's feed, without unfollowing them.Arguments
Name Type Required userIdstringYes Returns
InstagramMuteResultinterface InstagramMuteResult { userId: string; muting: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/muteUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.muteUser("<userId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.muteUser("<userId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/muteUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"userId":"<userId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.muteUser("<userId>");savePostSaves a post to the signed-in user's default collection.Arguments
Name Type Required mediaIdstringYes Returns
InstagramSaveResultinterface InstagramSaveResult { mediaId: string; hasSaved: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/savePostCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.savePost("<mediaId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.savePost("<mediaId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/savePost \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"mediaId":"<mediaId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.savePost("<mediaId>");sendDirectMessageSends a direct message to one user.Arguments
Name Type Required recipientIdstringYes messageTextstringYes Returns
InstagramSentDirectMessageinterface InstagramSentDirectMessage { id: string; text: string; timestamp: string | null; success: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/sendDirectMessageCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.sendDirectMessage("<recipientId>", "<messageText>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.sendDirectMessage("<recipientId>", "<messageText>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/sendDirectMessage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"recipientId":"<recipientId>","messageText":"<messageText>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.sendDirectMessage("<recipientId>", "<messageText>");unblockUserUnblocks a previously blocked user.Arguments
Name Type Required userIdstringYes Returns
InstagramUnblockResultinterface InstagramUnblockResult { userId: string; username: string; blocking: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/unblockUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.unblockUser("<userId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.unblockUser("<userId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/unblockUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"userId":"<userId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.unblockUser("<userId>");unfollowUserUnfollows a user the signed-in account is currently following.Arguments
Name Type Required userIdstringYes Returns
InstagramUnfollowResultinterface InstagramUnfollowResult { userId: string; username: string; following: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/unfollowUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.unfollowUser("<userId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.unfollowUser("<userId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/unfollowUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"userId":"<userId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.unfollowUser("<userId>");unlikePostRemoves a like from a previously liked post.Arguments
Name Type Required mediaIdstringYes Returns
InstagramUnlikeResultinterface InstagramUnlikeResult { mediaId: string; likeCount: number; hasLiked: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/unlikePostCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.unlikePost("<mediaId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.unlikePost("<mediaId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/unlikePost \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"mediaId":"<mediaId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.unlikePost("<mediaId>");unmuteUserUnmutes a previously muted user, restoring their posts and stories to the signed-in account's feed.Arguments
Name Type Required userIdstringYes Returns
InstagramUnmuteResultinterface InstagramUnmuteResult { userId: string; muting: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/unmuteUserCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.unmuteUser("<userId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.unmuteUser("<userId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/unmuteUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"userId":"<userId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.unmuteUser("<userId>");unsavePostRemoves a post from the signed-in user's saved collection.Arguments
Name Type Required mediaIdstringYes Returns
InstagramUnsaveResultinterface InstagramUnsaveResult { mediaId: string; hasSaved: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/unsavePostCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.unsavePost("<mediaId>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.unsavePost("<mediaId>"))curl -X POST https://api.bowmark.ai/v1/sites/instagram/unsavePost \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"mediaId":"<mediaId>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.unsavePost("<mediaId>");updateProfileUpdates the signed-in user's profile information such as biography, full name, or website link.Arguments
Name Type Required updates{ biography?: string; fullName?: string; website?: string | null }Yes Returns
InstagramUpdateProfileResultinterface InstagramUpdateProfileResult { userId: string; username: string; fullName: string; biography: string; externalUrl: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/instagram/updateProfileCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.instagram.updateProfile({});import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.instagram.updateProfile({}))curl -X POST https://api.bowmark.ai/v1/sites/instagram/updateProfile \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"updates":{}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.instagram.updateProfile({});
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/instagram/<function> - OpenAPI
/v1/sites/instagram/openapi.json