Skip to main content
GET
/
v1
/
instagram
/
post
Get Post
curl --request GET \
  --url https://api.scraper.creatorlookup.com/v1/instagram/post \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "shortcode": "<string>",
    "caption": {},
    "timestamp": 123,
    "like_count": 123,
    "comment_count": 123,
    "media_type": "<string>",
    "media_url": "<string>",
    "thumbnail_url": {},
    "is_video": true,
    "video_view_count": {},
    "location": {},
    "tagged_users": [
      "<string>"
    ],
    "hashtags": [
      "<string>"
    ]
  },
  "credits_used": 123,
  "credits_remaining": 123
}

Request

Headers

NameRequiredDescription
x-api-keyYesYour API key

Query parameters

shortcode
string
required
The post shortcode. This is the unique identifier in Instagram post URLs: https://www.instagram.com/p/{shortcode}/

Response

data
object
credits_used
number
Credits deducted (1)
credits_remaining
number
Remaining credit balance
Cost: 1 credit

Examples

curl -H "x-api-key: sk-your-api-key" \
  "https://api.scraper.creatorlookup.com/v1/instagram/post?shortcode=CxAbCdEfGh"

200 — Success

{
  "data": {
    "shortcode": "CxAbCdEfGh",
    "caption": "Beautiful sunset #nature #photography",
    "timestamp": 1700000000,
    "like_count": 50000,
    "comment_count": 800,
    "media_type": "carousel",
    "media_url": "https://scontent.cdninstagram.com/...",
    "thumbnail_url": null,
    "is_video": false,
    "video_view_count": null,
    "location": "Malibu, California",
    "tagged_users": [],
    "hashtags": ["nature", "photography"]
  },
  "credits_used": 1,
  "credits_remaining": 9999
}

502 — Scrape failed

{
  "error": {
    "code": "SCRAPE_FAILED",
    "message": "Post not found or has been removed"
  }
}