# Instagram post info

Get post details by media ID or post URL. Takes media id and url, all optional. Served by TikHub.

Purpose:
- Get post details by media ID or post URL
- Returns complete post info including images/videos, likes, comments, author info, etc.
Parameters:
- media_id: Post media ID (numeric ID), can be obtained via `/shortcode_to_media_id` endpoint
- url: Post URL, e.g. `https://www.instagram.com/p/DUajw4YkorV/`, supports `/p/`, `/reel/`, `/reels/`, `/tv/` paths
- **At least one of media_id or url is required; media_id wins if both provided**
Return:
- `data.items`: Post info list (usually only one element)
    - `id`: Post ID
    - `code`: Post shortcode
    - `media_type`: Media type (1=image, 2=video, 8=carousel)
    - `like_count`: Likes count
    - `comment_count`: Comments count
    - `caption.text`: Post caption text
    - `user`: Publisher info
    - `image_versions2`: Image version list
    - `video_versions`: Video version list (exists for videos)
    - `carousel_media`: Carousel media list (exists for carousels)
    - `taken_at`: Published timestamp

示例/Example
```
by media_id
media_id = "3850699893338385742"

by url
url = "https://www.instagram.com/p/DUajw4YkorV/"
```

- Tool ID: `tikhub/instagram-v3-get-post-info`
- Name in the catalog: Instagram, Get post info (media_id or URL)
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Instagram posts](/tools/instagram/posts.md)
- Price: $0.008 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.008
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.008; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "media_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "帖子媒体ID/Post media ID（与 url 二选一）",
      "title": "Media Id"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "帖子URL/Post URL（与 media_id 二选一；支持 /p/、/reel/、/reels/、/tv/ 形式）",
      "title": "Url"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/instagram-v3-get-post-info",
  "input": {
    "media_id": "3850699893338385742",
    "url": "https://www.instagram.com/p/DUajw4YkorV/"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Instagram-V3-API/get_post_info_api_v1_instagram_v3_get_post_info_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/instagram-v3-get-post-info) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/instagram-v3-get-post-info) · [Agent index](/llms.txt)
