How to Use TikTok location search in Gemini
Returns TikTok location search results for a keyword. Use it to find place matches for a city or venue when your research needs locations rather than live broadcasts or music.
Prompts to try with TikTok location search in Gemini
Copy an example into Gemini, or ask in your own words.
Use TikTok location search to look this up and give me the result as a table.
Pull the latest numbers from TikTok location search and tell me what changed since last week.
Check TikTok location search and summarize what you find in three bullet points.
Pull the newest data from TikTok location search and give me the result as a table.
Check TikTok location search every morning and tell me only when something changed.
How to set up TikTok location search in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini 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 location search
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/tiktok-app-v3-fetch-location-search", "input": { "keyword": "Shanghai" } }'
Then paste one of the prompts above: Gemini finds TikTok location search on Spiral, shows the price and runs it.
TikTok location search providers and prices
Spiral runs TikTok location search through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Count | a whole number | 20 | Number |
| Offset | a whole number | 0 | Offset |
Every API field of TikTok App · Get location search results is on its tool page: open its card above.
What can you do with TikTok location search in Gemini?
Turn TikTok search or lookup results into a brief you can review in conversation. Ask for concrete evidence about a place, sound, public business broadcast, or merchandise list, with the source's coverage limits stated alongside it.
Prepare a local video brief
Collect home feed examples, look up the campaign's city or venue, and review music charts plus individual sound details. Turn the findings into a brief with separate sections for creative references, place matches, and sound research.
Research a retail launch
Find topic-matched broadcasts and location matches, then inspect active business rooms and any returned merchandise lists. Add recommended video examples to the launch brief, and flag legacy product results for confirmation.
Assemble an agency research digest
Create a daily internal digest covering recommended videos, matching places, music discoveries, public business broadcasts, leaderboard results, and available merchandise. Keep audience rankings aggregated and label legacy product results as potentially incomplete or stale.
Draft an internal market bulletin
Combine recommended video examples, place matches, music chart movement, sound details, and live search results. Add broadcast leaderboard observations as a separate section so editors can choose which findings deserve further reporting.
Research an event sponsorship concept
Look up the event venue, collect recommended video references, and investigate chart sounds. Review relevant public business broadcasts and leaderboard observations, using only aggregate audience ranking counts in the sponsorship brief.
More on TikTok location search and Gemini
Overview
TikTok location search in other agents
Questions about TikTok location search in Gemini
Can Gemini use TikTok location search?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run TikTok location search like any built-in tool.
How much does TikTok location search cost in Gemini?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.
Do I need a TikHub account to use TikTok location search in Gemini?
No. Spiral runs TikTok location search on its own TikHub account. You sign in to Spiral once and never paste a key.
How long does it take to set up TikTok location search in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while TikTok location search runs?
TikTok location search runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.
Can this retrieve private TikTok content?
TikHub describes its TikTok data as publicly available content. It excludes private accounts, direct messages, and non-public analytics.
How fresh is the TikTok data?
TikHub says requests retrieve fresh data. Its guidance makes an exception for legacy commerce routes under the app API, which may return incomplete or stale results.
Does a short page mean there are no more results?
No. TikHub says paginated endpoints frequently return fewer items than requested, so a short page alone does not establish that every matching result was retrieved.
Does TikHub guarantee accurate and complete TikTok data?
No. TikHub's terms explicitly decline to warrant that returned data is accurate, complete, or current.
What use does TikHub's service license permit?
TikHub licenses its service for lawful internal business purposes, subject to its terms.
Start using TikTok location search in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


