Instagram: Post
instagram_postInstagram posts: full post details, or the shortcode from a post URL.
Actions:
action=details: Get one Instagram post or reel in full: caption, media URLs, engagement counts, timestamp and owner. Needs the shortcode (the part after /p/ or /reel/ in the URL, or from action=id). Pricing: 1 credit per call. Inputs: shortcode (required).
action=id: Extract the shortcode from an Instagram post or reel URL. action=details needs the shortcode. Pricing: 1 credit per call. Inputs: link (required).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Instagram post URL. Required for: id. | |
| action | Yes | Which operation to run. See the tool description for what each action returns and which parameters it needs. | |
| shortcode | No | Instagram post shortcode (e.g., DMF-GjGO0-q). Required for: details. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining). | |
| creditsCharged | No | Credits charged for this call, or null if the endpoint did not report it. | |
| creditsRemaining | No | Credits left on the API key after this call, or null if not reported. |