Skip to content
TORNLIFE More

Upcoming API changes

Started by splent [2088243] Admin on in API Development.

380 replies · 11.9k views · thread synced · 5 days ago · View on torn.com

Posts archived: 381 / 381 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

splent [2088243] Admin Staff

Hey everyone, 


A few smaller changes were done to the API in the last few days (including today):

 

Deprecation warning reminders!

The 'user' -> 'attacks' & 'faction' -> 'attacks' selections will be returning null instead of 0 value for 'chain' field, starting January 1st, 2027. The Swagger schema was updated to allow for 'null' values already.

 

[API-v2] The 'faction' -> 'warfare' is now deprecated. It is replaced by other warfare selections and will be removed on 1st of January 2027.

 

[API-v2] The 'torn' -> 'itemdetails' selection will stop returning TornItemDetails schema response on January 1st, 2027. Instead, it will return an array of  TornItemDetails schemas.

 

As always, let me know if you experience any issues with the API anywhere. 

 

 

--


The Swagger schema is now bumped to the version 6.13.5 (if you're not seeing changes make sure to hard-refresh the openapi.json file).

Please let me know if you encountered any bugs by creating a new thread in the Bugs & Issues forum.

 

If you would like to have something improved or just share your thoughts, please write so in this discussion thread, otherwise feel free to try this in the API v2 playground.

 

Mentions: [API] Eliminations Endpoint Closed · [API] HTML leaking into user/messages subject for Elims newsletters · Api Faction/inventory not inc in full access key · API Suggestions, improvements & discussion · OpenAPI Schema: 'description' missing for /user/{tradeId}/trade · Torn analysis - OpenAPI 6.31.1