{"id":16225774,"url":"https://github.com/bartholomej/instagram-scraper-api","last_synced_at":"2025-08-27T13:22:56.493Z","repository":{"id":41782838,"uuid":"314802093","full_name":"bartholomej/instagram-scraper-api","owner":"bartholomej","description":"Get user data and posts by scraping Instagram's user page. Without any API keys or oAuths!","archived":false,"fork":false,"pushed_at":"2023-01-07T05:06:07.000Z","size":353,"stargazers_count":10,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T12:01:29.264Z","etag":null,"topics":["ig","instagram","instagram-api","instagram-scraper"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bartholomej.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["bartholomej"],"patreon":null,"open_collective":null,"ko_fi":"bartholomej","tidelift":null,"custom":["https://www.paypal.me/bartholomej"]}},"created_at":"2020-11-21T12:02:30.000Z","updated_at":"2024-04-02T17:40:43.000Z","dependencies_parsed_at":"2023-02-06T12:31:20.221Z","dependency_job_id":null,"html_url":"https://github.com/bartholomej/instagram-scraper-api","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bartholomej/instagram-scraper-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartholomej%2Finstagram-scraper-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartholomej%2Finstagram-scraper-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartholomej%2Finstagram-scraper-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartholomej%2Finstagram-scraper-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bartholomej","download_url":"https://codeload.github.com/bartholomej/instagram-scraper-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartholomej%2Finstagram-scraper-api/sbom","scorecard":{"id":226304,"data":{"date":"2025-08-11","repo":{"name":"github.com/bartholomej/instagram-scraper-api","commit":"f373ce31cbff01e8696184ce772b9faac4344422"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/bartholomej/instagram-scraper-api/test.yml/master?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/main.yml:37","Warn: downloadThenRun not pinned by hash: .github/workflows/publish.yml:41","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-7gc6-qh9x-w6h8","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-vp56-6g26-6827","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T03:53:33.137Z","repository_id":41782838,"created_at":"2025-08-17T03:53:33.137Z","updated_at":"2025-08-17T03:53:33.137Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272335814,"owners_count":24916529,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ig","instagram","instagram-api","instagram-scraper"],"created_at":"2024-10-10T12:46:21.213Z","updated_at":"2025-08-27T13:22:56.473Z","avatar_url":"https://github.com/bartholomej.png","language":"TypeScript","funding_links":["https://github.com/sponsors/bartholomej","https://ko-fi.com/bartholomej","https://www.paypal.me/bartholomej"],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/instagram-scraper-api.svg)](https://badge.fury.io/js/instagram-scraper-api)\n[![npm downloads](https://img.shields.io/npm/dt/instagram-scraper-api.svg)](https://npm.im/instagram-scraper-api)\n[![Package License](https://img.shields.io/npm/l/instagram-scraper-api.svg)](https://www.npmjs.com/instagram-scraper-api)\n[![Build \u0026 Publish](https://github.com/bartholomej/instagram-scraper-api/workflows/Build%20\u0026%20Publish/badge.svg)](https://github.com/bartholomej/instagram-scraper-api/actions)\n[![codecov](https://codecov.io/gh/bartholomej/instagram-scraper-api/branch/master/graph/badge.svg?token=YQH9UoVrGP)](https://codecov.io/gh/bartholomej/instagram-scraper-api)\n\n# Instagram Scraper API\n\n\u003e Get user data and posts by scraping Instagram's user page. Without any API keys or oAuths!\n\u003e\n\u003e - API key NOT required!\n\u003e - Not any registration needed\n\u003e - Browser + Node.js (SSR) support\n\u003e - 100% TypeScript\n\n## Demo\n\nHere is the live [example](https://stackblitz.com/edit/instagram-scraper-api?file=index.ts)!\n\n## Install\n\nvia yarn\n\n```bash\nyarn add instagram-scraper-api\n```\n\nvia npm\n\n```bash\nnpm install instagram-scraper-api --save\n```\n\n## Usage\n\nGet latest posts from [Will Smith](https://www.instagram.com/willsmith)\n\n```javascript\nimport { instagram } from 'instagram-scraper-api';\n\ninstagram\n  .user('willsmith')\n  .then((user) =\u003e console.log(user))\n  .catch((err) =\u003e console.error(err));\n```\n\n#### Results\n\n```javascript\n{\n  id: '3132929984',\n  category: null,\n  fullName: 'Will Smith',\n  bio: 'New playground. Same kid from West Philly.⁣⁣⁣',\n  website: 'https://fb.me/RTTWillTakeover',\n  followersCount: 50410933,\n  followingsCount: 185,\n  isPrivate: false,\n  isVerified: true,\n  avatar: 'https://scontent-prg1-1.cdninstagram.com/v/t51.2885-19/s320x320/126947726_281263379986327_6281262352239007520_n.jpg?_nc_ht=scontent-prg1-1.cdninstagram.com\u0026_nc_ohc=47FwFhMeHegAX_G_Efc\u0026tp=1\u0026oh=cb0674289129567814e591e1256131d2\u0026oe=5FE33AAD',\n  fbPage: null,\n  postsCount: 1052,\n  posts: [\n    {\n      id: '2447030206582756101',\n      shortcode: 'CH1mQIKBBMF',\n      photo: 'https://scontent-prg1-1.cdninstagram.com/v/t51.2885-15/e35/126151383_156030889537953_5358114580816397186_n.jpg?_nc_ht=scontent-prg1-1.cdninstagram.com\u0026_nc_cat=1\u0026_nc_ohc=SQAb3GhyBBwAX-KcYjc\u0026tp=1\u0026oh=07d2403de4db567647310872a81ab83f\u0026oe=5FBB2897',\n      isVideo: true,\n      description: 'This is why nobody lets me cook. #FreshPrinceReunion',\n      commentsCount: 6217,\n      likesCount: 1334788,\n      time: 1605928764,\n      location: null\n    },\n    {\n      id: '2446931950146244085',\n      shortcode: 'CH1P6TuBU31',\n      photo: 'https://scontent-prg1-1.cdninstagram.com/v/t51.2885-15/e35/p1080x1080/126838948_202552767996560_4560560924720673_n.jpg?_nc_ht=scontent-prg1-1.cdninstagram.com\u0026_nc_cat=1\u0026_nc_ohc=doGn1dkB44gAX84lb7d\u0026tp=1\u0026oh=4c68a21d7f75a808b9ca21dac476554d\u0026oe=5FE070D8',\n      isVideo: false,\n      description: 'Can’t Viv with ‘em, can’t Viv without ‘em! :-) #FreshPrinceReunion',\n      commentsCount: 6396,\n      likesCount: 1320494,\n      time: 1605917041,\n      location: null\n    }\n  ]\n}\n```\n\nHere is the [demo](https://stackblitz.com/edit/instagram-scraper-api?file=index.ts)!\n\n### More\n\nWork in progress...\n\n## Development\n\nI welcome you to customize this according to your needs ;)\n\nPull requests for any improvements would be great!\n\n### Developing and debugging this library\n\n```bash\ngit clone git@github.com:bartholomej/instagram-scraper-api.git\ncd instagram-scraper-api\nyarn\nyarn start\n```\n\n#### Run demo locally\n\nYou can find and modify it in [`./demo.ts`](./demo.ts) file\n\n```bash\nyarn demo\n```\n\n## Donation\n\nIf this project have helped you save time please consider [making a donation](https://github.com/sponsors/bartholomej) for some 🍺 or 🍵 ;)\n\n## Privacy Policy\n\nI DO NOT STORE ANY DATA. PERIOD.\n\nI physically can't. I have nowhere to store it. I don't even have a server database to store it. So even if Justin Bieber asked nicely to see your data, I wouldn't have anything to show him.\n\nThat's why, with this library, what happens on your device stays on your device till disappear.\n\n## License\n\nCopyright \u0026copy; 2021 [Lukas Bartak](http://bartweb.cz)\n\nProudly powered by nature 🗻, wind 💨, tea 🍵 and beer 🍺 ;)\n\nAll contents are licensed under the [MIT license].\n\n[mit license]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartholomej%2Finstagram-scraper-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartholomej%2Finstagram-scraper-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartholomej%2Finstagram-scraper-api/lists"}