How to Use Instagram locations by coordinates in Codex
Returns Instagram location search results for a geographic point. Use it to find location candidates around a public venue when you know its coordinates.
Prompts to try with Instagram locations by coordinates in Codex
Copy an example into Codex, or ask in your own words.
Use Instagram locations by coordinates at 40.7580, -73.9855 and display the returned location candidates in this project's venue research view.
Use Instagram locations by coordinates to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Instagram locations by coordinates and tell me what changed since last week.
Check Instagram locations by coordinates and summarize what you find in three bullet points.
Pull the newest data from Instagram locations by coordinates and give me the result as a table.
How to set up Instagram locations by coordinates in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex 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 locations by coordinates
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-v2-search-by-coordinates", "input": { "latitude": 40.7, "longitude": -74 } }'
Then paste one of the prompts above: Codex finds Instagram locations by coordinates on Spiral, shows the price and runs it.
Instagram locations by coordinates providers and prices
Spiral runs Instagram locations by coordinates through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Latitude | a number | Latitude | |
| Longitude | a number | Longitude |
Every API field of Instagram V2 · Search locations by coordinates is on its tool page: open its card above.
What can you do with Instagram locations by coordinates in Codex?
Build an Instagram research view for public brands, with account information, content inventories, and discovery results. Keep follower direction and Highlight collections explicit in the interface so reviewers can interpret each result correctly.
Prepare a campaign research brief
Review a public brand's profile and content, identify business accounts in its visible connections, and collect relevant tagged coverage. Add hashtag candidates and Instagram locations around the campaign venue to guide editorial planning.
Research a retail opening
Prepare an internal opening brief using the retailer's public profile, posts, Reels, Stories, and Highlight collections. Review business connections and tagged coverage, then find location and hashtag candidates for the opening.
Prepare a tourism partnership brief
Review a destination organization's public account and content before a partnership discussion. Identify visible business connections, inspect publisher coverage that tags the organization, and collect location and hashtag candidates for the proposed itinerary.
Find candidates for a local business directory
Use location results around a public commercial district and related hashtag results as research leads. Review only recognizable business accounts in local organizations' follower and following lists, with manual verification before inclusion.
Research a local editorial feature
Find Instagram location candidates around the featured venue and compare relevant hashtag names and post counts. Review public publisher and business posts tagging the featured organization for additional research leads.
More on Instagram locations by coordinates and Codex
Overview
Instagram locations by coordinates in other agents
Questions about Instagram locations by coordinates in Codex
Can Codex use Instagram locations by coordinates?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Instagram locations by coordinates like any built-in tool.
How much does Instagram locations by coordinates cost in Codex?
$0.0026 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need a TikHub account to use Instagram locations by coordinates in Codex?
No. Spiral runs Instagram locations by coordinates 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 locations by coordinates in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Instagram locations by coordinates runs?
Instagram locations by coordinates runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.
Can this data include private Instagram activity?
TikHub documents public Instagram data only. Private accounts, direct messages, and non-public insights are outside its coverage.
How current are the Instagram results?
TikHub says its visitor-view Instagram data can lag by a few days, particularly counts and statistics. These results should not be described as live measurements.
Does one page contain every available result?
No. TikHub says paginated endpoints can return fewer items than requested, so a short page alone does not establish that collection is complete.
What do Instagram follower and following lists represent?
The follower list contains accounts following the requested account. The following list contains accounts it follows; both are paginated lists.
Does a Highlight collection list include every Story inside it?
The collection list supplies Highlight IDs, titles, and covers. TikHub documents a separate operation for retrieving the Stories inside a specific Highlight.
Start using Instagram locations by coordinates in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


