GET /v1/instagram/v3/get_post_info_by_code
Get post info by shortcode
stable · 11 credits per success
Get post details by shortcode;Shortcode is the identifier in the post URL, e.g., `DUajw4YkorV` from `https://www.instagram.com/p/DUajw4YkorV/`;Returns complete post info;code: Post shortcode (e.g., DUajw4YkorV, required);`data.items`: Post info list;- `id`: Post ID;- `code`: Post shortcode;- `media_type`: Media type (1=image, 2=video, 8=carousel);- `like_count`: Likes count;- `comment_count`: Com…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| code | string | query | yes | 帖子短代码 | DUajw4YkorV |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 11 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.