Skip to content

Available Items

GET /api/v1/merchant/purchase/available

Returns available items with purchase prices for a given game.

Request

Headers

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

Query Parameters

ParameterTypeRequiredDescription
gamestringGame code: csgo, rust, dota2, tf2
fullbooleanWhen true, returns individual items with full details. Default (omitted or false) returns items grouped by name
extendedbooleanWhen true, includes class_id, instance_id, float, inspect_url, phase fields in each item (full format only)

Response

Grouped format (default)

json
{
  "success": true,
  "message": "Successfully retrieved purchase prices",
  "data": {
    "game": "csgo",
    "total": 542,
    "items": [
      {
        "name": "AK-47 | Redline",
        "count": 3,
        "price": 11.20,
        "game": "csgo",
        "image_url": "https://steamcommunity-a.akamaihd.net/economy/image/class/730/..."
      }
    ]
  }
}

Full format (full=true)

json
{
  "success": true,
  "message": "Successfully retrieved purchase prices",
  "data": {
    "game": "csgo",
    "total": 1847,
    "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 (grouped)

FieldTypeDescription
gamestringGame code
totalintegerNumber of unique item names
itemsarrayList of items grouped by name
items[].namestringItem name
items[].countintegerNumber of items available with this name
items[].pricenumberMinimum price among items with this name (USD)
items[].gamestringGame code
items[].image_urlstringSteam CDN image URL

Response Fields (full)

FieldTypeDescription
gamestringGame code
totalintegerTotal number of available items
itemsarrayList of available items with prices
items[].idstringID — use this in Create Purchase
items[].namestringItem market name
items[].pricenumberPurchase price (USD)
items[].image_urlstringSteam CDN image URL
items[].exteriorstring | nullItem exterior condition (e.g. "Field-Tested", "Minimal Wear"). 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 (e.g. "Ruby", "Sapphire"). Only present when extended=true

Example

Get all available CS2 items

bash
curl "https://api.skinslink.com/api/v1/merchant/purchase/available?game=csgo" \
  -H "X-Api-Key: your-api-key" \
  -H "Accept: application/json"

Get full item details

bash
curl "https://api.skinslink.com/api/v1/merchant/purchase/available?game=csgo&full=true" \
  -H "X-Api-Key: your-api-key" \
  -H "Accept: application/json"

Get full item details with extended info (float, class_id, etc.)

bash
curl "https://api.skinslink.com/api/v1/merchant/purchase/available?game=csgo&full=true&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