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

FamilyAlbum - Free Unlimited Storage - Share Family Photos and Videos - Auto-Organized Album

Website :- https://family-album.com Play Store :- https://play.google.com/store/apps/details?id=us.mitene Description from Play Store The best way to safely share and organize your family’s photos and videos. Unlimited storage, no ads, and it’s free! 3 Reasons to Start Your Album: 1) You’ll love it YOUR MEMORIES ON DISPLAY. Show off your photos and videos in a way that’s both beautiful and intuitive. Everything is automatically sorted by month, complete with your child’s age. Just swipe the screen to go back in time! UNLIMITED STORAGE. Back up all your memories for free. STREAMLINED SHARING. No more sharing the same photo with five different group chats. All your photos, all your videos, all your favorite people, all in one place. YOUR PRIVACY IS OUR PRIORITY. Your album is completely private. All content you upload to the app belongs to you, and it can only be viewed by you and the family and friends you invite. That also ...

Train Loader For Website or Blogger | SopLoader - Trn

 Train Loader For Website or Blogger | SopLoader - Trn Video Documentation :- Just Copy Paste the CDN Just after <body> Tag.  To Get This Loader Preview :- On  Repl.it :-  https://SopLoader.sh20raj.repl.co Repl.it Source :-  https://replit.com/@SH20RAJ/SopLoader#index.html On Codepen :-   See the Pen Css stylish Loader with CDN #1 by SH20RAJ ( @SH20RAJ ) on CodePen .

Random Posts