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

How to Get Free Unlimited Bandwidth and Storage Using jsDelivr and GitHub

How to Get Free Unlimited Bandwidth and Storage Using jsDelivr and GitHub Are you tired of paying for expensive content delivery networks (CDNs) and storage solutions for your web projects? Look no further! In this guide, we'll show you how to leverage jsDelivr and GitHub to get free unlimited bandwidth and storage. Whether you're a seasoned developer or just getting started, this solution will save you money and improve the performance of your web projects. What is jsDelivr? jsDelivr is a free, fast, and reliable CDN for open-source files. It provides a convenient way to serve your static assets (like JavaScript, CSS, images, and more) with the benefits of a global CDN, including faster load times and unlimited bandwidth. What is GitHub? GitHub is a popular platform for version control and collaboration. It allows you to host your code repositories and manage your projects with ease. By combining GitHub with jsD...

Best VS Code extensions for developers in 2024

Here are some of the best VS Code extensions for developers in 2024, including a range of productivity tools, debuggers, and visual enhancements to streamline your coding workflow. Additionally, you'll find some popular themes to customize your editor's appearance. Top VS Code Extensions for Developers in 2024 Shade Theme by SH20RAJ Enhance your code readability with this well-designed theme, perfect for long coding sessions. Shade Theme Prettier A widely used code formatter that ensures your code is styled consistently across your projects. Prettier GitLens Provides rich visualizations and insights into your Git repository, helping you understand code changes and history. GitLens Auto Rename Tag Automatically renames paired HTML/XML tags, reducing errors and saving time. Auto Rename Tag Bracket Pair Colorizer Colors matching brackets to improve code readability, especially useful for complex nested structures. Bracket Pair Colorizer CSS Peek...

100+ Innovative Ideas for Telegram Bots

Title: 100+ Innovative Ideas for Telegram Bots: Exploring the Boundaries of Automation In the realm of instant messaging, Telegram stands out as a versatile platform offering a plethora of features for communication and automation. Among its most intriguing aspects are Telegram bots – automated programs designed to assist, entertain, or streamline various tasks within the platform. With the power of bot creation accessible to developers and enthusiasts alike, the possibilities for innovation are virtually limitless. Here, we present over 100 ideas for Telegram bots spanning diverse categories, from productivity to entertainment and beyond. 1. Productivity Bots: 1.1. Task Manager Bot: Helps users organize their tasks, set reminders, and manage deadlines. 1.2. Note Taking Bot: Allows users to jot down quick notes and access them later. 1.3. Calendar Integration Bot: Syncs Telegram with users' calendars, facilitating scheduling and event management. 1.4. Expense Tracker Bot: ...

Random Posts