Search the market

GET/v1/market/items

One card for each market_hash_name, with the number of lots and the lowest price. StatTrak and Souvenir are cards of their own. 60 cards to a page.

Request

Query parameters

  • qstring

    Words of the skin's name, in any order. A weapon or an exterior code only narrows them down: dual finds Duality, not every Dual Berettas.

  • categorystring

    knives, gloves, rifles, pistols, smgs, shotguns, machine_guns, charms, agents or other.

  • weaponstring

    A weapon by name, such as AK-47.

  • raritystring

    Rarity in Steam's words, such as Classified.

  • exteriorstring

    FN, MW, FT, WW or BS.

  • qualitystring

    normal, stattrak or souvenir.

  • min_price_centsstring

    Only items whose lowest price is at least this.

  • max_price_centsstring

    Only items whose lowest price is at most this.

  • sortstring

    price or price_desc. Without it, the items with the most lots come first.

  • pagestring

    Which page, from 1.

curl 'https://api.rockvel.store/v1/market/items?q=redline&category=rifles' \
  -H "Authorization: Bearer $ROCKVEL_KEY"

Answer 200

  • itemsobject[]

    The cards of this page.

    Fields of items
    • slugstring

      The item's address on Rockvel.

    • namestring

      The market_hash_name.

    • skinstring

      The name without quality and exterior: what the item's variants share.

    • categorystring

      The market's section.

    • raritystringoptional

      Rarity, such as Classified.

    • exteriorstringoptional

      Exterior as a code: FN, MW, FT, WW or BS.

    • stattrakbooleanoptional

      The card is for StatTrak items.

    • souvenirbooleanoptional

      The card is for Souvenir items.

    • image_urlstring

      The item's picture.

    • lot_countinteger

      How many lots are on sale.

    • min_price_centsintegeroptional

      The lowest price. Left out while nothing is on sale.

  • totalinteger

    How many there are on all pages.

  • page_sizeinteger

    How many fit on one page.

{
  "items": [
    {
      "slug": "ak-47-redline-field-tested",
      "name": "AK-47 | Redline (Field-Tested)",
      "skin": "AK-47 | Redline",
      "category": "rifles",
      "rarity": "Classified",
      "exterior": "FT",
      "image_url": "https://community.akamai.steamstatic.com/economy/image/i0CoZ81Ui0m-9KwlBY1L_18myuGuq1wfhWSaZgMttyVfPaERSR0Wqmu7LAocGIGz3UqlXOLrxM-vMGmW8VNxu5Dx60noTyLwlcK3wiFO0POlPPNSI_-RHGavzOtyufRkASq2lkxx4W-HnNyqJC3FZwYoC5p0Q7FfthW6wdWxPu-371Pdit5HnyXgznQeHYY5wyA",
      "lot_count": 14,
      "min_price_cents": 3180
    }
  ],
  "total": 1,
  "page_size": 60
}

Any route can also answer with the statuses on the Errors page.