{
 "collection_methods": {
  "collect_by_url": {
   "input_schema": [
    {
     "name": "url",
     "required": true,
     "type": "url"
    },
    {
     "name": "discovery_input",
     "required": false,
     "type": "object"
    },
    {
     "name": "country",
     "required": false,
     "type": "text"
    }
   ],
   "output_fields": [
    {
     "description": "The direct URL of the Instagram post",
     "name": "url",
     "type": "url"
    },
    {
     "description": "Username of the post creator",
     "name": "user_posted",
     "type": "text"
    },
    {
     "description": "Post text description",
     "name": "description",
     "type": "text"
    },
    {
     "description": "Hashtags used in the post",
     "name": "hashtags",
     "type": "array"
    },
    {
     "description": "Number of comments",
     "name": "num_comments",
     "type": "number"
    },
    {
     "description": "Post publication date",
     "name": "date_posted",
     "type": "date"
    },
    {
     "description": "Number of likes on the post",
     "name": "likes",
     "type": "number"
    },
    {
     "description": "URLs of attached photos, URLs can be expired due to Instagram policy",
     "name": "photos",
     "type": "array"
    },
    {
     "description": "URLs of attached videos, URLs can be expired due to Instagram policy",
     "name": "videos",
     "type": "array"
    },
    {
     "description": "Geographical location associated with the post",
     "name": "location",
     "type": "array"
    },
    {
     "description": "Detailed geographical location metadata as returned by Instagram",
     "name": "location_details",
     "type": "object"
    },
    {
     "description": "Recent comments on the post",
     "name": "latest_comments",
     "type": "array"
    },
    {
     "description": "Unique post identifier",
     "name": "post_id",
     "type": "text"
    },
    {
     "description": "Discovery input values used to trigger the collection",
     "name": "discovery_input",
     "type": "object"
    },
    {
     "description": "Indicates if the post has a handshake (collaborative agreement between accounts)",
     "name": "has_handshake",
     "type": "boolean"
    },
    {
     "description": "The shortcode of the Instagram post, used in the post URL path",
     "name": "shortcode",
     "type": "text"
    },
    {
     "description": "The type of content — Posts or Reels",
     "name": "content_type",
     "type": "text"
    },
    {
     "description": "The primary key of the media content as assigned by Instagram",
     "name": "pk",
     "type": "text"
    },
    {
     "description": "The content ID of the media item",
     "name": "content_id",
     "type": "text"
    },
    {
     "description": "Video view count used as an engagement score metric",
     "name": "engagement_score_view",
     "type": "number"
    },
    {
     "description": "The URL of the post's display image or video thumbnail",
     "name": "thumbnail",
     "type": "text"
    },
    {
     "description": "The number of views on the video post",
     "name": "video_view_count",
     "type": "text"
    },
    {
     "description": "The type of product associated with the post, such as 'clips' for Reels",
     "name": "product_type",
     "type": "text"
    },
    {
     "description": "List of co-authors or producers who collaborated on the post",
     "name": "coauthor_producers",
     "type": "array"
    },
    {
     "description": "List of users tagged in the post",
     "name": "tagged_users",
     "type": "array"
    },
    {
     "description": "The number of times the video has been played",
     "name": "video_play_count",
     "type": "number"
    },
    {
     "description": "Number of followers the post owner has at the time of collection",
     "name": "followers",
     "type": "number"
    },
    {
     "description": "The total count of posts made by the account at the time of collection",
     "name": "posts_count",
     "type": "number"
    },
    {
     "description": "URL linking directly to the Instagram profile image of the post owner",
     "name": "profile_image_link",
     "type": "text"
    },
    {
     "description": "Indicates whether the post owner's account is verified",
     "name": "is_verified",
     "type": "boolean"
    },
    {
     "description": "Details of the paid partnership brand associated with the post",
     "name": "partnership_details",
     "type": "object"
    },
    {
     "description": "The Instagram user ID of the account that posted the post",
     "name": "user_posted_id",
     "type": "text"
    },
    {
     "description": "List of media items (photos or videos) attached to the post, including carousel items",
     "name": "post_content",
     "type": "array"
    },
    {
     "description": "Audio track metadata associated with the post or Reel",
     "name": "audio",
     "type": "object"
    },
    {
     "description": "URL of the Instagram profile that posted the post",
     "name": "profile_url",
     "type": "url"
    },
    {
     "description": "List of video durations for each video attached to the post",
     "name": "videos_duration",
     "type": "array"
    },
    {
     "description": "List of image objects attached to the post",
     "name": "images",
     "type": "array"
    },
    {
     "description": "Accessibility alt text for the post's main image — descriptive text that conveys the meaning of the image for blind or visually impaired users",
     "name": "alt_text",
     "type": "text"
    },
    {
     "description": "Total number of photos attached to the post",
     "name": "photos_number",
     "type": "number"
    },
    {
     "description": "Direct URL of the audio track used in the post",
     "name": "audio_url",
     "type": "url"
    }
   ]
  },
  "discover_by_url": {
   "input_schema": [
    {
     "name": "url",
     "required": true,
     "type": "url"
    },
    {
     "name": "num_of_posts",
     "required": false,
     "type": "number"
    },
    {
     "name": "posts_to_not_include",
     "required": false,
     "type": "array"
    },
    {
     "name": "start_date",
     "required": false,
     "type": "text"
    },
    {
     "name": "end_date",
     "required": false,
     "type": "text"
    },
    {
     "name": "post_type",
     "required": false,
     "type": "text"
    }
   ],
   "output_fields": [
    {
     "name": "url",
     "type": "url"
    }
   ]
  }
 },
 "domain": "instagram.com",
 "id": "gd_lk5ns7kz21pck8jpis",
 "name": "Instagram - Posts"
}
