How to Use Instagram search results in VS Code
Find Instagram accounts, hashtags, and places in paginated search results. Use it to discover brand accounts, shortlist campaign hashtags, or find venue matches from a keyword.
Prompts to try with Instagram search results in VS Code
Copy an example into VS Code, or ask in your own words.
Use Instagram search results to search Patagonia and save returned business account candidates in the project's brand research file for manual review.
Use Instagram search results to search #trailrunning and #hiking, collect up to three pages each, and save a deduplicated hashtag comparison in this project.
Use Instagram search results to search Museum of Modern Art and populate our venue review fixture with the returned place candidates.
Use Instagram search results to search Nike, Adidas, and New Balance separately, then add a table of business account candidates to the project's competitor research document.
Use Instagram search results to search SXSW and #SXSW, then save separate account, hashtag, and place lists in the project's event research folder.
How to set up Instagram search results in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Instagram search results
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "tikhub", "model": "tikhub/instagram-v3-general-search", "input": { "query": "justin" } }'
Then paste one of the prompts above: VS Code finds Instagram search results on Spiral, shows the price and runs it.
Instagram search results providers and prices
Spiral runs Instagram search results through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Enable metadata | on or off | on | Enable metadata |
Every API field of Instagram V3 · General search (with pagination) is on its tool page: open its card above.
What can you do with Instagram search results in VS Code?
Build a reviewable directory of Instagram brand, hashtag, and venue matches inside your project. A coding agent can turn paginated results into separate lists and remove duplicates before saving them.
Find brand account candidates
Search Patagonia and shortlist returned business accounts for manual review before adding them to an internal brand directory.
Prepare campaign hashtag research
Search #trailrunning and #hiking, then collect distinct hashtag matches for a campaign planning brief.
Resolve venue search matches
Search Museum of Modern Art and review returned places to choose a venue for further Instagram research.
Build a competitor account shortlist
Run separate searches for Nike, Adidas, and New Balance. Organize returned business account candidates by search term for review.
Research event naming
Search SXSW and #SXSW to collect account and hashtag candidates for an internal event coverage plan.
Compare local and English venue names
Search Museo del Prado and Prado Museum, then compare distinct place matches to improve a venue research list.
Review changes in brand search matches
Repeat a LEGO search weekly and compare distinct business account candidates with the previous run to prioritize manual review.
More on Instagram search results and VS Code
Overview
Instagram search results in other agents
Questions about Instagram search results in VS Code
Can VS Code use Instagram search results?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Instagram search results like any built-in tool.
How much does Instagram search results cost in VS Code?
$0.0104 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.
Do I need a TikHub account to use Instagram search results in VS Code?
No. Spiral runs Instagram search results on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up Instagram search results in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Instagram search results runs?
Instagram search results runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
What does Instagram search return?
TikHub documents three result categories: accounts, hashtags, and places. The response also includes a result count and pagination information.
Can I retrieve results beyond the first page?
Yes. Continue using the next-page information returned by the previous response, keeping the same search text, until Instagram indicates there are no more results.
Why do some results appear more than once?
TikHub explicitly warns that Instagram general search can return duplicate data. Remove repeated entries before counting matches or comparing searches.
How should I search for an Instagram hashtag?
Include the leading #, such as #fashion. TikHub specifies that hashtag searches require this prefix.
Does this provide private Instagram content?
TikHub limits its Instagram coverage to public data. Private accounts, direct messages, and non-public insights are excluded.
Start using Instagram search results in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


