Appearance
Search Items
GET /api/v1/merchant/purchase/search
Returns purchase prices for specific item names.
Request
Headers
| Header | Required | Description |
|---|---|---|
X-Api-Key | ✅ | Your merchant API key |
Accept | — | application/json |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
game | string | ✅ | Game code: csgo, rust, dota2, tf2 |
names | string[] | ✅ | Item names to search (names=Item1&names=Item2) |
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/..."
}
]
}
}Response Fields
| Field | Type | Description |
|---|---|---|
game | string | Game code |
total | integer | Number of matching items |
items | array | List of matching items with prices |
items[].id | string | Asset ID — use this in Create Purchase |
items[].name | string | Item market name |
items[].price | number | Purchase price (USD) |
items[].image_url | string | Steam CDN image URL |
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"WARNING
Prices and availability are point-in-time and may change between lookup and purchase creation. Items are re-priced at purchase time.
Errors
| Status | Message | Cause |
|---|---|---|
400 | invalid game code | Invalid or missing game parameter |
400 | validation error | Missing or invalid fields |
401 | missing authorization header | X-Api-Key header not provided |
401 | invalid API key | API key not found or inactive |
403 | merchant account is disabled | Merchant account deactivated |
403 | invalid IP: <ip> | Request IP not in whitelist |
503 | internal error | Pricing service temporarily unavailable — retry |
