1.0.0 • Published 1 year ago

instagram-api-scraper v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

instagram-api-scraper

Frieren

Install

npm install instagram-api-scraper

or using yarn

Usage

import { insta } from "instagram-api-scraper";
const url = "https://www.instagram.com/p/xxxx/?xxx"; // make sure this is real post/reel ig url
insta(url).then((json) => {
  console.log(json);
});
  • output
{
  status: Boolean,
  username: String,
  full_name: String,
  is_verified: Boolean,
  caption: String,
  profile_pic_url: String,
  urls: [
    {
      id: String,
      shortcode: String,
      height: Number,
      width: Number,
      url: String,
      is_video: Boolean,
      has_audio?: Boolean,
      ext: String
    },
    ...
  ]
}
1.0.0

1 year ago