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
CategoryFields
Identityid, username, fullName, biography, profilePicUrl, profilePicId, profileUrl, externalUrl
StatusisPrivate, isVerified, hasAnonymousProfilePicture
MetricsfollowerCount, followingCount, mediaCount
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
CategoryFields
Coreid, postType, userId, username, fullName, caption, createdAt, createdAtTimestamp, createdAtDate
EngagementlikeCount, commentCount, reshareCount, videoPlayCount
MediamediaType, codeUrl, imageUrl, videoUrl, audioOnlyUrl, profilePicUrl, videoSubtitlesUri, subtitles, videoDuration

Comment Fields

These fields are available on getInstagramCommentsByPostId. Default: id, text, username, createdAtDate
CategoryFields
Coreid, text, parentPostId, type, parentCommentId, repliedToCommentId, childCommentCount, userId, username, fullName, createdAt, createdAtTimestamp, createdAtDate
EngagementlikeCount
Statusstatus, isSpam, hasTranslation
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.
ParameterTypeRequiredDescription
identifierstringYesUser ID (numeric) or username.
identifierTypestringYes"id" or "username".
fieldsstring[]NoFields to return.
forceLatestbooleanNoForce fresh data from API, bypassing cache. Default: false.
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.
ParameterTypeRequiredDescription
namestringYesSearch query (person name, partial username, or keywords).
limitnumberNoMax results. Default: 10, max: 10.
fieldsstring[]NoFields to return.
This tool performs a real-time search. For exact username lookups, use getInstagramUser instead.

getInstagramUserConnections

Get followers or following for an Instagram user.
ParameterTypeRequiredDescription
usernamestringYesInstagram username (without @).
connectionTypestringYes"followers" or "following".
responseTypestringNo"fast" (default) or "paging". CSV is not supported.
limitnumberNoMax results. Fast: capped at 300. Paging: max 500,000.
fieldsstring[]NoUser fields to return.
pageNumberintegerNoPage to fetch (1-indexed). Requires tableName for pages > 1.
pageNumberEndintegerNoEnd page for bulk fetching. Must be >= pageNumber.
tableNamestringNoCached table name from a previous pagination response.
forceLatestbooleanNoForce fresh data from API. Default: false.
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).
ParameterTypeRequiredDescription
postIdstringYesPost ID in strong_id format (e.g., "3606450040306139062_4836333238").
interactionTypestringYes"commenters" or "likers".
responseTypestringNo"fast" (default) or "paging". CSV is not supported.
limitnumberNoMax results. Fast: capped at 300. Paging: max 500,000.
fieldsstring[]NoUser fields to return (see User Fields above).
pageNumberintegerNoPage to fetch (1-indexed).
pageNumberEndintegerNoEnd page for bulk fetching.
tableNamestringNoCached table name from a previous pagination response.
forceLatestbooleanNoForce fresh data from API. Default: false.
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.
ParameterTypeRequiredDescription
querystringYesFull-text search of post captions. Max 250 characters. Supports exact phrases, boolean operators (AND, OR), and parentheses.
responseTypestringNo"fast" (default), "paging", or "csv". See Response Modes.
limitnumberNoMax results. Fast: capped at 300. Paging/CSV: max 500,000.
startDatestringNoStart date filter (YYYY-MM-DD).
endDatestringNoEnd date filter (YYYY-MM-DD).
fieldsstring[]NoFields to return. Includes user fields plus aggregation fields.
pageNumberintegerNoPage to fetch (1-indexed). Requires tableName for pages > 1.
pageNumberEndintegerNoEnd page for bulk fetching. Must be >= pageNumber.
tableNamestringNoCached table name from a previous pagination response.
forceLatestbooleanNoForce fresh data from API. Default: false.
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).
ParameterTypeRequiredDescription
postIdsstring[]YesArray of post IDs in strong_id format (1-100). E.g., ["3606450040306139062_4836333238"].
fieldsstring[]NoFields to return.
forceLatestbooleanNoForce fresh data from API. Default: false.
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.
ParameterTypeRequiredDescription
identifierstringYesUser ID (numeric) or username.
identifierTypestringYes"id" or "username".
responseTypestringNo"fast" (default), "paging", or "csv". See Response Modes.
limitnumberNoMax results. Fast: capped at 300. Paging/CSV: max 500,000.
startDatestringNoStart date filter (YYYY-MM-DD).
endDatestringNoEnd date filter (YYYY-MM-DD).
fieldsstring[]NoFields to return.
pageNumberintegerNoPage to fetch (1-indexed).
pageNumberEndintegerNoEnd page for bulk fetching.
tableNamestringNoCached table name from a previous pagination response.
forceLatestbooleanNoForce fresh data from API. Default: false.
Supports server-side pagination with 100 posts per page. See Pagination for details.

getInstagramPostsByKeywords

Search Instagram posts by keywords in captions and video subtitles.
ParameterTypeRequiredDescription
querystringYesFull-text search of post captions and subtitles. Max 250 characters. Supports exact phrases, boolean operators (AND, OR), and parentheses.
responseTypestringNo"fast" (default), "paging", or "csv". See Response Modes.
limitnumberNoMax results. Fast: capped at 300. Paging/CSV: max 500,000.
startDatestringNoStart date filter (YYYY-MM-DD).
endDatestringNoEnd date filter (YYYY-MM-DD).
fieldsstring[]NoFields to return.
pageNumberintegerNoPage to fetch (1-indexed).
pageNumberEndintegerNoEnd page for bulk fetching.
tableNamestringNoCached table name from a previous pagination response.
forceLatestbooleanNoForce fresh data from API. Default: false.
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.
ParameterTypeRequiredDescription
postIdstringYesPost ID in strong_id format (e.g., "3606450040306139062_4836333238").
responseTypestringNo"fast" (default), "paging", or "csv". See Response Modes.
limitnumberNoMax results. Fast: capped at 300. Paging/CSV: max 500,000.
startDatestringNoStart date filter (YYYY-MM-DD).
endDatestringNoEnd date filter (YYYY-MM-DD).
fieldsstring[]NoFields to return.
pageNumberintegerNoPage to fetch (1-indexed).
pageNumberEndintegerNoEnd page for bulk fetching.
tableNamestringNoCached table name from a previous pagination response.
forceLatestbooleanNoForce fresh data from API. Default: false.
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.