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
qstringWords 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.
slugstringThe item's address on Rockvel.
namestringThe market_hash_name.
skinstringThe name without quality and exterior: what the item's variants share.
categorystringThe market's section.
raritystringoptionalRarity, such as Classified.
exteriorstringoptionalExterior as a code: FN, MW, FT, WW or BS.
stattrakbooleanoptionalThe card is for StatTrak items.
souvenirbooleanoptionalThe card is for Souvenir items.
image_urlstringThe item's picture.
lot_countintegerHow many lots are on sale.
min_price_centsintegeroptionalThe 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.