socid-extractor
Extract accounts' identifiers and metadata from personal pages on various platforms.
What it is and what it does
socid_extractor is a Python library that parses social media profile pages and API responses to extract structured account data. It handles 130+ platforms—including Facebook, Instagram, GitHub, Reddit, TikTok, Bluesky, and many others—returning a flat dictionary with normalized field names (username, fullname, created_at, is_verified, etc.) and crucially, stable internal identifiers that survive username changes and platform redesigns. These IDs (GAIA for Google, UID for Facebook, pk for Instagram, and dozens more) are the core value: they let you correlate the same account across leaks, archives, and search indices, and serve as join keys in breach databases.
The library requires no API keys or headless browser—just pass response text to a single extract() call. It ships as both a Python library and a CLI tool, and is battle-tested in production OSINT tools like Maigret. Dependencies are lightweight (requests, beautifulsoup4, python-dateutil), and the package is actively maintained with recent releases and no known vulnerabilities.
Use it for:
- Extract stable internal IDs from a profile page to correlate the same account across platform renames, redesigns, and deletions.
- Pivot from a username into breach databases and search-engine indices using the stable UID as a join key.
- Feed normalized account records into downstream OSINT pipelines (like Maigret) without writing per-platform scrapers.
- Batch-process profile URLs to build a cross-service identity map for investigation or enrichment workflows.
- Extract contact info, social links, and metadata from a profile in a single call without per-site glue code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses HTML and API responses from 130+ social platforms to extract account metadata—usernames, display names, bios, avatars, locations, join dates, follower counts, and stable internal identifiers (GAIA ID, Facebook UID, Instagram pk, etc.) that persist across renames and redesigns.
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem—extracting stable account identifiers across 130+ platforms with a single uniform interface. MIT license permits commercial use. Install it if you need to correlate social accounts, feed OSINT pipelines, or extract account metadata at scale.
Install
socid-extractor on PyPI
pip
pip install socid-extractoruv
uv add socid-extractorpoetry
poetry add socid-extractorInstalling socid-extractor
Before you install
Low friction: pure Python wheel with three common runtime dependencies (requests, python-dateutil, beautifulsoup4). Last release 32 days ago, active maintenance, 1064 repository stars, and no known vulnerabilities.
License in practice
MIT license permits commercial use without restriction, though the maintainers note that page parsers degrade as platforms change and recommend reaching out for commercial support if you need maintained private parser plugins or a hosted API.
Quickstart
pip install socid-extractor
import requests
import socid_extractor
r = requests.get('https://www.patreon.com/annetlovart')
print(socid_extractor.extract(r.text))
Requires Python 3.10 or later.
Verify before relying
- Whether the 130+ platform count remains accurate as platforms change or deprecate.
- Performance characteristics when processing large batches of profiles.
- Whether cookies are required for all Google-ecosystem parsers or only some.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — requests, python-dateutil, beautifulsoup4 |
| Maintenance | actively maintained — 32 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 117,308/month — #12,170 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: socid_extractor-0.1.1-py3-none-any.whl
Keywords: osint, scraping, username, profile, extractor, identity
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
maigretMaigret searches for a person across thousands…
permissive · top 15,000 on PyPI
sherlock-projectSearches for usernames across 400+ social…
permissive · top 15,000 on PyPI
snscrapeScrapes user profiles, posts, hashtags, and…
copyleft · top 15,000 on PyPI
instaloaderDownloads public and private Instagram…
permissive · top 15,000 on PyPI
instagrapiUnofficial Instagram API wrapper that automates…
permissive · top 5,000 on PyPI
django-allauthProvides integrated local and social…
permissive · top 5,000 on PyPI
ScweetScrape tweets, profiles, followers, and user…
permissive · top 15,000 on PyPI
zernio-sdkUnified Python client for publishing social…
permissive · top 15,000 on PyPI
gliner2GLiNER2 extracts entities, classifies text,…
permissive · top 15,000 on PyPI
readable-contentExtracts the main article content from web…
permissive · top 15,000 on PyPI