Official JavaScript/TypeScript client library for the OsintCat API. Powerful OSINT (Open Source Intelligence) tools for investigations, data collection, and security research.
- 🔍 Comprehensive OSINT Tools: Search across multiple platforms and databases
- 🛡️ Data Breach Search: Find compromised accounts and leaked credentials
- 🎮 Gaming Platforms: Discord, Reddit, Roblox, GitHub investigations
- 🌐 Network Intelligence: IP lookups, DNS resolution, domain analysis
- 📱 Contact Intelligence: Phone and email validation and enrichment
- 📊 NPD Records Search: National Public Data records investigation
- 🔐 TypeScript Support: Full type definitions included
- ⚡ Promise-based: Modern async/await support
- 🚀 Easy Integration: Simple and intuitive API
npm install osintcatyarn add osintcatpnpm add osintcatconst OsintCat = require ('osintcat');
// Initialize the client
const client = new OsintCat({
apiKey: 'your-api-key-here'
});
// Search for data breaches
const breaches = await client.searchBreaches('email@example.com');
console.log(breaches.data);
// Discord investigation
const discordData = await client.getDiscordInfo('Discord_ID');
console.log(discordData.data);
// Get IP information
const ipInfo = await client.getIPInfo('8.8.8.8');
console.log(ipInfo.data);Get your API key from the OsintCat Dashboard. The API supports different subscription tiers:
- Free: Dashboard access only, API access not included
- Premium: 50 API requests per day + unlimited dashboard access
- Enterprise: Unlimited API requests + priority support
const result = await client.searchBreaches('email@example.com');Search multiple breach databases for compromised accounts including:
- LeakCheck, SnusBase, HackCheck
- IntelVault, Inf0Sec, BreachBase
const discord = await client.getDiscordInfo('userId');const reddit = await client.searchReddit('username');const github = await client.searchGitHub('email@example.com');const roblox = await client.searchRoblox('username');const ip = await client.getIPInfo('192.168.1.1');const dns = await client.resolveDNS('example.com');const domain = await client.searchDomain('example.com');const phone = await client.getPhoneInfo('+1234567890');const email = await client.getEmailInfo('test@example.com');const npd = await client.searchNPD({
firstname: 'John',
lastname: 'Doe',
phone: '+1234567890'
});Search National Public Data records using various criteria.
const conversion = await client.discordToRoblox('discord_user_id');const client = new OsintCat({
apiKey: 'your-api-key',
timeout: 90000 // Optional: request timeout in milliseconds (default: 90s)
});All methods return a standardized response:
{
"success": true,
"data": {},
"error": null,
"_meta": {
"plan": "premium",
"lookups_left": 45
}
}try {
const result = await client.searchBreaches('email@example.com');
if (result.success) {
console.log('Data:', result.data);
console.log('Remaining requests:', result._meta?.lookups_left);
} else {
console.error('Error:', result.error);
}
} catch (error) {
console.error('Request failed:', error.message);
}The package includes full TypeScript definitions:
import OsintCat, { OSINTResponse, BreachResult } from 'osintcat';
const client = new OsintCat({ apiKey: 'your-key' });
const breaches: OSINTResponse<BreachResult> = await client.searchBreaches('email@example.com');API requests are subject to rate limits based on your subscription:
- Premium: 50 requests/day
- Enterprise: Unlimited requests
Monitor your usage via the _meta.lookups_left field in responses.
This tool is intended for:
- ✅ Security research and penetration testing
- ✅ Investigating your own accounts and data
- ✅ Academic research and education
- ✅ Cybersecurity and threat intelligence
- ✅ Authorized OSINT investigations
Please ensure responsible usage and comply with:
- Applicable laws and regulations
- Terms of service of investigated platforms
- Privacy rights and data protection laws
- Ethical guidelines for security research
Contributions are welcome! Please feel free to submit a Pull Request.
See CHANGELOG.md for version history and updates.
MIT License - see LICENSE file for details.
Disclaimer: This tool is for authorized security testing and research only. Users are responsible for ensuring compliance with applicable laws and regulations. The developers are not responsible for any misuse of this tool.