Developers who look for an Instagram search API usually want one of three things: look up a profile, find accounts about a topic or list the people around a hashtag. This guide maps each need to what Meta's documentation offers today, as read on November 25, 2026, then to what you can use where it stops.
What the official API can search
| You want to | Official endpoint | What you get |
|---|---|---|
| Look up a profile | Business Discovery | Public fields of one business or creator account, by exact username |
| Search users by name or keyword | None | No user search endpoint exists |
| Search a hashtag | Hashtag Search | A hashtag ID, then its top media and recent media |
| Search creators for partnerships | Creator Discovery API | Creators by keyword, country, followers or interests, for eligible brands |
| Search personal accounts | None | Not served since the Basic Display API ended |
Business Discovery: the profile API
Business Discovery is what most people mean by an Instagram profile API. You pass a username and read the public fields of that account: username, biography, website, follower count, media count and its media with like and comment counts. Three limits come with it:
- The username must be exact. There is no fuzzy match or partial search.
- The account must be a business or creator account. Age-gated accounts are not returned.
- The response has no email or phone field, even when the profile shows one.
curl -G "https://graph.facebook.com/v27.0/YOUR_IG_USER_ID" \
--data-urlencode "fields=business_discovery.username(yourcompetitor){username,biography,website,followers_count,media_count}" \
--data-urlencode "access_token=YOUR_ACCESS_TOKEN"The token comes from a Facebook Login app with the instagram_basic, instagram_manage_insights and pages_read_engagement permissions. Getting one step by step is covered in the Instagram API key and access token guide.
Hashtag Search
Hashtag Search takes a hashtag name and returns its ID. You then read the top media (the most popular posts) or the recent media (the most recently published) under that ID.
curl -G "https://graph.facebook.com/v27.0/ig_hashtag_search" \ --data-urlencode "user_id=YOUR_IG_USER_ID" \ --data-urlencode "q=coffee" \ --data-urlencode "access_token=YOUR_ACCESS_TOKEN" curl -G "https://graph.facebook.com/v27.0/HASHTAG_ID/recent_media" \ --data-urlencode "user_id=YOUR_IG_USER_ID" \ --data-urlencode "fields=caption,like_count,comments_count,permalink" \ --data-urlencode "access_token=YOUR_ACCESS_TOKEN"
- 30 unique hashtags per rolling 7 days for each account making the requests.
- App Review for the Instagram Public Content Access feature.
- Not available with Instagram Login, only with Facebook Login or Unified Login.
- From February 16, 2027, a top_media query returns at most 200 results.
Creator search for brands
The Creator Discovery API searches Instagram creators by free text keyword, username, country, follower and engagement range or interests. It needs advanced access through App Review and a brand eligible for the Instagram creator marketplace. What it returns and how it compares with other creator APIs is in the influencer API guide.
Rate limits
Business Discovery and Hashtag Search are not counted in the Instagram business use case limit. They follow the platform rate limit instead: calls within one hour = 200 x the number of users of your app. A new app with a handful of users gets a small hourly budget. Every limit and access level is detailed in the Instagram API guide.
Searching audiences with a data API
Most search needs are about people, not posts: who follows a competitor, who posts under a hashtag, who comments on a launch. A data API reads public profiles the way a visitor would and returns them as rows, personal accounts included, with the email or phone they show publicly. The IGLeads API searches these audiences:
| Endpoint | Search |
|---|---|
| POST /v1/leads/competitors | Followers of the accounts you name |
| POST /v1/leads/hashtag | Accounts posting under hashtags |
| POST /v1/leads/engagers | People who liked or commented on posts and reels |
| POST /v1/leads/location | Accounts posting from a place |
| POST /v1/leads/network | Accounts that the accounts you name follow |
| POST /v1/leads/enrich | Contact details for a list of Instagram user IDs you already have |
curl -X POST https://api.igleads.ai/v1/leads/hashtag \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "hashtags": ["coffee"], "limit": 500, "filters": { "bioKeywords": ["roastery"] } }'
# then GET /v1/leads/jobs/{id} until it is done, then /v1/leads/jobs/{id}/resultsNo Instagram login and no App Review on your side: an API key from the Business ($199 a month) or Scale ($399 a month) plan. The same searches in Python are in the Instagram API with Python guide, and how data APIs read public profiles is in the Instagram scraping API guide.
Frequently asked questions
Does Instagram have a search API?
Not a general one. The official Instagram Platform has no endpoint to search users by name or keyword. It offers Business Discovery, which reads one professional account by its exact username. It also offers Hashtag Search, which turns a hashtag into an ID to read its top and recent media. Eligible brands also get a creator search through the Creator Discovery API.
Is there a public Instagram API?
Not for personal accounts. The Basic Display API, which served them, stopped on December 4, 2024. Every official endpoint today needs an app, an access token and an Instagram professional account on your side.
How do I get an Instagram profile by API?
With the official API, call Business Discovery with the exact username: it returns the biography, website, follower count, media count and recent media of a business or creator account. Personal accounts and contact details are not returned. A data API returns any public profile, including the email or phone it shows.
How many hashtags can I search with the Instagram API?
30 unique hashtags per rolling 7 days for each Instagram account that makes the requests. Meta has also announced that from February 16, 2027 a top_media query returns at most 200 results.