Skip to main content

Instagram Image downloader Using JavaScript - API - Wholly API

Wholly API :- https://wholly-api.herokuapp.com/

See This is the API endpoint-

https://wholly-api.herokuapp.com/websites/instagram.com/


Fetch Using JavaScript :- Ref. Google

Users can fetch the websites content on there website even using Pure JavaScript.
The different URLs will return you different results in JSON format. Just grab the JSON Using any Server Side or Client Side Language and Show on website.


Some API Uses are Given Below :-


Get Post's Images URL

https://wholly-api.herokuapp.com/websites/instagram.com/get-post.php?id={{Your Post's id}}

See Example Here :-
https://wholly-api.herokuapp.com/websites/instagram.com/get.php?id=CXCI49ABauD

It will return a JSON you something like this

{
    "status": 1,
    "id": "CXCI49ABauD",
    "user": "robertdowneyjr",
    "userimage": "https:\/\/imageproxy.pimg.tw\/resize?url=https%3A%2F%2Fscontent-mxp2-1.cdninstagram.com%2Fv%2Ft51.2885-19%2Fs150x150%2F143237481_227994098925572_6634984787450078090_n.jpg%3F_nc_ht%3Dscontent-mxp2-1.cdninstagram.com%26_nc_cat%3D1%26_nc_ohc%3DVw8f-EcRVOEAX_9Rdcf%26edm%3DAP_V10EBAAAA%26ccb%3D7-4%26oh%3D00_AT9sHFQHA_c3gNDCCf3JxjDVA6g2OdRxTxo7BizkuTUc4A%26oe%3D62021D39%26_nc_sid%3D4f375e",
    "images": [
        "https:\/\/img1.imginn.org\/?https:\/\/scontent-mxp2-1.cdninstagram.com\/v\/t51.2885-15\/sh0.08\/e35\/s640x640\/261084594_2924707011193308_3032430190944028166_n.jpg?_nc_ht=scontent-mxp2-1.cdninstagram.com&_nc_cat=100&_nc_ohc=BXj-qNYHjhsAX_2FOqK&edm=AP_V10EBAAAA&ccb=7-4&oh=00_AT96Q6nY747OyDVi56OsLcDnoE_aEU1e6k8Y141GgTNYow&oe=62025157&_nc_sid=4f375e",
        "https:\/\/img6.imginn.org\/?https:\/\/scontent-mxp2-1.cdninstagram.com\/v\/t51.2885-15\/sh0.08\/e35\/s640x640\/263237181_630058388018418_8819686837614848636_n.jpg?_nc_ht=scontent-mxp2-1.cdninstagram.com&_nc_cat=106&_nc_ohc=pqmWK8BQfvgAX9c9EaX&edm=AP_V10EBAAAA&ccb=7-4&oh=00_AT8JcFrQNNwshHa2APAkBoNcyrxyjW2hvvOIiXnEGovKtQ&oe=6201A575&_nc_sid=4f375e"
    ],
    "nickname": "Robert Downey Jr. Official",
    "description": " It\u2019s Friday, we\u2019re blasting The Beatles, going down memory lane and continuing our mission today for a great cause\u2026Want an autograph of your own and bragging rights for helping planet Earth? Thought so - check the link in the bio! "
}
Enter fullscreen mode Exit fullscreen mode

You can fetch the results using XHR or fetch API or Use WebScrapperJS in pure JavaScript.


Get User Data

https://wholly-api.herokuapp.com/websites/instagram.com/get-user.php?id={{Your Instagram Username}}

See Example Here :-
https://wholly-api.herokuapp.com/websites/instagram.com/get-user.php?id=robertdowneyjr

It will return a JSON you something like this

{
    "status": 1,
    "id": "robertdowneyjr",
    "user": "robertdowneyjr",
    "userimage": "https:\/\/imageproxy.pimg.tw\/resize?url=https%3A%2F%2Fscontent-mxp2-1.cdninstagram.com%2Fv%2Ft51.2885-19%2Fs150x150%2F143237481_227994098925572_6634984787450078090_n.jpg%3F_nc_ht%3Dscontent-mxp2-1.cdninstagram.com%26_nc_cat%3D1%26_nc_ohc%3DVw8f-EcRVOEAX_9Rdcf%26edm%3DAP_V10EBAAAA%26ccb%3D7-4%26oh%3D00_AT9sHFQHA_c3gNDCCf3JxjDVA6g2OdRxTxo7BizkuTUc4A%26oe%3D62021D39%26_nc_sid%3D4f375e",
    "postids": [
        "CXgs_RkJYUi",
        "CXCI49ABauD",
        "CW6S4trMpDA",
        "CWbL8fXPZj9",
        "CV8gUePvuoX",
        "CV3GfJIPHE8",
        "CVA8YCAFfo9",
        "CU-Yd_eFGvc",
        "CThycoMlPVq",
        "CTXeu4RF4Sz",
        "CTAvnrfhBqh",
        "CSuZR-Npuyw"
    ],
    "stories": "https:\/\/imginn.org\/api\/reels\/?id=1518284433",
    "nickname": "Robert Downey Jr. Official",
    "description": ""
}
Enter fullscreen mode Exit fullscreen mode

You can fetch the results using XHR or fetch API or Use WebScrapperJS.


The API will be improved more.
Features yet to be added :-

  • Reels & Video downloading
  • Load images in multiple pages
  • Multiple Image Downloading (Added ✅)
  • Profile image downloading (Added ✅)
  • and many more...

You can contribute here :- https://github.com/SH20RAJ/instaxapi or https://github.com/SH20RAJ/whollyapi/tree/main/websites/instagram.com

Comments

F9XR said…
Please make a HTML, CSS and JS Web app using this API

Popular posts from this blog

Top Free APIs Every Developer Should Know About

Top Free APIs Every Developer Should Know About In the world of software development, APIs (Application Programming Interfaces) are essential for integrating various functionalities into applications. Here’s a curated list of top free APIs categorized by their functionality: 1. Weather APIs OpenWeatherMap API : Provides current weather data, forecasts, and historical weather data for any location. Weatherstack API : Offers real-time weather information, including forecasts and historical data. 2. Maps and Geolocation APIs Google Maps API : Enables integration of interactive maps, geocoding, and route optimization. Mapbox API : Provides customizable maps, navigation, and location search capabilities. 3. Finance and Stock Market APIs Alpha Vantage API : Offers real-time and historical equity and cryptocurrency data. Yahoo Finance API : Provides access to financial news, stock market data, and por...

Google Drive Proxy Video Player - Bypass Limits - JW Player - Embed drive videos

GooDrive :- https://goodrive.stream/ Google Drive Proxy Player #1 :- https://youtu.be/9VQK8W2iUkg Dev.to Article

Plyr.io Video Player - Integration - Skin Customizing - Adding Download Button

Plyr.io Video Player - Integration - Skin Customizing - Adding Download Button See the Pen Plyr.io Video Player - Skin Customizing to pink by SH20RAJ ( @SH20RAJ ) on CodePen . Integration :-  or Get Plyr CDNS From CDNJS Plyr <!-- Docs styles --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/CDNSFree2/Plyr/plyr.css" /> or Use CDNJS for CDN <link rel="stylesheet" href=" https://cdnjs.cloudflare.com/ajax/libs/plyr/3.6.7/plyr.min.css" /> <!--Add a Simple HTML5 Video tag--> <video controls data-poster="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.jpg" class="vid1"> <!-- Video files --> <source src="https://rebrand.ly/sample-video" type="video/mp4" size="576" /> </video> <script src="https://cdnjs.cloudflare.com/ajax/libs/plyr/3.6.7/plyr.min.js"...

Random Posts