# Instagram Location Posts API (https://www.socialcrawl.dev/platforms/instagram/location-posts) > 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`. TL;DR: `GET /v1/instagram/location/posts` costs 5 credits per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## 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. | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/instagram/location/posts?location_id=331004901" \ -H "x-api-key: sc_YOUR_API_KEY" ``` ## FAQ ### How do I get Instagram posts by location with an API? Send a GET request to /v1/instagram/location/posts with the location_id parameter. SocialCrawl returns a JSON array of recent posts tagged at that location including shortcode, url, caption, media URLs, engagement counts, and author. ### Where do I get the location_id to pass in? Call /v1/instagram/search/location first with a place name. Each result carries a location id that you feed straight into this endpoint as location_id. ### How do I page through more location posts? Each response includes a cursor. Pass it back as the cursor parameter on your next request to fetch the following page of posts for the same location. ### Can I get CDN-safe media URLs? Yes. Add the optional safe_url parameter and the response returns proxied media URLs that stay reachable, which is useful when you cache or re-host thumbnails. ### How much does the Instagram Location Posts API cost? This is an advanced endpoint at 5 credits per page returned. New accounts get 100 free credits, so you can pull around 20 pages before topping up. See the full Instagram API: https://www.socialcrawl.dev/platforms/instagram ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - How to pull recent Instagram posts tagged at a location with an API - Instagram location posts API for local marketing and venue research