‹ AfricanChild Players AfricanChild Forum
Forum posts (Torn's count) 60 observed 12 Sep 2026
Archived posts 57
Threads started (archived) 5
Boards
From the 57 newest archived posts.
Tools & Userscripts 39 posts Graveyard 15 posts General Discussion 1 post Bugs & Issues 1 post Fun & Games 1 post
Threads started
Most-liked posts
Likes as archived at fetch time, adjusted for how long each post had been up. Scored posts only; the full score pass runs after the import.
[Script/PDA] Torn City Wikipedia Dark Theme · 27 Dec 2023 · 32 likes
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 15 Dec 2023 · 32 likes
[image: i.imgur.com]
[image: camo.githubusercontent.com] [image: camo.githubusercontent.com] [image: camo.githubusercontent.com] [image: camo.githubusercontent.com]
Hello everyone, A random advertisement on YouTube and my passion for programming has brought me here today, to create an open-source Python wrapper for the Tom API and my newfound enjoyment for Torn.
TornAPIWrapper
TornAPIWrapper is an open-source Python library for interacting with the Torn City API v2, offering access to Torn City data. It covers all available Torn API v2 endpoints and is kept current with the latest updates to the API.
It provides sync and async support, built-in API error handling, and a modern API wrapper - all you need to build Discord bots, tools, trackers, dashboards, and websites, while TornAPIWrapper takes care of the rest.
Instructions
How to Install Python: YouTube
Visit the repository and install TornAPIWrapper: GitHub
Sync Code Example
from TornAPIWrapper import TornAPIWrapper
torn = TornAPIWrapper(api_key="1aBcDeFgH2iJkLmN")
print(torn.user.get_profile())
Thank you
Links to checkout:
Sync/Async Code Examples
GitHub Repository README.md TornAPIWrapper (PyPi)
Torn API v2 If you create a project using TornAPIWrapper, let me know! I’d love to see what people create. I wouldn’t mind starting a list of projects built with TornAPIWrapper!
Torn API v2 (Swagger) | Documentation Discrepancy · 28 Jan · 1 like
Discrepancy 1 Endpoint: /faction/contributors Parameter name: stat Parameter value: stat = "test" Return: {'error': {'code': 25, 'error': 'Invalid stat requested'}} This error code is not documented in the documentations . ----------------------------------------------
Discrepancy 2 Endpoint: /user/personalstats Parameter name: stat cat Parameter value: Any Return {'error': {'code': 26, 'error': 'Only category or stats can be requested'}} This error code is not documented in the documentations .
Graveyard · 3 Jan 2024 · 2 likes
Click Here to Logout · 8 Feb · 0 likes
Ever found yourself needing to log out of Torn?
Click here
Recent archived posts
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 21 Aug 2026, 22:55 TCT
Updated to patch 21/08/26:
Get rock paper scissors competition stats.
Get specific item(s) stats.
Get daily city stats.
Fixed /torn/itemdetails accepting only one item id.
New error code - FileDoesNotExist.
Snapshot endpoint headers is fixed.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 20 Aug 2026, 20:21 TCT
Updated to patch 20/08/26:
Get your faction's inventory items.
Get your faction members crime experience.
Some of the faction endpoints could not be tested because they require being in a faction. If there are any issues, please let me know!
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 19 Aug 2026, 00:57 TCT
Updated to patch 18/08/26:
Get active poker tables
Get casino playing cards
Get current bank rates
Get city shops stock information
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 17 Aug 2026, 22:38 TCT
Updated to patch 17/08/26:
Get your currently active gym
Get all gyms
Get search for cash crime statuses
Get shoplifting crime statuses (You can use this long awaited endpoint to notify you when its best to shoplift)
Get all your achieved medals or for a specific player.
Split 'faction' -> 'warfare' into 5 selections and also deprecated 'faction' -> 'warfare'. This selection will be removed on 1st of January 2027 by torn developers.
They have been split into: faction / warfarechains, warfareraids, warfareranked, warfareterritory, dirtybombs, all which have been implemented to TornAPIWrapper. /faction/warefare has been removed from TornAPIWrapper.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 13 Aug 2026, 07:48 TCT
Updated to patch 12/08/26:
Search for Torn players using usernames or specific filters e.g. married.
Get details of all companies using the /torn/companies endpoint.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 6 Aug 2026, 23:54 TCT
Updated to patch 06/08/26:
Get the public points market listings.
Get your networth.
Get your current perks.
Removed columns from the get_snapshot endpoint.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 29 Jul 2026, 22:18 TCT · 1 like
Hello everyone, I would like to thank you for a big 20,000 downloads of TornAPIWrapper on PyPi . What's new (Updated to patch 27/07/26):
Get daily active players snapshot in CSV format.
Get a list of all museum sets.
Thank you for your support,
AfricanChild
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 20 Jul 2026, 08:36 TCT
Updated to patch 16.07.2026.
What's new:
Get daily factions snapshot in CSV format.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 3 Jun 2026, 00:31 TCT
There are API wrappers for Torn in other languages, but as far as I am aware, I don't believe there are any in R.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 2 Jun 2026, 03:57 TCT
Updated to patch 01.06.2026.
What's new:
Search companies by name or other criteria.
Get your daily company snapshot in CSV format.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 22 May 2026, 05:17 TCT
Updated to patch 21.05.2026.
What's new:
Access your company's news details.
Access a list of companies for a specific company type.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 8 May 2026, 22:09 TCT · 1 like
Updated to patch 08.05.2026.
What's new:
Get your information about available item mods.
Note from Torn Developer: This endpoint will become available likely on Monday, May 11th 2026.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 30 Apr 2026, 23:06 TCT
Updated to patch 30.04.2026.
What's new:
Get your company profile details.
Get your company employees details.
Get your company stock details.
Get your company applications details.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 20 Apr 2026, 23:59 TCT
Updated to patch 20.04.2026.
What's new:
Get your casino streak & tokens details.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 17 Apr 2026, 03:01 TCT
Updated to patch 15.04.2026.
What's new:
Get your inventory details.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 6 Apr 2026, 03:42 TCT
Updated params/description from Torn API (Swagger) update.
What's new:
Added param limit to faction.py crimes endpoint.
Updated the description for reports endpoint in faction.py and user.py
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 13 Mar 2026, 04:20 TCT
Updated to patch 10.03.2026.
What's new:
Access all your ongoing or finished trades.
Access all your specific trade details.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 26 Feb 2026, 04:31 TCT · 2 likes
Updated to patch 23.02.2026.
What's new:
Access All Torn stocks.
Access Torn specific stocks with chart history.
Access User stocks.
[TornAPI v2] Python Torn API Wrapper (Async/Sync) · 21 Feb 2026, 02:13 TCT
Updated to patch 19.02.2026.
What's new:
[API-v2] Added new selection 'user ' -> 'organizedcrimes ' (Minimal access key). This selection only shows organized crimes with Recruiting status, and only contains empty slots.
Torn Genie [PAUSED] · 15 Feb 2026, 02:06 TCT
I wish i can get a really fast car to race.