How to Use TikTok audience countries in opencode
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 opencode
Copy an example into opencode, 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 opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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: opencode 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 opencode?
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 opencode
TikTok audience countries in other agents
Questions about TikTok audience countries in opencode
Can opencode use TikTok audience countries?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok audience countries like any built-in tool.
How much does TikTok audience countries cost in opencode?
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 opencode plan is separate.
Do I need a ScrapeCreators account to use TikTok audience countries in opencode?
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 opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while TikTok audience countries runs?
TikTok audience countries runs in the background. opencode 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 opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


