Access Torn Targets data directly from TornPDA with our custom script!
Download our custom TornPDA script or copy it directly.
1. Open TornPDA app
2. Go to Settings → Scripts
3. Tap "Add Script" button
4. Paste the script and give it a name
5. Replace YOUR_API_KEY_HERE with your actual API key
Set the script to run on Torn pages, specifically:
• Profile pages (profiles.php)
• Attack pages (loader.php?sid=attack)
• Or set it to run on all Torn pages for maximum convenience
...
// Full script continues...
// Download to see complete code
The script uses these Torn Targets API endpoints:
GET /api/v1/target?id={torn_id}
Get information about a specific target
GET /api/v1/search?q={query}&type={name|faction}
Search for targets by name or faction
GET /api/v1/targets?level_min={min}&level_max={max}
Get filtered list of targets
GET /api/v1/stats
Get overall statistics
If you encounter any issues or have questions about the TornPDA integration: