Jump to content

Need help with backpacktf API


CRD716

Recommended Posts

I am trying to use the backpack.tf api to get prices, but I can't figure out how to read the price output.

"prices": {
          "5": {
            "Tradable": {
              "Craftable": {
                "6": {
                  "value": 21,
                  "currency": "keys",
                  "difference": -160.82499999999993,
                  "last_update": 1530043125
                },
                "7": {
                  "value": 38,
                  "currency": "keys",
                  "difference": -514.5746153846153,
                  "last_update": 1525039219
                },
                "8": {
                  "value": 75,
                  "currency": "keys",
                  "difference": -194.125,
                  "last_update": 1538645704
                },
                "9": {
                  "value": 54,
                  "currency": "keys",
                  "difference": -504.7249999999999,
                  "last_update": 1538167644,
                  "value_high": 55
                },
                "10": {
                  "value": 56,
                  "currency": "keys",
                  "difference": -651.96,
                  "last_update": 1583188693
                },

I've only figured out that

"prices": {
          "5": {

means unusual.

but what would 1,2,3,4... etc be? Is there a list I am unaware of? Does TradeOfferManager have some way to match items in a trade offer with this .json? Please help!

here is an item price with no data inside
 

"Noble Amassment of Hats": {
        "defindex": [
          137
        ],
        "prices": {
          "3": {
          },
          "5": {
		  }
          "6": {
          },
          "11": {
          },
          "14": {
           }
        }
      },

 

Link to comment
Share on other sites

0 is normal

1 is genuine

3 is vintage

5 is unusual

6 is unique

9 is self made

11 is strange

13 is haunted

14 is collectors

15 is weapon skins

 

they're just using the item types...

 

I dunno what the missing ones are, but I'm guessing they're either some really weird/rare stuff, untradeables or just unused

Link to comment
Share on other sites

1 hour ago, LaughingLollipop said:

I dunno what the missing ones are, but I'm guessing they're either some really weird/rare stuff, untradeables or just unused

https://wiki.teamfortress.com/wiki/Item_quality#Unused_content

Community, Valve, "Rarity2", "Rarity3", and "Completed"

Of these, you might get a random community very rarely, extremely unlikely you will ever get a valve, and you will never get the other 3 because they are unused.

 

1 hour ago, LaughingLollipop said:

15 is weapon skins

Specifically "decorated" quality.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...