Instagram Location Posts API
Scrape Instagram Location Posts data with one API call. Returns a paginated list of recent posts tagged at an Instagram location. Each post includes shortcode, URL, caption, media URLs, engagement counts, and the author. Pass the `location_id` and page through with `cursor`.
Last updated June 2026
Try the Instagram Location Posts API
See real data before writing a single line
Searching 42 platforms in parallel
What can you do with the Location Posts API?
The Location Posts endpoint gives you structured Instagram data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl "https://www.socialcrawl.dev/v1/instagram/location/posts?location_id=331004901" \
-H "x-api-key: YOUR_API_KEY"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/instagram/location/posts",
headers={"x-api-key": "YOUR_API_KEY"},
params={"location_id": "331004901"},
)
data = response.json()const params = new URLSearchParams({
"location_id": "331004901",
});
const response = await fetch(`https://www.socialcrawl.dev/v1/instagram/location/posts?${params}`, {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| location_id | Yes | Instagram numeric location ID. |
| cursor | No | Pagination cursor. Use the `next_cursor` from the previous response to fetch the next page. |
| safe_url | No | When true, returns URL-safe media links suitable for embedding. |
How does the Instagram Location Posts API work?
Send a GET request with your API key and get back clean, structured JSON. Every response follows our unified schema with computed fields.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 42 platforms covering 10B+ monthly active users.
One schema, every platform
Query 42 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
Every response includes engagement_rate, estimated_reach, content_category, and language — ready to use.
See your data before you code
Visual Data Explorer — paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Ready to scrape Instagram Location Posts data?
Get your API key and start pulling Instagram data in under 60 seconds.
