curl --request POST \
--url https://api.skinshark.gg/market/sell \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"items": [
{
"price": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assetid": "<string>"
}
],
"tradeUrl": "<string>",
"externalId": "<string>"
}
'import requests
url = "https://api.skinshark.gg/market/sell"
payload = {
"items": [
{
"price": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assetid": "<string>"
}
],
"tradeUrl": "<string>",
"externalId": "<string>"
}
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
items: [
{
price: '<string>',
id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
assetid: '<string>'
}
],
tradeUrl: '<string>',
externalId: '<string>'
})
};
fetch('https://api.skinshark.gg/market/sell', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.skinshark.gg/market/sell",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'items' => [
[
'price' => '<string>',
'id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'assetid' => '<string>'
]
],
'tradeUrl' => '<string>',
'externalId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.skinshark.gg/market/sell"
payload := strings.NewReader("{\n \"items\": [\n {\n \"price\": \"<string>\",\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assetid\": \"<string>\"\n }\n ],\n \"tradeUrl\": \"<string>\",\n \"externalId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.skinshark.gg/market/sell")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"items\": [\n {\n \"price\": \"<string>\",\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assetid\": \"<string>\"\n }\n ],\n \"tradeUrl\": \"<string>\",\n \"externalId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.skinshark.gg/market/sell")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"items\": [\n {\n \"price\": \"<string>\",\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assetid\": \"<string>\"\n }\n ],\n \"tradeUrl\": \"<string>\",\n \"externalId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"requestId": "<string>",
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "initiated",
"itemCount": 123,
"totalPrice": 123,
"currency": "USD",
"createdAt": "<string>"
},
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}Sell items
Auth context: sub-user — On-Behalf-Of required. Rate limit: expensive.
Sell one or more inventory items to a SkinShark bot. Each items[] references
an item by id (from /market/sell/inventory) or raw assetid — exactly one —
plus the exact price you were quoted (cent-exact lock; a stale quote fails with
PRICE_MISMATCH).
No money moves at creation. The API picks a bot and sends the user a receive-only
Steam trade offer; the Trade returns immediately with status initiated. The user
must accept the Steam offer, after which status flows active → hold → completed.
Payout is a single credit from house treasury, applied at hold if the merchant’s
instant-credit setting is on, otherwise at completed. A reverted trade is absorbed
by SkinShark — never clawed back from the user. Sells always target the user’s own
saved trade URL. Subscribe to trade.* WS events for status updates.
Common error keys: STEAM_ACCOUNT_REQUIRED (1417), USER_NOT_TRADEABLE (2101),
INVENTORY_PRIVATE (2102), ESCROW_NOT_ALLOWED (2105), NO_OFFER_FOUND (2107),
ITEMS_NOT_ACCEPTED (2108), PRICE_MISMATCH (2020), DUPLICATE_LISTING_ID (2023),
NO_BOTS_AVAILABLE (2100), PRICING_UNAVAILABLE (2109), TRADE_LIMIT_EXCEEDED.
curl --request POST \
--url https://api.skinshark.gg/market/sell \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"items": [
{
"price": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assetid": "<string>"
}
],
"tradeUrl": "<string>",
"externalId": "<string>"
}
'import requests
url = "https://api.skinshark.gg/market/sell"
payload = {
"items": [
{
"price": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assetid": "<string>"
}
],
"tradeUrl": "<string>",
"externalId": "<string>"
}
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
items: [
{
price: '<string>',
id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
assetid: '<string>'
}
],
tradeUrl: '<string>',
externalId: '<string>'
})
};
fetch('https://api.skinshark.gg/market/sell', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.skinshark.gg/market/sell",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'items' => [
[
'price' => '<string>',
'id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'assetid' => '<string>'
]
],
'tradeUrl' => '<string>',
'externalId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.skinshark.gg/market/sell"
payload := strings.NewReader("{\n \"items\": [\n {\n \"price\": \"<string>\",\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assetid\": \"<string>\"\n }\n ],\n \"tradeUrl\": \"<string>\",\n \"externalId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.skinshark.gg/market/sell")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"items\": [\n {\n \"price\": \"<string>\",\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assetid\": \"<string>\"\n }\n ],\n \"tradeUrl\": \"<string>\",\n \"externalId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.skinshark.gg/market/sell")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"items\": [\n {\n \"price\": \"<string>\",\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"assetid\": \"<string>\"\n }\n ],\n \"tradeUrl\": \"<string>\",\n \"externalId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"requestId": "<string>",
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "initiated",
"itemCount": 123,
"totalPrice": 123,
"currency": "USD",
"createdAt": "<string>"
},
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}{
"requestId": "<string>",
"success": true,
"data": "<unknown>",
"error": {
"code": 1500,
"key": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance"
}
}Authorizations
Your raw API key. Generate, rotate, and revoke keys from the merchant
dashboard. Keys can optionally be bound to one or more allowed source
IPs — requests from any other IP are rejected with API_KEY_IP_DENIED.
Headers
Sub-user UUID or the merchant's externalId for that sub-user.
Required for sub-user-context routes; rejected (via requireMerchant)
on merchant-context routes.
1 - 128Body
1 - 100 elementsShow child attributes
Show child attributes
Optional. Must belong to the same Steam account linked to the user (validated against their
steamId) — it can only re-point to the user's own trade URL, never redirect payout items
elsewhere. Omit to use the user's saved trade URL. Rejected with TRADEURL_STEAM_MISMATCH
on mismatch.
Your own correlation id, echoed back on the Trade. Idempotent per user.
128