{"id":45911429,"url":"https://github.com/a-legotin/InstaSharper","last_synced_at":"2026-03-27T23:01:18.262Z","repository":{"id":37925222,"uuid":"72935135","full_name":"a-legotin/InstaSharper","owner":"a-legotin","description":"Private Instagram API","archived":false,"fork":false,"pushed_at":"2024-04-20T14:20:15.000Z","size":3776,"stargazers_count":518,"open_issues_count":22,"forks_count":147,"subscribers_count":77,"default_branch":"develop","last_synced_at":"2026-01-14T06:01:26.801Z","etag":null,"topics":["instagram","instagram-api","instagram-lib","instagram-scraper","instagram-sdk","instasharper"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a-legotin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-11-05T15:32:17.000Z","updated_at":"2026-01-03T23:08:46.000Z","dependencies_parsed_at":"2023-01-24T20:30:30.314Z","dependency_job_id":null,"html_url":"https://github.com/a-legotin/InstaSharper","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/a-legotin/InstaSharper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-legotin%2FInstaSharper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-legotin%2FInstaSharper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-legotin%2FInstaSharper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-legotin%2FInstaSharper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-legotin","download_url":"https://codeload.github.com/a-legotin/InstaSharper/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-legotin%2FInstaSharper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31065013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T22:49:25.097Z","status":"ssl_error","status_checked_at":"2026-03-27T22:49:22.599Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["instagram","instagram-api","instagram-lib","instagram-scraper","instagram-sdk","instasharper"],"created_at":"2026-02-28T07:00:27.281Z","updated_at":"2026-03-27T23:01:18.257Z","avatar_url":"https://github.com/a-legotin.png","language":"C#","funding_links":[],"categories":["instagram"],"sub_categories":[],"readme":"# InstagramApi [InstaSharper]\nTokenless, butthurtless private API for Instagram. Get account information, media, explore tags and user feed without any applications and other crap.\n\n## Development of this project postponed\n\n### Before posting new issues: [Demo samples](https://github.com/a-legotin/InstaSharper/tree/develop/InstaSharper.Examples), [Tests project](https://github.com/a-legotin/InstaSharper/tree/develop/InstaSharper.Tests/Endpoints) and [Wiki page](https://github.com/a-legotin/InstaSharper/wiki/How-to-use-library-features)\n\nNote that: there is a simple [Instagram API](https://github.com/a-legotin/InstagramAPI-Web) based on web-version of Instagram. This repository based on Instagram API for mobile devices.\n\n[![Build status](https://ci.appveyor.com/api/projects/status/6os0fhi1awbplbka?svg=true)](https://ci.appveyor.com/project/a-legotin/instasharper)\n[![Build status](https://travis-ci.org/a-legotin/InstaSharper.svg?branch=master)](https://travis-ci.org/a-legotin/InstaSharper)\n[![NuGet](https://img.shields.io/nuget/v/InstaSharper.svg)](https://www.nuget.org/packages/InstaSharper/)\n[![MyGet](https://img.shields.io/myget/a-legotin/v/instasharper-develop.svg)](https://www.myget.org/feed/Details/instasharper-develop)\n[![GitHub stars](https://img.shields.io/github/stars/a-legotin/InstaSharper.svg)](https://github.com/a-legotin/InstaSharper/stargazers)\n\n#### Current version: 1.4.0 [Stable], 1.5.0 [Under development]\n\n## Overview\nThis project intends to provide all the features available in the Instagram API up to 12.0.0.7.91. It is being developed in C# for .NET Framework 4.5.2 and .NET Standard 2.0\n\n#### This repository is provided for reference purposes only.\n\n* Please note that this project is still in design and development phase; the libraries may suffer major changes even at the interface level, so don't rely (yet) in this software for production uses. *\n\n## Cross-platform by design\nBuild with dotnet core. Can be used on Mac, Linux, Windows.\n\n## Easy to install\nUse library as dll, reference from [nuget](https://www.nuget.org/packages/InstaSharper/) or clone source code.\nPre-release version available at [myget feed](https://www.myget.org/feed/Details/instasharper-develop) together with [symbols](https://www.myget.org/F/instasharper-develop/symbols/)\n\n## Features\n\nCurrently the library supports following coverage of the following Instagram APIs:\n\n***\n\n- [x] Login\n- [x] Logout\n- [x] Create new account\n- [x] Get user explore feed\n- [x] Get user timeline feed\n- [x] Get all user media by username\n- [x] Get media by its id\n- [x] Get user info by its user name\n- [x] Get current user info\n- [x] Get tag feed by tag value\n- [x] Get current user media\n- [x] Get followers list\n- [x] Get followers list for currently logged in user\n- [x] Get following list\n- [x] Get recent following activity\n- [x] Get user tags by username\n- [x] Get direct mailbox\n- [x] Get recent recipients\n- [x] Get ranked recipients\n- [x] Get inbox thread\n- [x] Get recent activity\n- [x] Like media\n- [x] Unlike media\n- [x] Follow user\n- [x] Unfollow user\n- [x] Set account private\n- [x] Set account public\n- [x] Send comment\n- [x] Delete comment\n- [x] Upload photo\n- [x] Upload video\n- [x] Get followings list\n- [x] Delete media (photo/video)\n- [x] Upload story (photo)\n- [x] Change password\n- [x] Send direct message\n- [x] Search location\n- [x] Get location feed\n- [x] Collection create/get by id/get all/add items\n\n\n## Easy to use\n#### Use builder to get Insta API instance:\n```c#\nvar api = new InstaApiBuilder()\n                .UseLogger(new SomeLogger())\n                .UseHttpClient(new SomeHttpClient())\n                .SetUser(new UserCredentials(...You user...))\n                .UseHttpClient(httpHandlerWithSomeProxy)\n                .Build();\n```\n##### Note: every API method has synchronous implementation as well\n\n### Quick Examples\n#### Login\n```c#\nIResult\u003cbool\u003e loggedIn = await api.LoginAsync();\n```\n\n#### Get user:\n```c#\nIResult\u003cInstaUser\u003e user = await api.GetUserAsync();\n```\n\n#### Get all user posts:\n```c#\nIResult\u003cInstaMediaList\u003e media = await api.GetUserMediaAsync();\n```\n\n#### Get media by its code:\n```c#\nIResult\u003cInstaMedia\u003e mediaItem = await api.GetMediaByIdAsync(\"1234567891234567891_123456789);\n```\n\n#### Get user timeline feed:\n```c#\nIResult\u003cInstaFeed\u003e feed = await api.GetUserFeedAsync();\n```\n\n#### Comment post:\n```c#\nIResult\u003cbool\u003e postResult = await apiInstance.CommentMediaAsync(\"1234567891234567891_123456789\", \"Hi there!\");\n```\n\n##### for more samples you can look at [Examples folder](https://github.com/a-legotin/InstaSharper/tree/master/InstaSharper.Examples)\n\n\n#### [Why two separate repos with same mission?](https://github.com/a-legotin/InstagramAPI-Web/wiki/Difference-between-API-Web-and-just-API-repositories)\n\n#### [Wiki](https://github.com/a-legotin/InstagramAPI/wiki/)\n\n## Special thanks\n\n[ADeltaX](https://github.com/ADeltaX) for contribution\n\n[vitalragaz](https://github.com/vitalragaz) for contribution\n\n[n0ise9914](https://github.com/n0ise9914) for contribution\n\n[Ramtinak](https://github.com/ramtinak) for contribution\n\n[mgp25](https://github.com/mgp25) and his [php wrapper](https://github.com/mgp25/Instagram-API/)\n\n# License\n\nMIT\n\n# Terms and conditions\n\n- Anyone who uses this wrapper MUST follow [Instagram Policy](https://www.instagram.com/about/legal/terms/api/)\n- Provided project MUST NOT be used for marketing purposes\n- I will not provide support to anyone who wants this API to send massive messages/likes/follows and so on\n- Use this API at your own risk\n\n## Legal\n\nThis code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial API wrapper.\n#### Code provided for reference purposes only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-legotin%2FInstaSharper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-legotin%2FInstaSharper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-legotin%2FInstaSharper/lists"}