Skip to main content
Xpoz provides 9 Instagram tools across three categories: users, posts, and comments.

Available Fields

User Fields

These fields are available on all user tools (getInstagramUser, searchInstagramUsers, getInstagramUserConnections, getInstagramPostInteractingUsers, getInstagramUsersByKeywords). Default: id, username, fullName getInstagramUsersByKeywords also returns aggregation fields: aggRelevance, relevantPostsCount, relevantPostsLikesSum, relevantPostsCommentsSum, relevantPostsResharesSum, relevantPostsVideoPlaysSum.

Post Fields

These fields are available on all post tools (getInstagramPostsByIds, getInstagramPostsByUser, getInstagramPostsByKeywords). Default: id, caption, username, createdAtDate

Comment Fields

These fields are available on getInstagramCommentsByPostId. Default: id, text, username, createdAtDate
Always specify only the fields you need using the fields parameter. See Field Selection for details.

User Tools

getInstagramUser

Get a single Instagram user profile by ID or username.
For exact username lookups, use getInstagramUser. For name-based or fuzzy searches, use searchInstagramUsers instead.

searchInstagramUsers

Search users by name, partial username, or fuzzy match with real-time results.
This tool performs a real-time search. For exact username lookups, use getInstagramUser instead.

getInstagramUserConnections

Get followers or following for an Instagram user.
Data freshness: automatically checks data age. Data older than 1 week triggers a refresh from the API.
Supports server-side pagination with 100 users per page. See Pagination for details.

getInstagramPostInteractingUsers

Get user profiles of people who interacted with an Instagram post (commenters or likers).
This tool returns user profiles, not comment content. To read actual comment text, use getInstagramCommentsByPostId instead.
The postId must be in strong_id format (mediaId_userId). Use the full id value returned by other Instagram tools.

getInstagramUsersByKeywords

Search for users who authored Instagram posts matching keywords. Returns unique, deduplicated user profiles. Supports server-side pagination with 100 users per page. See Pagination and Query Syntax for details.

Post Tools

getInstagramPostsByIds

Get one or more Instagram posts by IDs (1-100 per request). Returns only found posts, omitting not-found IDs. Returns the most up-to-date data available.
Data older than 3 days is automatically refreshed.
Post IDs must be in strong_id format (mediaId_userId). Use the full id value returned by other Instagram tools.

getInstagramPostsByUser

Get posts from an Instagram user by ID or username. Supports server-side pagination with 100 posts per page. See Pagination for details.

getInstagramPostsByKeywords

Search Instagram posts by keywords in captions and video subtitles.
Data older than 1 week is automatically refreshed.
Supports server-side pagination with 100 posts per page. See Query Syntax for details on search operators.

Comment Tools

getInstagramCommentsByPostId

Get comments for an Instagram post.
This tool returns comment content (text, likes, metadata). To get user profiles of commenters, use getInstagramPostInteractingUsers with interactionType="commenters" instead.
The postId must be in strong_id format (mediaId_userId). Use the full id value returned by other Instagram tools.
Supports server-side pagination with 100 comments per page.