Instagram V3 · Get location posts
tikhub/instagram-v3-get-location-postsGet public social media posts, profiles and videos with Instagram V3 · Get location posts from TikHub through one Spiral API key. Get Instagram location-related posts. Support sorting by top or latest. Location ID can be obtained from search API (search_places) or post details. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.0104 per request.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
location_id required | text | — | Location ID |
tab | one of ranked, recent | ranked | latest). Example: ranked |
after | text | — | Pagination cursor from previous response end_cursor |
first | number (whole) 1 to 50 | 12 | Posts per page |
page_size_override | number (whole) | 12 | Page size |
Same request in code
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-v3-get-location-posts",
"input": {
"location_id": "1016248898"
}
}'Frequently asked questions
How much does Instagram V3 · Get location posts cost?
$0.0104 per request. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Instagram V3 · Get location posts through an API?
Send `POST /v1/runs` with `"provider": "tikhub"`, `"model": "tikhub/instagram-v3-get-location-posts"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with TikHub to use Instagram V3 · Get location posts?
No. Spiral runs it on its own TikHub account and charges your Spiral balance.
Can my AI agent use Instagram V3 · Get location posts?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.