Overview
Social Analyzer supports two primary output formats: Pretty (human-readable) and JSON (machine-readable). The format is controlled by the--output or output parameter.
Output Format Selection
CLI
Python API
Pretty Output Format
The pretty format provides human-readable, color-coded console output with profile counts and formatted results.Example Output
Features
- Color-coded status messages
- Progress indicators
- Profile counts by category
- Formatted profile details
- Real-time status updates
JSON Output Format
The JSON format provides structured data suitable for programmatic processing, integration, and storage.Structure Overview
array
Array of successfully detected profiles with high confidence
array
Array of profiles that exist but couldn’t be confidently verified
array
Array of profiles that failed to load or returned errors
Complete JSON Structure
Profile Object Fields
Detected Profile Fields
Detected profiles contain the most comprehensive information:string
required
Full URL to the detected profile
string
required
Confidence rate as percentage string
number
Numeric confidence percentage (0-100)
string
required
Detection quality indicator
good- High confidence match (greater than 80%)maybe- Medium confidence (40-80%)bad- Low confidence (less than 40%)
string
Page title from the profile
string
Extracted text content from the profile page
string
Detected page language
string
Website category
number
Alexa/popularity ranking (0 if unranked)
object
Extracted data when
--extract flag is usedobject
OSINT metadata when
--metadata flag is usedUnknown Profile Fields
Unknown profiles contain minimal information:string
required
Full URL to the profile (existence unverified)
Failed Profile Fields
Failed profiles only contain the attempted URL:string
required
Full URL that failed to load or returned errors
Filtering Output
By Status
Control which profile categories are included:By Confidence
Filter detected profiles by confidence level:By Fields
Show only specific fields:Simplified Output
The Python CLI supports a simplified mode that outputs only links of 100% confidence profiles:Simplified Structure
Web API Response Format
The web API (POST /analyze_string) returns a comprehensive object:
Sorting and Organization
Detected profiles are automatically sorted by confidence rate in descending order:Integration Examples
Parse JSON in Bash
Parse JSON in Python
Parse JSON in Node.js
Best Practices
The exact fields returned depend on the flags used (
--extract, --metadata, --options, etc.)