IGetPriceHistory v1 Returns price history for an item

IGetPriceHistory /api/IGetPriceHistory/v1

Input
  • format - The response format. Default: json
  • callback - JSONP only. Used for the function call.
  • key - Your backpack.tf API key.
  • appid - The item's appid. Default: 440 (Team Fortress 2)
  • item - The item - this can be a name or a definition index.
  • quality - The quality - this can be a name or a definition index.
  • tradable - The item's tradability. Use Tradable or 1 to signify that the item should be tradable, or Non-Tradable or 0 to signify that the item should not be tradable. Default: Tradable
  • craftable - The item's craftability. Use Craftable or 1 to signify that the item should be craftable, or Non-Craftable or 0 to signify that the item should not be craftable. Default: Craftable
  • priceindex - The item's priceindex. Refer to the IGetPrices documentation. Default: 0
Output
  • response
    • success - 1 if successful, 0 otherwise.
    • message - if success is 0, this contains the reason for failure.
    • history - an array of price history objects.
      • array element
        • value - the lower value bound.
        • value_high - the upper value bound.
        • currency - the currency string.
        • timestamp - the UNIX timestamp of the price change.