Instagram
Instagram profile.posts
List the posts of a Instagram profile. Normalized JSON, one price per record, automatic failover across sources.
POST
/
v1
/
extract
/
instagram
/
profile.posts
curl -X POST https://api.socialrouter.io/v1/extract/instagram/profile.posts \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.instagram.com/instagram",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/extract/instagram/profile.posts",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://www.instagram.com/instagram",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/extract/instagram/profile.posts",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"url": "https://www.instagram.com/instagram",
"limit": 50
},
)
const run = await sr.run("instagram/profile.posts", {
url: "https://www.instagram.com/instagram",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "instagram",
"service": "profile.posts",
"url": "https://www.instagram.com/instagram",
"served_by": "apify/apify",
"data": [
{
"name": "humansofny",
"profile_url": "https://www.instagram.com/p/DPq5ZpJDZw9/",
"source": "instagram",
"extracted_at": "2026-08-14T13:45:16.927Z",
"post_id": "3741054891297971261",
"shortcode": "DPq5ZpJDZw9",
"content_type": "Video",
"product_type": "clips",
"description": "Dear New York closes on October 19th. It’s been the honor and joy of my life to see this take flight. It’s been a mag...",
"date_posted": "2025-10-11T13:27:07.000Z",
"likes": 107477,
"num_comments": 963,
"video_view_count": 1027994,
"video_play_count": 2295316,
"video_duration": 45.458,
"thumbnail": "https://instagram.fvlc4-1.fna.fbcdn.net/v/t51.71878-15/562558918_1458293865288733_531942526782989329_n.jpg?stp=dst-jp...",
"video_url": "https://instagram.fvlc4-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOZS_IaHCgcUdg7VqoJnQrUb7g2tVaafy9FYlu-IYpFSbBzMOdFdlOw-iC9C7...",
"audio_url": "https://instagram.fvlc4-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOHq50nSFJmksE8xgx88fUxJ5P2LUmlUXuJn2n7hOJhyxzyFAz8jmMJb0ZZmT...",
"dimensions_height": 1136,
"dimensions_width": 640,
"music_info": {
"artist_name": "humansofny",
"song_name": "Original audio",
"uses_original_audio": true,
"should_mute_audio": false,
"should_mute_audio_reason": "",
"audio_id": "803657055406477"
},
"username": "humansofny",
"owner_full_name": "Humans of New York",
"owner_id": "242598499",
"user_profile_url": "https://www.instagram.com/humansofny",
"is_pinned": true,
"paid_partnership": false,
"is_comments_disabled": false,
"first_comment": "❤️❤️",
"latest_comments": [
{
"id": "18015019646867448",
"text": "❤️❤️",
"ownerUsername": "sadman20400",
"ownerProfilePicUrl": "https://instagram.fvlc4-1.fna.fbcdn.net/v/t51.82787-19/753445448_18162807364434390_5732577733712559251_n.jpg?stp=dst-...",
"timestamp": "2026-08-09T16:09:20.000Z",
"repliesCount": null,
"replies": null,
"likesCount": 0,
"owner": {}
},
"... 7 more"
],
"input_url": "https://www.instagram.com/humansofny/"
}
],
"pagination": {
"total": 1,
"returned": 1
},
"created_at": "2026-07-30T12:00:00Z",
"completed_at": "2026-07-30T12:00:03Z"
}
List the posts of a Instagram profile. The response is normalized, so it keeps the same shape whichever offer served it.
The call is synchronous and comes back
Prices are live in the catalogue:
completed or failed. Body fields and error codes shared by every service are documented on Run a service.
Body
string[]
required
The URLs to fetch, as
urls (array) or url (single string). Each one must match an accepted format below, and a mismatch returns 400 invalid_input_format before any routing or billing.string
Single-input form of
urls.number
default:"100"
Maximum number of records to return. Integer, 1-250.
string
Pin one offer, as
source/name. Serving this service: brightdata/instagram, apify/apify. Omit it (the default) to let the router walk the failover chain.object
Typed options for this service. Validation is strict, so an unknown key or an out-of-enum value returns a corrective
400 instead of being dropped.Hide options
Hide options
string (YYYY-MM-DD)
Only return posts published on or after this UTC date. A relative value works too — “1 day”, “2 months”, “3 years”.
Accepted URL formats
| Format | Example |
|---|---|
https://www.instagram.com/<username> | https://www.instagram.com/instagram |
Offers
In failover order. The head serves unless you pin another withprovider, and served_by in the response names the one that answered.
| Offer | Inputs per call |
|---|---|
brightdata/instagram | 1000 |
apify/apify | 50 |
GET /v1/services/instagram/profile.posts. See Credits for how a call is billed.
Response
data[] holds the normalized records, served_by names the offer that answered, and credits_used carries the actual charge.
The example response is a real run with values shortened for readability. A field is present when Instagram exposes it for that item, so the exact set varies record to record.
curl -X POST https://api.socialrouter.io/v1/extract/instagram/profile.posts \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.instagram.com/instagram",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/extract/instagram/profile.posts",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://www.instagram.com/instagram",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/extract/instagram/profile.posts",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"url": "https://www.instagram.com/instagram",
"limit": 50
},
)
const run = await sr.run("instagram/profile.posts", {
url: "https://www.instagram.com/instagram",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "instagram",
"service": "profile.posts",
"url": "https://www.instagram.com/instagram",
"served_by": "apify/apify",
"data": [
{
"name": "humansofny",
"profile_url": "https://www.instagram.com/p/DPq5ZpJDZw9/",
"source": "instagram",
"extracted_at": "2026-08-14T13:45:16.927Z",
"post_id": "3741054891297971261",
"shortcode": "DPq5ZpJDZw9",
"content_type": "Video",
"product_type": "clips",
"description": "Dear New York closes on October 19th. It’s been the honor and joy of my life to see this take flight. It’s been a mag...",
"date_posted": "2025-10-11T13:27:07.000Z",
"likes": 107477,
"num_comments": 963,
"video_view_count": 1027994,
"video_play_count": 2295316,
"video_duration": 45.458,
"thumbnail": "https://instagram.fvlc4-1.fna.fbcdn.net/v/t51.71878-15/562558918_1458293865288733_531942526782989329_n.jpg?stp=dst-jp...",
"video_url": "https://instagram.fvlc4-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOZS_IaHCgcUdg7VqoJnQrUb7g2tVaafy9FYlu-IYpFSbBzMOdFdlOw-iC9C7...",
"audio_url": "https://instagram.fvlc4-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOHq50nSFJmksE8xgx88fUxJ5P2LUmlUXuJn2n7hOJhyxzyFAz8jmMJb0ZZmT...",
"dimensions_height": 1136,
"dimensions_width": 640,
"music_info": {
"artist_name": "humansofny",
"song_name": "Original audio",
"uses_original_audio": true,
"should_mute_audio": false,
"should_mute_audio_reason": "",
"audio_id": "803657055406477"
},
"username": "humansofny",
"owner_full_name": "Humans of New York",
"owner_id": "242598499",
"user_profile_url": "https://www.instagram.com/humansofny",
"is_pinned": true,
"paid_partnership": false,
"is_comments_disabled": false,
"first_comment": "❤️❤️",
"latest_comments": [
{
"id": "18015019646867448",
"text": "❤️❤️",
"ownerUsername": "sadman20400",
"ownerProfilePicUrl": "https://instagram.fvlc4-1.fna.fbcdn.net/v/t51.82787-19/753445448_18162807364434390_5732577733712559251_n.jpg?stp=dst-...",
"timestamp": "2026-08-09T16:09:20.000Z",
"repliesCount": null,
"replies": null,
"likesCount": 0,
"owner": {}
},
"... 7 more"
],
"input_url": "https://www.instagram.com/humansofny/"
}
],
"pagination": {
"total": 1,
"returned": 1
},
"created_at": "2026-07-30T12:00:00Z",
"completed_at": "2026-07-30T12:00:03Z"
}
⌘I
curl -X POST https://api.socialrouter.io/v1/extract/instagram/profile.posts \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.instagram.com/instagram",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/extract/instagram/profile.posts",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://www.instagram.com/instagram",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/extract/instagram/profile.posts",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"url": "https://www.instagram.com/instagram",
"limit": 50
},
)
const run = await sr.run("instagram/profile.posts", {
url: "https://www.instagram.com/instagram",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "instagram",
"service": "profile.posts",
"url": "https://www.instagram.com/instagram",
"served_by": "apify/apify",
"data": [
{
"name": "humansofny",
"profile_url": "https://www.instagram.com/p/DPq5ZpJDZw9/",
"source": "instagram",
"extracted_at": "2026-08-14T13:45:16.927Z",
"post_id": "3741054891297971261",
"shortcode": "DPq5ZpJDZw9",
"content_type": "Video",
"product_type": "clips",
"description": "Dear New York closes on October 19th. It’s been the honor and joy of my life to see this take flight. It’s been a mag...",
"date_posted": "2025-10-11T13:27:07.000Z",
"likes": 107477,
"num_comments": 963,
"video_view_count": 1027994,
"video_play_count": 2295316,
"video_duration": 45.458,
"thumbnail": "https://instagram.fvlc4-1.fna.fbcdn.net/v/t51.71878-15/562558918_1458293865288733_531942526782989329_n.jpg?stp=dst-jp...",
"video_url": "https://instagram.fvlc4-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOZS_IaHCgcUdg7VqoJnQrUb7g2tVaafy9FYlu-IYpFSbBzMOdFdlOw-iC9C7...",
"audio_url": "https://instagram.fvlc4-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQOHq50nSFJmksE8xgx88fUxJ5P2LUmlUXuJn2n7hOJhyxzyFAz8jmMJb0ZZmT...",
"dimensions_height": 1136,
"dimensions_width": 640,
"music_info": {
"artist_name": "humansofny",
"song_name": "Original audio",
"uses_original_audio": true,
"should_mute_audio": false,
"should_mute_audio_reason": "",
"audio_id": "803657055406477"
},
"username": "humansofny",
"owner_full_name": "Humans of New York",
"owner_id": "242598499",
"user_profile_url": "https://www.instagram.com/humansofny",
"is_pinned": true,
"paid_partnership": false,
"is_comments_disabled": false,
"first_comment": "❤️❤️",
"latest_comments": [
{
"id": "18015019646867448",
"text": "❤️❤️",
"ownerUsername": "sadman20400",
"ownerProfilePicUrl": "https://instagram.fvlc4-1.fna.fbcdn.net/v/t51.82787-19/753445448_18162807364434390_5732577733712559251_n.jpg?stp=dst-...",
"timestamp": "2026-08-09T16:09:20.000Z",
"repliesCount": null,
"replies": null,
"likesCount": 0,
"owner": {}
},
"... 7 more"
],
"input_url": "https://www.instagram.com/humansofny/"
}
],
"pagination": {
"total": 1,
"returned": 1
},
"created_at": "2026-07-30T12:00:00Z",
"completed_at": "2026-07-30T12:00:03Z"
}