Run the complete program
Download the MIT-licensed workflow source or browse it on GitHub. Requires Node.js 22+, pnpm 10.32.1, and an API key.workflows.ts contains the API stages and cli.ts handles command-line output and failures.
The three stages
- Search Instagram with
limit: 10and your brief. - Match the distinct returned creator IDs against the same brief.
- Expand up to three non-
avoidresults, ordered by campaign score, withinclude: ['profiles'].
avoid match results stop before expansion. Duplicate creator IDs are scored only once. Expansion requests run sequentially, and automatic SDK retries are disabled.
neutral results remain available for manual review. Search relevance and campaign fit describe different questions; keep both rather than combining them into an unexplained score. See Match Reasons.
Read the output
This abbreviated output uses synthetic example data:Maximum intended cost
Fewer results or expansions reduce the total. Actual usage comes from each response’s
X-Credits-Charged header; missing headers produce an unknown total. See Pricing.
Verification and recovery
Retry-After when supplied; it does not silently repeat a billable stage. Follow Error Handling before running it again. Re-running the command starts a new search.
Save the reviewed selection
Select one to eight distinct Instagram profiles and follow Save a Shortlist to keep their usernames, your brief, and review notes. Saved lists cost no credits and are shared by API keys under the same account. Use the creator research app for a complete selection and save interface.Related recipes
- Compare Creators scores handles directly when you already have candidates.
- Expand with Lookalikes starts from an existing roster.
- Export a Shortlist to CSV exports a single search without expansion.
- Browse the cookbook for other workflows. Contact support with the endpoint, status, and request ID; keep keys out of your report.