Social media5 min readBy Purrkey teamUpdated

How to search public Instagram profiles by bio keyword

Search public Instagram profiles by a bio or caption keyword, then review handles, bios, follower counts, links and business flags to build an outreach shortlist

On this page

You have a partnerships brief that calls for 25 public Instagram coffee roasters whose bios mention wholesale beans, so you can shortlist accounts for outreach. One call to a profile search returns a page of accounts matched on a bio or caption phrase, and the bios, follower counts and business flags decide which handles move to the next round

No run has been executed for this guide. The table below is a design, and its values are placeholders showing the shape rather than findings

What the shortlist table holds

One row per profile returned by a page, with the columns your brief asks for:

handledisplayNamebiofollowerspostscategoryisBusinessurl
(response value)(response value)(response value)(response value)(response value)(response value)true, false or null(response value)

Bios that do not mention wholesale beans stay in the table with a reject mark next to them. A page can include accounts that matched on a caption rather than a bio, and reading the bio is how you tell the two apart

Inputs the search takes

anyapi.instagram.search_profiles is the tool id, and the tool is called through POST /v1/runs with toolId anyapi.instagram.search_profiles. The catalog describes it as a search over public Instagram profiles by a bio or caption keyword

The contract documents three inputs. query is required and holds the bio or caption keyword or phrase you are searching for. cursor is optional and comes from a previous response's nextCursor. requireFields is optional and takes a list drawn from bioLinks, category, isBusiness and private

Example input, with a phrase you swap for your own research term: {"query": "specialty coffee roaster"}. Try the wording you expect to see in a bio rather than one broad word, and compare two phrasings before you commit to three pages

Naming fields in requireFields can raise your price. The contract says that when the cheapest source cannot return a named field, a dearer source serves the request, and you are quoted and charged that source's price. It also says a combination that no single source returns together is refused as invalid input, with no charge. If category and isBusiness matter to your shortlist, naming them means only a source that returns both serves the call, so read the quote before it runs

Reading the profile fields that drive a decision

The response carries a top level found boolean and data. data is null, or an object with profiles and nextCursor. Each profile carries handle, displayName, bio, followers, following, posts, verified, private, avatarUrl, id and url, plus category, isBusiness, bioLinks and externalUrl when the serving source reports them

Four fields do most of the work. bio tells you whether the account says wholesale beans, followers and posts give size and activity, isBusiness gives the business flag, and url is what you open to look closer. Any of these can come back null when the serving source does not report them, so a null category is a gap in the record, not a missing account

The search covers public profiles. A search with no match returns found: false with reason set to not_found, and the contract calls that a successful call, not an error. Treat it as a page with zero rows instead of a failed run. Pagination sits in nextCursor, which is null when this lane has no more; otherwise pass it back as cursor to continue

When a handle looks worth a closer look, the companion article on Instagram account lookup covers the single-account path

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search public
Instagram profiles for a bio phrase and build a shortlist table.

Before running anything, check the current inputs and price of
anyapi.instagram.search_profiles. Call it with query set to the phrase
below. Read data.profiles, and if found is false, report reason
not_found and stop. Follow data.nextCursor as cursor for up to three
pages, then stop.

Return one table with handle, displayName, bio, followers, posts,
category, isBusiness and url, and mark each row keep or reject
depending on whether the bio mentions wholesale beans. Do not message
any account.

Example query: specialty coffee roaster

The phrase above is an invented example. Replace it with the wording from your brief before the first call

Estimated tool cost

Prices read from the Purrkey catalog on November 13, 2026. The unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings for the listed price, not settled charges

StepFormulaUnit pricePlanned quantityTotal
One keyword pagecalls x max price$0.0036 per call1$0.0036
Three keyword pagescalls x max price$0.0036 per call3$0.0108

One page is one call. Three pages, stepping through the cursor, are three calls at up to $0.0108. Model fees for the agent are not counted, and a dearer routed source is quoted at its own price

Run the first page

Run the single keyword page for the 25-account brief at the Instagram profile search tool page, read the bios in the table, and then decide whether a second cursor step justifies a second call

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Instagram.
Explore Instagram tools and pricing

FAQ

How do I search Instagram profiles by bio keyword?

Call anyapi.instagram.search_profiles with query set to the bio or caption phrase from your brief. Read data.profiles for the matches, then pass data.nextCursor back as cursor to reach the next page.

What inputs does anyapi.instagram.search_profiles take?

query is required and holds the bio or caption keyword or phrase. cursor is optional and comes from a previous response's nextCursor. requireFields is optional and accepts bioLinks, category, isBusiness and private.

Does naming fields in requireFields cost more?

It can. The contract says that when the cheapest source cannot return a named field, a dearer source serves the request, and you are quoted and charged that source's price. A named field can still be absent on a profile that genuinely lacks it.

What does found false mean on a profile search?

It means the search returned no result. The contract lists reason as not_found and says a found: false answer is a successful call, not an error.

Which output fields decide which accounts go on the shortlist?

bio tells you whether the account mentions the phrase you are after, followers and posts give size and activity, isBusiness gives the business flag, and url opens the profile. Fields come back null when the serving source does not report them.

How much does a three page Instagram profile search cost?

Three calls at up to $0.0036 per call is at most $0.0108 for the listed price. That total is a ceiling, and a dearer routed source is quoted at its price.

Does the search return private accounts?

The tool searches public Instagram profiles. The private field is one of the optional requireFields values and reports whether an account is private when the serving source reports it.

Next step

Try this with Instagram

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Instagram tools

Share this article