English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/research/instagram/content/userRetrieve the posts of another Instagram account by username, newest first. Returns up to 30 posts per page: photos have type image, videos and Reels video, and carousels album. Useful for monitoring, reviewing, or analyzing content from a specific account.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizresearch:readMusic & Research
Instagram only lets an app look up other accounts through an account connected with a Meta Business login, so the search runs through the Instagram account in accountId with Music & Research turned on. Turn it on with Authorize Instagram Music & Research and Connect Instagram Music & Research, or with Turn On on the account's card in the dashboard (how). Without it, the request fails with 400 turn on music and research for this instagram account first.
| Parameter | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | ID of a connected Instagram account with Music & Research turned on (additional.isUnified: true), the _id from Get Account. The search runs with its access. |
username | string | Yes | Instagram username whose posts to list, with or without @, for example instagram. A value that can't be an Instagram username returns 400 invalid instagram username. |
nextToken | string | No | Cursor for the next page: the nextToken of the previous response. Leave it out for the first page. An empty nextToken in the response means there are no more pages. |
The search uses Instagram's Business Discovery, so only Business and Creator accounts can be looked up. For a personal or private account, or a username that doesn't exist, the request fails with Instagram's own error. To check an account first, use Search User Instagram.
owner is the same on every post: id is the Instagram user ID, name the username, and picture the profile picture. isVerified is always false, because Instagram doesn't share it.description is the caption, url the link to the post, and statistic has the like and comment counts. like is 0 when the owner hides the like count.medias has one item per picture or video, every item of a carousel included. It's empty when Instagram sends a post without its media; open url to see it.title, topic, and link are always empty.curl -X GET "https://api.repliz.com/public/research/instagram/content/user?accountId=680affa5ce12f2f72916f67e&username=instagram" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"import axios from 'axios';
const response = await axios.get('https://api.repliz.com/public/research/instagram/content/user', {
params: {
accountId: '680affa5ce12f2f72916f67e',
username: 'instagram',
},
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const response = await fetch(
'https://api.repliz.com/public/research/instagram/content/user?accountId=680affa5ce12f2f72916f67e&username=instagram',
{
headers: {
Authorization: `Basic ${credentials}`,
},
},
);
const data = await response.json();
console.log(data);{
"docs": [
{
"id": "18012345678901234",
"title": "",
"description": "Kopi pagi ini #kopi",
"topic": "",
"type": "image",
"owner": {
"id": "17841400000000000",
"name": "instagram",
"picture": "https://scontent.cdninstagram.com/v/t51.2885-19/picture.jpg",
"isVerified": false
},
"medias": [
{
"type": "image",
"thumbnail": "https://scontent.cdninstagram.com/v/t51.2885-15/photo.jpg",
"url": "https://scontent.cdninstagram.com/v/t51.2885-15/photo.jpg"
}
],
"url": "https://www.instagram.com/p/DABCdefGhij/",
"link": "",
"statistic": {
"like": 120,
"comment": 8
},
"createdAt": "2026-11-20T03:10:00.000Z"
}
],
"nextToken": "QVFIUmx1WTBpMGpJWXprYzVYaVhabW55dVpycko4U2xURGE5ODNtNFZAPal94WTNyV2"
}{
"code": 400,
"message": "turn on music and research for this instagram account first"
}{
"code": 404,
"message": "account not found"
}{
"code": 401,
"message": "unauthorized"
}