Skip to content
TORNLIFE More

How often is data updated?

Started by TYMinion [557703] on in API Development.

5 replies · 69 views · thread synced · 5 days ago · View on torn.com
About this thread

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

Counted by TornLife from the archived posts.

Archived posts
6
Discussion span
→
People posting
2
Likes on archived posts
4
Authority score
51 / 100
Historical score
17 / 100
Story score
27 / 100
Engagement score
45 / 100

Most-liked replies

TYMinion [557703]

Hiya Everyone,

Is there a list of how often data is updated such as "market_value": 930000, for an item. I believe stocks is every 15 minutes whereas life could be anytime at all, more to those which have fixed timed intervals please.

Best Regards,
Tim
McNeo [864688]

As far as I know everything but stocks is instant.

Market value updates to the API instantly, but I'm not sure the game processes it every second of every day, if that makes sense. So, while the data may be "old" in this regard it will be just as current as what is seen in-game.
TYMinion [557703]

Would you say a good idea might be to fetch the data every minute from the below URL?

https://api.torn.com/torn/?selections=items&key=APP_KEY_HERE
McNeo [864688]

Well depends on what you're trying to do. If you're specifically after the market value that may only update once a day but I'm not sure. You could pick a single item n item and write a script to grab that info every 10 minutes and log whenever it changes - after a day you'd have your answer ;) Otherwise, if someone else has the answer, they may chime in here as well shortly.
TYMinion [557703]

Neither Torn Item Market or the API update the item market value instantly after testing, they appear to be every 5 minutes.

Once again thank you for this advice.