Spiral gives your agent every tool with one account. Browse the tools →

Gemini · Social Media

How to Use Instagram cities by country in Gemini

Returns Instagram's cities and regions for a country, country information, and the next page number. Use it to choose cities before looking up their Instagram places.

Prompts to try with Instagram cities by country in Gemini

Copy an example into Gemini, or ask in your own words.

Use Instagram cities by country to look this up and give me the result as a table.

Instagram cities by countryGemini
Try asking
  • Pull the latest numbers from Instagram cities by country and tell me what changed since last week.

  • Check Instagram cities by country and summarize what you find in three bullet points.

  • Pull the newest data from Instagram cities by country and give me the result as a table.

  • Check Instagram cities by country every morning and tell me only when something changed.

How to set up Instagram cities by country in Gemini

Pick the way that suits you. Each takes about two minutes.

Use the Gemini connector

  1. 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.

  2. 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
  3. 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

  1. Send Gemini this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run Instagram cities by country

    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-cities",
        "input": {
          "country_code": "US"
        }
      }'

Then paste one of the prompts above: Gemini finds Instagram cities by country on Spiral, shows the price and runs it.

Instagram cities by country providers and prices

Spiral runs Instagram cities by country through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Instagram V1 · Get cities by country
tikhub/instagram-v1-fetch-cities

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Pagea whole number from 11

Page number

Every API field of Instagram V1 · Get cities by country is on its tool page: open its card above.

What can you do with Instagram cities by country in Gemini?

Turn Instagram results into a venue shortlist or content research brief. A chat assistant can explain the returned place details, post information, Explore recommendations, or reply discussions in plain English.

Build a regional venue shortlist

Start with Instagram's country directory, collect places in selected cities, check their addresses and coordinates, and review tagged posts for editorial relevance.

Plan a local brand campaign

Choose cities and candidate venues from Instagram's directories. Check each place record and its tagged content to prepare an internal location brief.

Research a destination content series

Organize a travel publisher's research by country, city, and attraction. Pair place details with tagged posts to identify locations worth covering.

Review venue tags before reporting

Work through selected cities and their place listings, compare venue addresses and coordinates, and inspect tagged posts before assigning content to a business location.

Questions about Instagram cities by country in Gemini

Can Gemini use Instagram cities by country?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Instagram cities by country like any built-in tool.

How much does Instagram cities by country 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 Instagram cities by country in Gemini?

No. Spiral runs Instagram cities by country 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 cities by country 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 Instagram cities by country runs?

Instagram cities by country runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

Can this data include private Instagram content?

TikHub describes its Instagram coverage as public data. Private accounts, direct messages, and non-public insights are outside that coverage.

How fresh are the Instagram results?

TikHub identifies these endpoints as visitor-view data. Counts and statistics can take a few days to reflect what the Instagram app shows.

Does TikHub guarantee complete and accurate Instagram data?

No. Its terms disclaim guarantees that returned data is accurate, complete, current, or suitable for a particular purpose.

What use does TikHub's service license permit?

TikHub's terms limit the service license to lawful internal business purposes. That is the stated scope of the license, rather than a blanket permission for any downstream use.

Does retrieving Instagram content grant rights to republish it?

TikHub's terms say retrieved content may remain subject to third-party intellectual property rights. Access through an endpoint does not establish permission to republish that content.

Get started

Start using Instagram cities by country in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options