How to Use Instagram Explore section posts in VS Code
Fetch posts from an Instagram Explore section, along with its name, subsections, and pagination information. Use it to sample discovery content within a section rather than one account's timeline.
Prompts to try with Instagram Explore section posts in VS Code
Copy an example into VS Code, or ask in your own words.
Use Instagram Explore section posts to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Instagram Explore section posts and tell me what changed since last week.
Check Instagram Explore section posts and summarize what you find in three bullet points.
Pull the newest data from Instagram Explore section posts and give me the result as a table.
Check Instagram Explore section posts every morning and tell me only when something changed.
How to set up Instagram Explore section posts 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 Explore section posts
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-v1-fetch-section-posts", "input": { "section_id": "10156104410190727" } }'
Then paste one of the prompts above: VS Code finds Instagram Explore section posts on Spiral, shows the price and runs it.
Instagram Explore section posts providers and prices
Spiral runs Instagram Explore section posts 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 |
|---|---|---|---|
| Count | 1 to 50 | 20 | Count per page |
Every API field of Instagram V1 · Get posts by section is on its tool page: open its card above.
What can you do with Instagram Explore section posts in VS Code?
Build an internal Instagram research view with public account context, selected posts, and discussion summaries. A coding agent can connect the returned profile, search, Explore, and comment data to the project's existing records.
Prepare a competitor research brief
Find public brands through search and related-account recommendations. Compare their profiles, inspect selected post links and comment themes, and use Explore sections to add category context.
Research public creator partnerships
Discover public creators through search, recommendations, and Explore posts. Review profile information and selected posts, then summarize discussion topics beneath those posts to support a partnership shortlist.
Build an editorial research board
Collect public accounts, hashtags, places, and Explore posts around a topic. Add profile context, selected post details, and recurring comment questions to help an editor choose subjects to cover.
Research a product category before launch
Find established brands and relevant public creators, review their profile positioning, and inspect example product posts. Combine comment questions with search and Explore results to identify subjects a launch brief should address.
Review an Explore content sample
Browse a section's posts and subsections, inspect selected post links, and search relevant accounts or topics. Present the findings as a sample from that section.
More on Instagram Explore section posts and VS Code
Overview
Instagram Explore section posts in other agents
Questions about Instagram Explore section posts in VS Code
Can VS Code use Instagram Explore section posts?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Instagram Explore section posts like any built-in tool.
How much does Instagram Explore section posts cost in VS Code?
$0.0013 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 Explore section posts in VS Code?
No. Spiral runs Instagram Explore section posts 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 Explore section posts in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Instagram Explore section posts runs?
Instagram Explore section posts runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Can this retrieve private Instagram content?
TikHub limits access to publicly available content. Its privacy policy explicitly excludes private, restricted, and password-protected content.
How fresh are Instagram counts?
TikHub says visitor-view counts can take a few days to reflect live values. These Instagram endpoints use its visitor-view series, so follower, like, and comment totals should not be described as live measurements.
What request limit does TikHub publish?
TikHub publishes a default limit of 10 requests per second for its Instagram API. That is a provider limit, not a promise about how many records a response contains.
What uses does TikHub's standard license cover?
TikHub's terms license the service for lawful internal business purposes. A product that redistributes Instagram data needs a separate assessment of those terms and the rights in the content.
Does access include permission to republish Instagram content?
TikHub's terms say retrieved content may carry third-party intellectual property rights. API access alone does not establish permission to republish a creator's photos, videos, or text.
Start using Instagram Explore section posts 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


