Go Pro! Pro is now free and gives you unlimited Bot Trading, access to Good Deals and more.

Developer API

We offer an API to get an up to date TF2 schema API in the old GetSchema format in both json and vdf as well as access to the now defunct spreadsheet data.

Warning You need to login first before you can request an API key.

Querying the API

https://www.trade.tf/api/schema_440.json?key=your_api_key_goes_here
https://www.trade.tf/api/schema_440.vdf?key=your_api_key_goes_here
https://www.trade.tf/api/spreadsheet.json?key=your_api_key_goes_here

JSON encoding

Heads Up! For the spreadsheet API, defindex, quality are from Steam GetSchema WebAPI

Format

last_modifed
This field represents the number of seconds ago the spreadsheet was updated.
units
This field represents the value of the units. There are 3 units:
items
Each item and quality can be normal or applied (applied is for paints and strange parts) or both, following that each items have 5 fields:

Qualities

Uncraftable has special quality number -1, other qualities are the same as steam qualities (e.g. Unique=6, Genuine=1, etc...)

Crates

For crates the item_id is represented by 10000*crate_defindex + crate_numer. for example crate #40 id is 50680040.

Sample API response

    {
        "last_modified": 1018,      // updated 1018 seconds ago
        "units": {
            "b": 23.0,              // bud = 23 keys
            "k": 5.444,             // key = 5.444 refined
            "r": 1                  // refined = refined
        }
        "items": {
            "56400061": {           // Crate 61, defindex 5640, Unique, regular
                "6": {
                    "regular": {
                        "hi": 0.667,
                        "low": 0.333,
                        "mid": 0.5,
                        "unit": "r", // Value expressed in refined
                        "unsure": false
                    }
                }
            }
            "5027": {               // Indubitably Green, defindex 5027
                "6": {              // Unique
                    "applied": {    // Bonus value when the paint is applied on an item
                        "hi": 0.556,
                        "low": 0.333,
                        "mid": 0.389,
                        "unit": "r",
                        "unsure": false
                    },
                    "regular": {    // Value of the paint
                        "hi": 1.889,
                        "low": 1.778,
                        "mid": 1.778,
                        "unit": "r",
                        "unsure": false
                    }
                }
            },
            "35": {                 // Kritzkrieg, defindex 35
                "-1": {             // Uncraftable
                    "regular": {
                        "hi": 0.056,
                        "low": 0.056,
                        "mid": 0.056,
                        "unit": "r",
                        "unsure": false
                    }
                },
                "3": {              // Vintage
                    "regular": {
                        "hi": 0.556,
                        "low": 0.556,
                        "mid": 0.556,
                        "unit": "r",
                        "unsure": false
                    }
                },
                "6": {               // Unique
                    "regular": {
                        "hi": 0.056,
                        "low": 0.056,
                        "mid": 0.056,
                        "unit": "r",
                        "unsure": false
                    }
                },
                "11": {              // Strange
                    "regular": {
                        "hi": 33.8,
                        "low": 33.4,
                        "mid": 33.6,
                        "unit": "k", // Value expressed in keys
                        "unsure": false
                    }
                }
            }
            ...
    }