Suggest items

GET/v1/market/suggestions

Up to 8 cards for a search box, one for each skin, so one rifle's exteriors don't fill the list.

Request

Query parameters

  • qstring

    Words of the skin's name.

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

Answer 200

A list of objects with these fields.

  • 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.

[
  {
    "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
  }
]

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