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

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/..."
      }
    ]
  }
}

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

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"

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