Skip to content

🕵️‍♂️ (2-in-1) Email & Username OSINT suite featuring native MCP support for deep data extraction just from a single Email/Username. Analyzes 2720+ actively maintained scan vectors (210+ email / 2510+ username) for security research, investigations, and digital footprinting.

add: Poc: email availability check for X.com

kaifcodece04cbdee532b
diff --git a/user_scanner/email_scan/social/x.py b/user_scanner/email_scan/social/x.py
new file mode 100644
index 0000000..f095e43
--- /dev/null
+++ b/user_scanner/email_scan/social/x.py
@@ -0,0 +1,26 @@
+import asyncio
+import httpx
+
+async def check_x(email):
+ url = f"https://api.x.com/i/users/email_available.json?email={email}"
+ headers = {
+ "user-agent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Mobile Safari/537.36",
+ "x-twitter-client-language": "en",
+ "x-twitter-active-user": "yes",
+ "referer": "https://x.com/"
+ }
+
+ async with httpx.AsyncClient(http2=True) as client:
+ try:
+ resp = await client.get(url, headers=headers)
+ data = resp.json()
+ if data.get("taken"):
+ return f"[!] {email} -> REGISTERED"
+ return f"[*] {email} -> NOT REGISTERED"
+ except Exception as e:
+ return f"Error checking {email}: {e}"
+
+if __name__ == "__main__":
+ target_email = input("Enter Email: ").strip()
+ result = asyncio.run(check_x(target_email))
+ print(result)