{"id":15514420,"url":"https://github.com/jonaskahn/unofficial-livecounts-api","last_synced_at":"2025-06-12T18:06:05.558Z","repository":{"id":255796172,"uuid":"853631249","full_name":"jonaskahn/unofficial-livecounts-api","owner":"jonaskahn","description":"Unofficial API for Livecounts.io to retrieve live counts for users and videos on TikTok, YouTube, Twitter, Twitch, KickLive, Vlive, and Odysee","archived":false,"fork":false,"pushed_at":"2024-10-29T11:36:24.000Z","size":81,"stargazers_count":23,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T18:03:08.546Z","etag":null,"topics":["livecount","livecounter","odysee-live-api","tiktok","tiktok-api","twitch-api","twitter-api","vlive-api","youtube-api"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/unofficial-livecounts-api","language":"Python","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/jonaskahn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-07T04:48:34.000Z","updated_at":"2025-05-14T05:01:49.000Z","dependencies_parsed_at":"2025-06-12T18:03:25.327Z","dependency_job_id":null,"html_url":"https://github.com/jonaskahn/unofficial-livecounts-api","commit_stats":null,"previous_names":["jonaskahn/unofficial-livecounts-api"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jonaskahn/unofficial-livecounts-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskahn%2Funofficial-livecounts-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskahn%2Funofficial-livecounts-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskahn%2Funofficial-livecounts-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskahn%2Funofficial-livecounts-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonaskahn","download_url":"https://codeload.github.com/jonaskahn/unofficial-livecounts-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskahn%2Funofficial-livecounts-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259518833,"owners_count":22870300,"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":["livecount","livecounter","odysee-live-api","tiktok","tiktok-api","twitch-api","twitter-api","vlive-api","youtube-api"],"created_at":"2024-10-02T09:59:05.927Z","updated_at":"2025-06-12T18:06:05.536Z","avatar_url":"https://github.com/jonaskahn.png","language":"Python","readme":"# 🎶 Unofficial Livecounts.io API\n\n**Unofficial API for Livecounts.io to retrieve live counts for users and videos on TikTok, YouTube, Twitter, Twitch,\nKickLive, Vlive, and Odysee**\n\n## 📝 Supported APIs\n\n- [x] **YouTube**: User/Video Count\n- [x] **TikTok**: User/Video Count\n- [x] **Twitter**: User Count\n- [x] **Twitch**: User Count\n- [ ] ~**Kicklive**~: Use the Official API\n- [ ] **Vlive**: To be supported\n- [ ] **Odysee-live**: To be supported\n\n## 🕵️ Usage\n\n```shell\npip install unofficial_livecounts_api\n```\n\n### Tiktok API\n\n- **User API**\n\n```python\nfrom unofficial_livecounts_api.tiktok import TiktokAgent\n\n# Find users\nusers = TiktokAgent.find_user(query=\"best\")\n\n# Live count a user\nuser_metric_by_user_id = TiktokAgent.fetch_user_metrics(query=\"123456789\")\n```\n\n- **Video API**\n\n```python\nfrom unofficial_livecounts_api.tiktok import TiktokAgent\n\n# Find a video\nvideo_by_query = TiktokAgent.find_video(query=\"https://tiktok.com/@test/video/122222223233232?test1=value1\")\nvideo_by_video_id = TiktokAgent.find_video(query=\"122222223233232\")\n\n# Live count video\nvideo_metric_by_query = TiktokAgent.fetch_video_metrics(\n    query=\"https://tiktok.com/@test/video/122222223233232?test1=value1\")\nvideo_metric_by_video_id = TiktokAgent.fetch_video_metrics(query=\"122222223233232\")\n```\n\n### YouTube API\n\n- **User API**\n\n```python\nfrom unofficial_livecounts_api.youtube import YoutubeAgent\n\n# Find channels by given query\nchannels = YoutubeAgent.find_channel(query=\"test\")\n\n# Live count channel\nchannel_metrics_by_query = YoutubeAgent.fetch_channel_metrics(query=\"test\")\n\n```\n\n- **Video API**\n\n```python\nfrom unofficial_livecounts_api.youtube import YoutubeAgent\n\n# Find videos by given query\nvideos = YoutubeAgent.find_video(query=\"test\")\n\n# Live count a video\nvideo_metrics_by_query = YoutubeAgent.fetch_video_metrics(query=\"123456789\")\n```\n\n### Twitter API\n\n```python\nfrom unofficial_livecounts_api.twitter import TwitterAgent\n\n# Find users by given query\nuser = TwitterAgent.find_user(query=\"jack\")\n\n# Live count user\nmetrics = TwitterAgent.fetch_user_metrics(query=\"jack\")\n```\n\n### Twitch API\n\n```python\nfrom unofficial_livecounts_api.twitch import TwitchAgent\n\n# Find users by given query\nuser = TwitchAgent.find_user(query=\"jack\")\n\n# Live count user\nmetrics = TwitchAgent.fetch_user_metrics(query=\"jack\")\n```\n\n## 📛 Disclaimer\n\nThis project aimed to security research, testing purpose. Any misuse of this API for malicious purposes is not condoned.\nThe developers of this API are not responsible for any illegal or unethical activities carried out using this API.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonaskahn%2Funofficial-livecounts-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonaskahn%2Funofficial-livecounts-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonaskahn%2Funofficial-livecounts-api/lists"}