New filters on the Home Feed, take a look!
view details

This post has been de-listed (Author was flagged for spam)

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

7
I've been playing around with the API. How do you find the item number of an item?
Post Body

The title says it all. Was just playing around with the API and wanted to throw some commands at it, and it needs the item number. The problem is I have no idea where to locate it.

Comments
[not loaded or deleted]

Just figured out you can also call a list from the API. https://api.torn.com/torn/?selections=items&key=\*Yourkey\*

Do you know of a way to find the ID of a specific item in your inventory?

Thank you! This was exactly what I was looking for.

[not loaded or deleted]

The item ID for a hammer is 1 place your API key into the link below, and it will pull the prices of all the hammers on the item market.

https://api.torn.com/market/1?selections=itemmarket&key=\*YourApiKey\*

[not loaded or deleted]

https://api.torn.com/market/*ItemID\?selections=itemmarket&key=\MyAPIKEY*

That will call back the current prices of all of a type of item listed on the market. The issue is I cant find an index of all the item ID's.

[not loaded or deleted]

It uses an item ID when it calls the market. the id is a number. I misspoke.

Author
Account Strength
0%
Account Age
9 years
Verified Email
Yes
Verified Flair
No
Total Karma
158,283
Link Karma
22,708
Comment Karma
135,439
Profile updated: 13 hours ago
Posts updated: 13 hours ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago