Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Public endpoints

nullptr edited this page Feb 28, 2025 · 1 revision

VxInstagram exposes a public API that allows you to get details on a post based on it's ID.

GET /api/getPostDetails?id=<postId>

Returns the details of a specified post Example request/response:

curl 'https://vxinstagram.com/api/getPostDetails?id=DFmjIeDOPSK'

This yields:

{
  "shortcode": "DFmjIeDOPSK",
  "permalink": "https://www.instagram.com/reel/DFmjIeDOPSK/?utm_source=ig_embed",
  "thumbnail_url": "<long url>",
  "is_video": true,
  "title": "angjelogjoni/tt",
  "views": 1200666,
  "likes": 286998,
  "comments": 340,
  "video": {
    "url": "<long url>",
    "height": 1136,
    "width": 640
  },
  "author": {
    "username": "kattykttn",
    "profile_url": "https://www.instagram.com/kattykttn/?utm_source=ig_embed"
  },
  "expires_at": 1741359353
}

Explanation of what each value is:

Value Description
shortcode ID of the post
permalink Permanent URL to the post
thumbnail_url URL to the post's thumbnail
is_video Boolean that tells if the post is a video or not
title Title of the post
views Amount of views the post got
likes Amount of likes the post got
comments Amount of comments the post got
video.url Direct CDN URL to the video
video.height Height of the video mp4
video.width Width of the video mp4
author.username Username of the author
author.profile_url URL to the author's profile
expires_at Time at which the cached record will expire

For normal users

Public API

Self hosting

Configuration

Clone this wiki locally