Instagram
Instagram profile.search
Search Instagram profiles from a free-text query. Normalized JSON, one price per record, automatic failover across sources.
POST
/
v1
/
extract
/
instagram
/
profile.search
curl -X POST https://api.socialrouter.io/v1/extract/instagram/profile.search \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"query": "nasa",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/extract/instagram/profile.search",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
query: "nasa",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/extract/instagram/profile.search",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"query": "nasa",
"limit": 50
},
)
const run = await sr.run("instagram/profile.search", {
query: "nasa",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "instagram",
"service": "profile.search",
"query": "nasa",
"served_by": "apify/apify",
"data": [
{
"name": "NASA",
"profile_url": "https://www.instagram.com/nasa",
"source": "instagram",
"extracted_at": "2026-08-14T13:48:02.713Z",
"profile_id": "528817151",
"username": "nasa",
"about": "Making the seemingly impossible, possible. ✨",
"profile_picture": "https://scontent-lga3-2.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg...",
"follower_count": 104393296,
"following_count": 92,
"post_count": 4879,
"igtv_video_count": 171,
"highlight_reel_count": 5,
"is_verified": true,
"is_private": false,
"is_business_account": true,
"joined_recently": false,
"category": "Government Agencies",
"external_url": "https://www.nasa.gov/",
"external_urls": [
{
"title": "NASA.gov Homepage",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fwww.nasa.gov%2F&e=AUDSJHouxv_6k2DRlYkTPW62l9n4VFZd8MM8lomOzY9AbBIKLV5zjEnmIJ...",
"url": "https://www.nasa.gov",
"link_type": "external"
},
"... 4 more"
],
"fbid": "17841401474538262",
"facebook_page": {
"page_id": "54971236771",
"category": "Government Organization",
"image_uri": "https://scontent.fese1-1.fna.fbcdn.net/v/t39.30808-1/243095782_416661036495945_3843362260429099279_n.png?stp=dst-png_...",
"likes": 28691404,
"verification": "BLUE_VERIFIED",
"name": "NASA - National Aeronautics and Space Administration",
"country": null,
"entity_type": "PERSON_PROFILE",
"ig_username": "nasa",
"ig_followers": 104393295,
"ig_verification": true,
"page_alias": "NASA",
"page_is_deleted": false
},
"related_profiles": [
{
"id": "39147480069",
"full_name": "Tommy Lease",
"is_private": false,
"is_verified": true,
"profile_pic_url": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-19/695823736_18106401968304070_625576027528872365_n.jpg?stp=dst-...",
"username": "colorado_astro"
},
"... 48 more"
],
"latest_posts": [
{
"id": "3962967439948830707",
"type": "Image",
"shortCode": "Db_SePSltfz",
"caption": "A dance of darkness and light\n\nThis composite image shows the total solar eclipse from beginning to end, as seen in S...",
"hashtags": [
"... 4 item(s)"
],
"mentions": [],
"url": "https://www.instagram.com/p/Db_SePSltfz/",
"commentsCount": 1162,
"dimensionsHeight": 733,
"dimensionsWidth": 1080,
"displayUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.82787-15/772793459_18636729052049152_6974121686374726637_n.jpg?stp=dst...",
"images": [],
"alt": null,
"likesCount": 662666,
"timestamp": "2026-08-13T17:36:02.000Z",
"childPosts": [],
"ownerUsername": "nasa",
"ownerId": "528817151",
"isCommentsDisabled": false
},
"... 11 more"
],
"latest_igtv_videos": [
{
"type": "Video",
"shortCode": "CqnzfuxpAKL",
"title": "",
"caption": "On April 3, we announced the team of space explorers that will embark on the first crewed Artemis mission around the ...",
"commentsCount": 2252,
"commentsDisabled": false,
"dimensionsHeight": 1920,
"dimensionsWidth": 1080,
"displayUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.71878-15/641761045_1495595071943425_2100886453118615293_n.jpg?stp=dst-...",
"likesCount": 324322,
"videoDuration": 1122.054,
"videoViewCount": 2432382,
"id": "3073651751604454027",
"hashtags": [
"... 10 item(s)"
],
"mentions": [
"... 6 item(s)"
],
"url": "https://www.instagram.com/p/CqnzfuxpAKL/",
"firstComment": "",
"latestComments": [],
"images": [],
"videoUrl": "https://scontent-lga3-1.cdninstagram.com/o1/v/t2/f2/m86/AQMxVAzFCPgRpwbF-b-4TXKiOlENhr2JOz66tqCtWCMuuD50KUhHmVysZuj2w...",
"alt": null,
"timestamp": "2023-04-04T17:04:37.000Z",
"childPosts": [],
"ownerUsername": "nasa",
"ownerId": "528817151",
"productType": "igtv",
"taggedUsers": [
"... 8 item(s)"
],
"isCommentsDisabled": false
},
"... 11 more"
],
"search_term": "nasa",
"search_source": "facebook-ads",
"input_url": "https://www.instagram.com/nasa/"
}
],
"pagination": {
"total": 1,
"returned": 1
},
"created_at": "2026-07-30T12:00:00Z",
"completed_at": "2026-07-30T12:00:03Z"
}
Search Instagram profiles from a free-text query. 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 search queries to run, as
queries (array) or query (single string). Free text, exactly as you would type it on Instagram.string
Single-input form of
queries.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
This service declares no options. Any key sent here returns a corrective
400.Accepted queries
Free-text account search, as you would type it in the Instagram search bar. Example:nasa.
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 | 100 |
apify/apify | 1 |
GET /v1/services/instagram/profile.search. 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.search \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"query": "nasa",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/extract/instagram/profile.search",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
query: "nasa",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/extract/instagram/profile.search",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"query": "nasa",
"limit": 50
},
)
const run = await sr.run("instagram/profile.search", {
query: "nasa",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "instagram",
"service": "profile.search",
"query": "nasa",
"served_by": "apify/apify",
"data": [
{
"name": "NASA",
"profile_url": "https://www.instagram.com/nasa",
"source": "instagram",
"extracted_at": "2026-08-14T13:48:02.713Z",
"profile_id": "528817151",
"username": "nasa",
"about": "Making the seemingly impossible, possible. ✨",
"profile_picture": "https://scontent-lga3-2.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg...",
"follower_count": 104393296,
"following_count": 92,
"post_count": 4879,
"igtv_video_count": 171,
"highlight_reel_count": 5,
"is_verified": true,
"is_private": false,
"is_business_account": true,
"joined_recently": false,
"category": "Government Agencies",
"external_url": "https://www.nasa.gov/",
"external_urls": [
{
"title": "NASA.gov Homepage",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fwww.nasa.gov%2F&e=AUDSJHouxv_6k2DRlYkTPW62l9n4VFZd8MM8lomOzY9AbBIKLV5zjEnmIJ...",
"url": "https://www.nasa.gov",
"link_type": "external"
},
"... 4 more"
],
"fbid": "17841401474538262",
"facebook_page": {
"page_id": "54971236771",
"category": "Government Organization",
"image_uri": "https://scontent.fese1-1.fna.fbcdn.net/v/t39.30808-1/243095782_416661036495945_3843362260429099279_n.png?stp=dst-png_...",
"likes": 28691404,
"verification": "BLUE_VERIFIED",
"name": "NASA - National Aeronautics and Space Administration",
"country": null,
"entity_type": "PERSON_PROFILE",
"ig_username": "nasa",
"ig_followers": 104393295,
"ig_verification": true,
"page_alias": "NASA",
"page_is_deleted": false
},
"related_profiles": [
{
"id": "39147480069",
"full_name": "Tommy Lease",
"is_private": false,
"is_verified": true,
"profile_pic_url": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-19/695823736_18106401968304070_625576027528872365_n.jpg?stp=dst-...",
"username": "colorado_astro"
},
"... 48 more"
],
"latest_posts": [
{
"id": "3962967439948830707",
"type": "Image",
"shortCode": "Db_SePSltfz",
"caption": "A dance of darkness and light\n\nThis composite image shows the total solar eclipse from beginning to end, as seen in S...",
"hashtags": [
"... 4 item(s)"
],
"mentions": [],
"url": "https://www.instagram.com/p/Db_SePSltfz/",
"commentsCount": 1162,
"dimensionsHeight": 733,
"dimensionsWidth": 1080,
"displayUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.82787-15/772793459_18636729052049152_6974121686374726637_n.jpg?stp=dst...",
"images": [],
"alt": null,
"likesCount": 662666,
"timestamp": "2026-08-13T17:36:02.000Z",
"childPosts": [],
"ownerUsername": "nasa",
"ownerId": "528817151",
"isCommentsDisabled": false
},
"... 11 more"
],
"latest_igtv_videos": [
{
"type": "Video",
"shortCode": "CqnzfuxpAKL",
"title": "",
"caption": "On April 3, we announced the team of space explorers that will embark on the first crewed Artemis mission around the ...",
"commentsCount": 2252,
"commentsDisabled": false,
"dimensionsHeight": 1920,
"dimensionsWidth": 1080,
"displayUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.71878-15/641761045_1495595071943425_2100886453118615293_n.jpg?stp=dst-...",
"likesCount": 324322,
"videoDuration": 1122.054,
"videoViewCount": 2432382,
"id": "3073651751604454027",
"hashtags": [
"... 10 item(s)"
],
"mentions": [
"... 6 item(s)"
],
"url": "https://www.instagram.com/p/CqnzfuxpAKL/",
"firstComment": "",
"latestComments": [],
"images": [],
"videoUrl": "https://scontent-lga3-1.cdninstagram.com/o1/v/t2/f2/m86/AQMxVAzFCPgRpwbF-b-4TXKiOlENhr2JOz66tqCtWCMuuD50KUhHmVysZuj2w...",
"alt": null,
"timestamp": "2023-04-04T17:04:37.000Z",
"childPosts": [],
"ownerUsername": "nasa",
"ownerId": "528817151",
"productType": "igtv",
"taggedUsers": [
"... 8 item(s)"
],
"isCommentsDisabled": false
},
"... 11 more"
],
"search_term": "nasa",
"search_source": "facebook-ads",
"input_url": "https://www.instagram.com/nasa/"
}
],
"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.search \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"query": "nasa",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/extract/instagram/profile.search",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
query: "nasa",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/extract/instagram/profile.search",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"query": "nasa",
"limit": 50
},
)
const run = await sr.run("instagram/profile.search", {
query: "nasa",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "instagram",
"service": "profile.search",
"query": "nasa",
"served_by": "apify/apify",
"data": [
{
"name": "NASA",
"profile_url": "https://www.instagram.com/nasa",
"source": "instagram",
"extracted_at": "2026-08-14T13:48:02.713Z",
"profile_id": "528817151",
"username": "nasa",
"about": "Making the seemingly impossible, possible. ✨",
"profile_picture": "https://scontent-lga3-2.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg...",
"follower_count": 104393296,
"following_count": 92,
"post_count": 4879,
"igtv_video_count": 171,
"highlight_reel_count": 5,
"is_verified": true,
"is_private": false,
"is_business_account": true,
"joined_recently": false,
"category": "Government Agencies",
"external_url": "https://www.nasa.gov/",
"external_urls": [
{
"title": "NASA.gov Homepage",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fwww.nasa.gov%2F&e=AUDSJHouxv_6k2DRlYkTPW62l9n4VFZd8MM8lomOzY9AbBIKLV5zjEnmIJ...",
"url": "https://www.nasa.gov",
"link_type": "external"
},
"... 4 more"
],
"fbid": "17841401474538262",
"facebook_page": {
"page_id": "54971236771",
"category": "Government Organization",
"image_uri": "https://scontent.fese1-1.fna.fbcdn.net/v/t39.30808-1/243095782_416661036495945_3843362260429099279_n.png?stp=dst-png_...",
"likes": 28691404,
"verification": "BLUE_VERIFIED",
"name": "NASA - National Aeronautics and Space Administration",
"country": null,
"entity_type": "PERSON_PROFILE",
"ig_username": "nasa",
"ig_followers": 104393295,
"ig_verification": true,
"page_alias": "NASA",
"page_is_deleted": false
},
"related_profiles": [
{
"id": "39147480069",
"full_name": "Tommy Lease",
"is_private": false,
"is_verified": true,
"profile_pic_url": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-19/695823736_18106401968304070_625576027528872365_n.jpg?stp=dst-...",
"username": "colorado_astro"
},
"... 48 more"
],
"latest_posts": [
{
"id": "3962967439948830707",
"type": "Image",
"shortCode": "Db_SePSltfz",
"caption": "A dance of darkness and light\n\nThis composite image shows the total solar eclipse from beginning to end, as seen in S...",
"hashtags": [
"... 4 item(s)"
],
"mentions": [],
"url": "https://www.instagram.com/p/Db_SePSltfz/",
"commentsCount": 1162,
"dimensionsHeight": 733,
"dimensionsWidth": 1080,
"displayUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.82787-15/772793459_18636729052049152_6974121686374726637_n.jpg?stp=dst...",
"images": [],
"alt": null,
"likesCount": 662666,
"timestamp": "2026-08-13T17:36:02.000Z",
"childPosts": [],
"ownerUsername": "nasa",
"ownerId": "528817151",
"isCommentsDisabled": false
},
"... 11 more"
],
"latest_igtv_videos": [
{
"type": "Video",
"shortCode": "CqnzfuxpAKL",
"title": "",
"caption": "On April 3, we announced the team of space explorers that will embark on the first crewed Artemis mission around the ...",
"commentsCount": 2252,
"commentsDisabled": false,
"dimensionsHeight": 1920,
"dimensionsWidth": 1080,
"displayUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.71878-15/641761045_1495595071943425_2100886453118615293_n.jpg?stp=dst-...",
"likesCount": 324322,
"videoDuration": 1122.054,
"videoViewCount": 2432382,
"id": "3073651751604454027",
"hashtags": [
"... 10 item(s)"
],
"mentions": [
"... 6 item(s)"
],
"url": "https://www.instagram.com/p/CqnzfuxpAKL/",
"firstComment": "",
"latestComments": [],
"images": [],
"videoUrl": "https://scontent-lga3-1.cdninstagram.com/o1/v/t2/f2/m86/AQMxVAzFCPgRpwbF-b-4TXKiOlENhr2JOz66tqCtWCMuuD50KUhHmVysZuj2w...",
"alt": null,
"timestamp": "2023-04-04T17:04:37.000Z",
"childPosts": [],
"ownerUsername": "nasa",
"ownerId": "528817151",
"productType": "igtv",
"taggedUsers": [
"... 8 item(s)"
],
"isCommentsDisabled": false
},
"... 11 more"
],
"search_term": "nasa",
"search_source": "facebook-ads",
"input_url": "https://www.instagram.com/nasa/"
}
],
"pagination": {
"total": 1,
"returned": 1
},
"created_at": "2026-07-30T12:00:00Z",
"completed_at": "2026-07-30T12:00:03Z"
}