# Instagram Discover Location Posts API

> Get 50-95 post shortcodes from a location page. No auth needed. Use with get-post-commenters for massive lead discovery.

Category: [Social Media APIs](https://upapi.io/apis/social-media) · Last updated 2026-11-02

## How to call it

- Endpoint: `POST https://api.upapi.io/instagram-discover-location.post`, key in the `X-Api-Key` header, JSON body.
- Cost: 15 weighted units per call.
- Timeout: 30 seconds.
- Cache: identical requests are served from cache for 600 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/instagram-discover-location.post

```bash
curl -X POST https://api.upapi.io/instagram-discover-location.post \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "locationId": "example" }'
```

## Request parameters

- `proxyUrl` (string) — Optional proxy URL
- `locationId` (string, required) — Instagram location ID (numeric)

## Response fields

- `posts` (array, required)
- `posts[].pk` (string, required)
- `posts[].postUrl` (string, required)
- `posts[].shortcode` (string, required)
- `success` (boolean, required)
- `latitude` (number)
- `elapsedMs` (integer, required)
- `fetchedAt` (string, required)
- `longitude` (number)
- `locationId` (string, required)
- `locationName` (string, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "locationId": "example"
}
```

```json
{
  "posts": [
    {
      "pk": "example",
      "postUrl": "example",
      "shortcode": "example"
    }
  ],
  "success": false,
  "latitude": 43.65,
  "elapsedMs": 1,
  "fetchedAt": "example",
  "longitude": -79.38,
  "locationId": "example",
  "locationName": "example"
}
```

## Frequently asked questions

### How much does the Instagram Discover Location Posts API cost per call?

Each call spends 15 weighted units of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Instagram Discover Location Posts API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Instagram Discover Location Posts API responses cached?

Yes — identical requests are served from cache for 600 seconds, and a cache hit is not billed.

## More Social Media APIs

- [Instagram Get Post Commenters](https://upapi.io/apis/social-media/instagram-get-post-commenters)
- [Instagram Get User Posts](https://upapi.io/apis/social-media/instagram-get-user-posts)
- [Instagram Get Post Info](https://upapi.io/apis/social-media/instagram-get-post-info)
- [Instagram Get User By Id](https://upapi.io/apis/social-media/instagram-get-user-by-id)
- [Instagram Get User Profile](https://upapi.io/apis/social-media/instagram-get-user-profile)
- [Instagram Check Account](https://upapi.io/apis/social-media/instagram-check-account)
- [Instagram Check Account Health](https://upapi.io/apis/social-media/instagram-check-account-health)
- [TikTok Discover Users from Comments](https://upapi.io/apis/social-media/tiktok-discover-users)
