# Instagram Get Post Info API

> Get post metadata (caption, owner, media, comment count) via embed page. No auth needed, not rate-limited.

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-get-post-info.post`, key in the `X-Api-Key` header, JSON body.
- Cost: 15 weighted units per call.
- Timeout: 20 seconds.
- Cache: identical requests are served from cache for 300 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/instagram-get-post-info.post

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

## Request parameters

- `proxyUrl` (string) — Optional proxy URL
- `shortcode` (string, required) — Post shortcode (the part after /p/ in the URL)

## Response fields

- `caption` (string, required)
- `isVideo` (boolean)
- `postUrl` (string, required)
- `success` (boolean, required)
- `videoUrl` (string)
- `elapsedMs` (integer, required)
- `fetchedAt` (string, required)
- `mediaUrls` (array, required)
- `shortcode` (string, required)
- `commentCount` (integer)
- `ownerUsername` (string, required)
- `previewCommenters` (array)

## 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
{
  "shortcode": "example"
}
```

```json
{
  "caption": "example",
  "isVideo": false,
  "postUrl": "example",
  "success": false,
  "videoUrl": "example",
  "elapsedMs": 1,
  "fetchedAt": "example",
  "mediaUrls": [
    "example"
  ],
  "shortcode": "example",
  "commentCount": 1,
  "ownerUsername": "example",
  "previewCommenters": [
    "example"
  ]
}
```

## Frequently asked questions

### How much does the Instagram Get Post Info 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 Get Post Info API?

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

### Are Instagram Get Post Info API responses cached?

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

## More Social Media APIs

- [Instagram Get User By Id](https://upapi.io/apis/social-media/instagram-get-user-by-id)
- [Instagram Get User Posts](https://upapi.io/apis/social-media/instagram-get-user-posts)
- [Instagram Get User Profile](https://upapi.io/apis/social-media/instagram-get-user-profile)
- [Instagram Get Post Commenters](https://upapi.io/apis/social-media/instagram-get-post-commenters)
- [Instagram Check Account](https://upapi.io/apis/social-media/instagram-check-account)
- [Instagram Discover Location Posts](https://upapi.io/apis/social-media/instagram-discover-location)
- [Instagram Check Account Health](https://upapi.io/apis/social-media/instagram-check-account-health)
- [TikTok Get Video By Id](https://upapi.io/apis/social-media/tiktok-get-video-embed)
