Very nice.
Would be nice if it cached the info from the last time it was run so It doesn't need to be ran every time. Also it's not loading 'paid to members'

[Script] Torn Faction Organized Crime Metrics
Adds a compact panel to the Faction page that pulls your faction’s completed organized crimes (via the Torn API) and shows clean metrics: success vs fail, respect, money to members/faction, a grand total, and an OC breakdown with income, items, and net.
Script page: https://greasyfork.org/en/scripts/549344-torn-faction-organized-crime-metrics
Requires a Torn API key with Limited Access.

https://www.torn.com/factions.phphttps://api.torn.com/v2/faction/crimes?cat=completed&filter=executed_at&from=...&to=...&sort=DESC&key=...&comment=TF-OC-Crime-Metricshttps://api.torn.com/v2/faction/news?cat=depositFunds&sort=DESC&from=...&to=...&key=...
rewards.payout.paid_at among fetched crimes, so late payments aren’t missed.crimeId and “balance by $X” to attribute member payouts to the correct OC.https://api.torn.com/v2/torn/items?key=...value.market_price to estimate item rewards; cached for 24 hours.Script by Canixe [3753120]. If it helps and you want to show appreciation, send a Xan or drop a thanks at my bazaar.
Not affiliated with Torn.
Script version was updated to version 1.1.0
Changelog:
v1.1.0 - Add copy to clipboard functionalities
v1.0.7 - Fix some rounding issues
v1.0.6 - Allow the item value estimate to use the current market value or the value at OC time based on OC payout
v1.0.5 - Change faction log parsing to use crime logs instead of fund logs, for better dealing with NoReserve/BiddingWar
v1.0.4 - Fix duplication issue on faction logs
v1.0.3 - Improve TornPDA grid visibility
v1.0.2 - Fix crashing issue with TornPDA
v1.0.1 - Correct API Key level requirement (Minimal -> Limited)
v1.0.0 - Release
Donations:
00:46:02 - 16/09/25 Agent86 sent 60x Xanax to you with the message: for your help with the OC report metrics
20:43:54 - 17/09/25 Agent86 sent 60x Xanax to you with the message: thanks again for the work on the metrics report
22:14:29 - 04/10/25 You were sent a Drug Pack from ThunderBlitz with the message: Cool script!
12:32:51 - 14/11/25 Darrellia sent 3x Feathery Hotel Coupon to you with the message: thanks for the great tool!
02:16:14 - 11/04/26 RussianRob sent 50x Xanax to you with the message: Loving the script bro!
Contributors:
You sent some Xanax to BorrFedick with the message: Thanks for your feedback on my script, the change has been implemented
You sent some Xanax to ThunderBlitz with the message: Thanks for your feedback on my script, the change has been implemented
You sent some Xanax to BlackadderThe3 with the message: Thanks for your feedback on my script, the change has been implemented
You sent some Xanax to Simmeltron with the message: Thanks for your feedback on my script, the change has been implemented
Very nice.
Would be nice if it cached the info from the last time it was run so It doesn't need to be ran every time. Also it's not loading 'paid to members'

Very nice.
Would be nice if it cached the info from the last time it was run so It doesn't need to be ran every time. Also it's not loading 'paid to members'
Sorry, my bad, it actually requires Limited Access key (I should have read the API docs better)
And the Paid to Members should be fixed with that
Looks good, TornPDA compatible?
Join the Fam:
Aotearoa Family - Warmongers, dedicated warring faction (80% RW and 100% OC payout) 💪
Aotearoa Family - Criminals, OC focused crime faction (80% OC payout) 🚓
Work for the Fam:
Sex Toys R Us - Adult Novelty 🔥
Looks good, TornPDA compatible?
Doesn't seem to be. Installed it, went to every faction tab, including the OC one (viewing all 3 subtabs) but, no sign of this script anywhere. I even tried looking at the code in case the API key could be hardcoded in but, couldn't see any obvious entry for it.
If it becomes compatible, getting it to use the default TornPDA key automatically, would really simplify things here.
Not all changes are for the better. #BeCarefulWhatYouWishFor
I cannot get this script to appear either within TornPDA either.
New version of the script has been released:
v1.0.3 - Improve TornPDA grid visibility
v1.0.2 - Fix crashing issue with TornPDA
First was the fix that was not allowing the script to execute properly in TornPDA

Second was allow the grid to now collapse on TornPDA and show in a more friendly manner, allowing to expand/collapse each row to show additional details.
Works great on TornPDA now, 👍 👍
Join the Fam:
Aotearoa Family - Warmongers, dedicated warring faction (80% RW and 100% OC payout) 💪
Aotearoa Family - Criminals, OC focused crime faction (80% OC payout) 🚓
Work for the Fam:
Sex Toys R Us - Adult Novelty 🔥
Amazing work! Any chance you can add statistics on members level? (success/fail on their checkpoint, success/fail on OCs, money they got paid)
Just installed this and it is awesome! To backload all our historical OC2.0 crimes from the beginning... is there an efficient way to do that? Or do I just pick the date that OC2.0 was launched?

Just installed this and it is awesome! To backload all our historical OC2.0 crimes from the beginning... is there an efficient way to do that? Or do I just pick the date that OC2.0 was launched?
Thank you for your feedback!
The current script doesn't "store" the OCs and instead everytime you make a query, it will call the APIs to load the whole timeframe through various API calls needed for the set timeframe, therefore its kinda more usefull to compare one month vs the other, rather than check the whole OCs history, however being possible, will take a long time to fully load.
I could look into having the history being kept, but that would affect storage, so I'm not sure it is an approach that would be of interest to all types of devices.
New version of the script has been released:
v1.0.4 - Fix duplication issue on faction logs
v1.0.5 - Change faction log parsing to use crime logs instead of fund logs, for better dealing with NoReserve/BiddingWar
v1.0.6 - Allow the item value estimate to use the current market value or the value at OC time based on OC payout
Sometimes the payments to members were duplicated and the value shown was incorrect, this is now fixed!
Nothing Happened? How?
Make sure you have scripts running, that tampermonkey or whatever addon for scripts is running properly and that it has permissions to execute scripts, and that the script is installed and active,
If all of the above are working as expected, It should be showing a bar like this:
which you then have to expand on the arrow on the far right to use
Is there any way to efficiently export the summary numbers at the top at least? I'd like to copy and paste them into a report for our leadership if possible. But it doesn't copy/paste very well the way it is currently formatted.

Is there any way to efficiently export the summary numbers at the top at least? I'd like to copy and paste them into a report for our leadership if possible. But it doesn't copy/paste very well the way it is currently formatted.
Thank you for using my script and thank you for your feedback,
I've released a new version that allows to copy all the headers with a copy button at the top
Which copies the whole header information in a table-like structure, like this:
And also allows to copy each of the KPIs individually by single clicking on the KPI cell:
Which in this case will copy like this: "Money to faction $35 ≈ $5 / day"
Is there any way to efficiently export the summary numbers at the top at least? I'd like to copy and paste them into a report for our leadership if possible. But it doesn't copy/paste very well the way it is currently formatted.
Thank you for using my script and thank you for your feedback,
I've released a new version that allows to copy all the headers with a copy button at the top
Which copies the whole header information in a table-like structure, like this:
And also allows to copy each of the KPIs individually by single clicking on the KPI cell:
Which in this case will copy like this: "Money to faction $35 ≈ $5 / day"
Oh awesome.. just realized you updated this. The copy feature works well to past into a spreadsheet for formatting. Thanks!!

Found this with a Google search that I expected to return nothing - really awesome script with a nice display. I do wonder if it would be possible to also incorporate the cost of items needed for the OC to run (e.g. Chloroform) since that impacts the net profit pretty heavily. Either way this made my day much easier - thank you!
Very cool stats. I'm using a Limited API but still get no value in the Money to members.