{"id":18487274,"url":"https://github.com/preethamvishy/instapro","last_synced_at":"2025-07-10T09:31:41.302Z","repository":{"id":57274968,"uuid":"122751758","full_name":"preethamvishy/instapro","owner":"preethamvishy","description":"A Node.js library to get a wide range of public Instagram data without API keys or logging in. https://www.npmjs.com/package/instapro","archived":false,"fork":false,"pushed_at":"2022-12-08T16:01:10.000Z","size":33,"stargazers_count":54,"open_issues_count":3,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-06T12:59:32.149Z","etag":null,"topics":["instagram","instagram-api","instagram-client","instagram-scraper","node","nodejs","social-media"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/preethamvishy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-24T15:19:53.000Z","updated_at":"2024-10-25T20:15:01.000Z","dependencies_parsed_at":"2023-01-25T05:45:16.448Z","dependency_job_id":null,"html_url":"https://github.com/preethamvishy/instapro","commit_stats":null,"previous_names":["preethamvishy/instagram-node"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preethamvishy%2Finstapro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preethamvishy%2Finstapro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preethamvishy%2Finstapro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preethamvishy%2Finstapro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preethamvishy","download_url":"https://codeload.github.com/preethamvishy/instapro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225629714,"owners_count":17499295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["instagram","instagram-api","instagram-client","instagram-scraper","node","nodejs","social-media"],"created_at":"2024-11-06T12:50:22.300Z","updated_at":"2024-11-20T21:10:08.529Z","avatar_url":"https://github.com/preethamvishy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# instapro 🚀\n\nGet the widest range of Instagram data possible without Instagram API keys or logging in. A Node.js library that supports more endpoints than similar libraries without authentication.\n\nhttps://www.npmjs.com/package/instapro\n\n![instapro](https://snag.gy/oRpmfX.jpg)\n\n#### Data available\n\n- Users' data\n- Get User ID from username\n- Users' media\n- General search\n- Media search by tag\n- Media search by location\n- Media search by shortcode\n- Likes and comments for media by shortcode\n- Tagged users in media by shortcode\n- Media owner data by media shortcode\n- Profile picture URL from username\n\n#### Usage\n\nInstapro can be installed via npm: `npm install instapro --save`\n\n`Example.js` provides examples of each supported endpoint.\n\n```javascript\n\n\nconst {\n    getMediaByCode,\n    getUserByUsername,\n    getMediaByLocation,\n    getMediaByTag,\n    getMediaLikesByCode,\n    getMediaCommentsByCode,\n    generalSearch,\n    getUserIdFromUsername,\n    getUserProfilePicture,\n    getTaggedUsersByCode,\n    getMediaOwnerByCode\n  } = require('./index');\n\ngetUserByUsername('instagram').then((user) =\u003e {\n    console.log(user)\n})\n\ngetUserIdFromUsername('instagram').then((id) =\u003e {\n    console.log(id)\n})\n\ngetMediaByCode('BUu14BdBkO5').then(media =\u003e {\n    console.log(media)\n})\n\ngetMediaOwnerByCode('BUu14BdBkO5').then(media =\u003e {\n    console.log(media)\n})\n\ngetMediaByLocation('292188415').then(({ location }) =\u003e {\n    console.log(location.id)\n    console.log(location.name)\n    console.log(location.slug)\n})\n\ngetMediaByTag('abcd').then((media) =\u003e {\n    console.log(media)\n})\n\ngeneralSearch('insta').then((results) =\u003e {\n    console.log(results)\n})\n\ngetUserProfilePicture('instagram').then((url) =\u003e {\n    console.log(url)\n})\n\ngetMediaLikesByCode('BUu14BdBkO5').then((media) =\u003e {\n    console.log(media)\n})\n\ngetMediaCommentsByCode('BUu14BdBkO5').then((media) =\u003e {\n    console.log(media)\n})\n\ngetTaggedUsersByCode('BUu14BdBkO5').then((media) =\u003e {\n    console.log(media)\n})\n```\n\n\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreethamvishy%2Finstapro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreethamvishy%2Finstapro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreethamvishy%2Finstapro/lists"}