Skip to main content

Extract accounts' identifiers from personal pages on various platforms

Project description


Extract information about a user from profile webpages / API responses and save it in machine-readable format.


As a command-line tool:

$ socid_extractor --url
country: France
created_at: 2005-06-16 18:17:41
gender: female
username: Muse1908
links: ['', '', '']
tagline: Nothing worth having is easy...

Without installing:

$ ./ --url

As a Python library:

>>> import socid_extractor, requests
>>> r = requests.get('')
>>> socid_extractor.extract(r.text)
{'patreon_id': '33913189', 'patreon_username': 'annetlovart', 'fullname': 'Annet Lovart', 'links': "['', '', '', '']"}


$ pip3 install socid-extractor

The latest development version can be installed directly from GitHub:

$ pip3 install -U git+

Sites and methods

More than 100 methods for different sites and platforms are supported!

  • Google (all documents pages, maps contributions), cookies required
  • Yandex (disk, albums, znatoki, music, realty, collections), cookies required to prevent captcha blocks
  • ( user mainpage, photo, video, games, communities)
  • Facebook (user & group pages)
  • (user page)
  • (user page)
  • Instagram
  • Reddit
  • Medium
  • Flickr
  • Tumblr
  • TikTok
  • GitHub

...and many others.

You can also check tests file for data examples, schemes file to expore all the methods.

When it may be useful

  • Getting all available info by the username or/and account UID. Examples: Week in OSINT, OSINTCurious
  • Users tracking, checking that the account was previously known (by ID) even if all public info has changed. Examples: Aware Online
  • Searching by commonly used cross-service UIDs (GAIA ID, Facebook UID, Yandex Public ID, etc.)
    • DB leaks of forums and platforms in SQL format
    • Indexed links that contain target profile ID
  • Searching for tracking data by comparison with other IDs - how it works, how can it be used.
  • Law enforcement online requests

Tools using socid_extractor

  • Maigret - powerful namechecker, generate a report with all available info from accounts found.

  • TheScrapper - scrape emails, phone numbers and social media accounts from a website.

  • InfoHunter - An open source OSINT tool that allows you to search, collect and analyze information online to get a complete picture of the person or company you are interested in.

  • YaSeeker - tool to gather all available information about Yandex account by login/email.

  • Marple - scrape search engines results for a given username.


python3 -m pytest tests/ -n 10  -k 'not cookies' -m 'not github_failed and not rate_limited'


Check separate page if you want to add a new methods of fix anything.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

socid-extractor-0.0.26.tar.gz (55.9 kB view hashes)

Uploaded Source

Built Distribution

socid_extractor-0.0.26-py3-none-any.whl (54.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page