Skip to content

Search Items

GET /api/v1/merchant/purchase/search

Returns purchase prices for specific item names.

Request

Headers

HeaderRequiredDescription
X-Api-KeyYour merchant API key
Acceptapplication/json

Query Parameters

ParameterTypeRequiredDescription
gamestringGame code: csgo, rust, dota2, tf2
namesstring[]Item names to search (names=Item1&names=Item2)
extendedbooleanWhen true, includes class_id, instance_id, float, inspect_url, phase fields in each item

Response

Returns items in the same format as Available Items full format (full=true).

json
{
  "success": true,
  "message": "Successfully retrieved purchase prices",
  "data": {
    "game": "csgo",
    "total": 2,
    "items": [
      {
        "id": "38029384123",
        "name": "AK-47 | Redline (Field-Tested)",
        "price": 12.45,
        "image_url": "https://steamcommunity-a.akamaihd.net/economy/image/class/730/...",
        "exterior": "Field-Tested",
        "rarity": "Classified",
        "rarity_color": "#8650AC"
      }
    ]
  }
}

Response Fields

FieldTypeDescription
gamestringGame code
totalintegerNumber of matching items
itemsarrayList of matching items with prices
items[].idstringAsset ID — use this in Create Purchase
items[].namestringItem market name
items[].pricenumberPurchase price (USD)
items[].image_urlstringSteam CDN image URL
items[].exteriorstring | nullItem exterior condition. Omitted if unavailable
items[].raritystring | nullItem rarity name. Omitted if unavailable
items[].rarity_colorstring | nullRarity color hex code. Omitted if unavailable
items[].class_idinteger | nullSteam class ID. Only present when extended=true
items[].instance_idinteger | nullSteam instance ID. Only present when extended=true
items[].floatnumber | nullItem float value. Only present when extended=true
items[].inspect_urlstring | nullSteam inspect link. Only present when extended=true
items[].phasestring | nullItem phase. Only present when extended=true

Example

bash
curl "https://api.skinslink.com/api/v1/merchant/purchase/search?game=csgo&names=AK-47+%7C+Redline+(Field-Tested)&names=AWP+%7C+Asiimov+(Field-Tested)" \
  -H "X-Api-Key: your-api-key" \
  -H "Accept: application/json"

With extended fields

bash
curl "https://api.skinslink.com/api/v1/merchant/purchase/search?game=csgo&names=AK-47+%7C+Redline+(Field-Tested)&extended=true" \
  -H "X-Api-Key: your-api-key" \
  -H "Accept: application/json"

WARNING

Prices and availability are point-in-time and may change between lookup and purchase creation. Items are re-priced at purchase time.

Errors

StatusMessageCause
400invalid game codeInvalid or missing game parameter
400validation errorMissing or invalid fields
401missing authorization headerX-Api-Key header not provided
401invalid API keyAPI key not found or inactive
403merchant account is disabledMerchant account deactivated
403invalid IP: <ip>Request IP not in whitelist
503internal errorPricing service temporarily unavailable — retry