Skip to main content

What it does

Returns details for a single post by its shortcode, including media, captions, and engagement counts. Supports photos, videos, and carousels.

Tool details

FieldValue
Tool nameinstagram.get_post
PlatformInstagram
REST endpointGET /v1/instagram/posts/{postId}
Result typeDetail tool

Parameters

ParameterSourceTypeRequiredDescription
postIdpathstringYesPost shortcode (from instagram.com/p//)
projection_presetsharedstringNoOptional. Defaults to minimal. Allowed values: full, minimal, identity, engagement, content.
data_fieldssharedstring[]NoOptional. Adds top-level keys from data on top of the selected projection_preset.

Example

{
  "name": "instagram.get_post",
  "arguments": {
    "postId": "DM8Q1ABC123",
    "projection_preset": "minimal",
    "data_fields": [
      "totalItems",
      "entityId",
      "name",
      "published"
    ]
  }
}

Available data fields

[
  "@context",
  "type",
  "id",
  "url",
  "entityId",
  "content",
  "published",
  "likeCount",
  "commentCount",
  "attributedTo",
  "location",
  "tag",
  "language",
  "isEdited",
  "isSponsored",
  "viewCount",
  "duration",
  "contentFormat",
  "attachment",
  "image",
  "audio",
  "name",
  "totalItems",
  "items"
]

Response notes

Successful calls return a JSON object with a top-level data field and, when available, metadata.creditsUsed and metadata.creditsRemaining. See response format, pagination, and credits.