How to Use TikTok audience countries in VS Code
Get a TikTok account's follower breakdown by country, with country codes, counts, and percentage shares. Use it to compare audience geography when choosing creators for a country-specific campaign.
Prompts to try with TikTok audience countries in VS Code
Copy an example into VS Code, or ask in your own words.
Use TikTok audience countries for shakira and add a table to this project showing every returned country, code, count, and percentage share.
Use TikTok audience countries for duolingo and ryanair, then build a comparison view in this project for their returned United Kingdom audience shares.
Use TikTok audience countries for mkbhd and add a descending country-share chart to the project's creator report.
Use TikTok audience countries for nba and nfl, then add a side-by-side table of their returned United States audience shares.
Use TikTok audience countries for shakira and create a CSV export in this project with numeric percentage values and the original returned counts.
How to set up TikTok audience countries 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 TikTok audience countries
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": "scrapecreators", "model": "scrapecreators/tiktok-user-audience", "input": { "handle": "shakira" } }'
Then paste one of the prompts above: VS Code finds TikTok audience countries on Spiral, shows the price and runs it.
TikTok audience countries providers and prices
Spiral runs TikTok audience countries through ScrapeCreators. Open a card for today's price, with every fee included.
What can you do with TikTok audience countries in VS Code?
Build a creator comparison table that ranks accounts by their returned audience share in a target country. A coding agent can add country names, codes, counts, and percentage shares to your project's reporting view.
Screen creators for a target country
Compare the returned US audience shares across a creator shortlist before discussing a US campaign.
Choose markets for partnership research
Rank a public creator's returned audience countries to decide which markets deserve further campaign research.
Compare brand audience geography
Place public brand accounts side by side and compare the country shares returned for each account.
Prepare a sponsorship brief
Add a creator's returned country breakdown to a sponsorship brief so the team can assess geographic fit.
Review audience shifts over time
Collect periodic country breakdowns for public business accounts and compare them with earlier collected results.
Prioritize localization research
Use a brand account's largest returned audience countries to prioritize markets for translation research, without assuming country establishes language.
More on TikTok audience countries and VS Code
Overview
TikTok audience countries in other agents
Questions about TikTok audience countries in VS Code
Can VS Code use TikTok audience countries?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run TikTok audience countries like any built-in tool.
How much does TikTok audience countries cost in VS Code?
Up to $0.0338 per run. 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 ScrapeCreators account to use TikTok audience countries in VS Code?
No. Spiral runs TikTok audience countries on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up TikTok audience countries in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while TikTok audience countries runs?
TikTok audience countries runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
What does the TikTok audience breakdown contain?
It contains audience countries, with a country name, country code, count, and percentage share for each entry. These describe follower geography.
Does it include audience age or gender?
No. ScrapeCreators explicitly limits this endpoint's demographic coverage to audience countries.
Is audience location the same as the creator's location?
No. A creator based in your target country can reach an audience elsewhere, so use the follower country breakdown to assess geographic fit.
How fresh is the TikTok audience information?
ScrapeCreators says it fetches the latest available information when requested. That describes retrieval timing, rather than a fixed schedule for TikTok to update its underlying audience figures.
Can the returned audience data be used in commercial reports?
ScrapeCreators permits commercial use, redistribution, resale, and processing with third-party AI providers. Its terms separately make users responsible for the accessed websites' terms, policies, and applicable laws.
Start using TikTok audience countries 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


