Instant Sell
GET /v1/sell/status: Is Instant Sell Enabled for My Key?
Check whether Instant Sell is enabled for your key, and read its limits, before you integrate.
GET
/
sell
/
status
Instant Sell status
curl --request GET \
--url https://csboard.com/v1/sell/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://csboard.com/v1/sell/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://csboard.com/v1/sell/status', 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://csboard.com/v1/sell/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://csboard.com/v1/sell/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://csboard.com/v1/sell/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://csboard.com/v1/sell/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"enabled": true,
"access": "invite_only",
"selling_enabled_for_key": false,
"margin": null,
"min_item_usd": 1,
"max_items_per_order": 250,
"max_active_orders": 100000,
"hold_days_estimate": 8
}{
"code": "missing_api_key",
"detail": "Provide your API key via `Authorization: Bearer csb_pub_…`. Generate one at https://csboard.com/profile?tab=api"
}Feature discovery for Instant Sell. Works for every key, whether or not selling is enabled on it.
Authentication required. Send your key as
Authorization: Bearer csb_pub_....
Response fields
boolean
required
false while Instant Sell is switched off for everyone.string
required
Always
"invite_only".boolean
required
Whether this key may quote and sell. Ask support to enable it.
null
required
Not disclosed. Quotes are already the amount you are credited.
number
required
integer
required
integer
required
integer
required
Rough days from acceptance to credit for CS2. Dota 2 and Rust differ, see when the money arrives.
Example request
curl https://csboard.com/v1/sell/status \
-H "Authorization: Bearer csb_pub_..."
Example response
{
"enabled": true,
"access": "invite_only",
"selling_enabled_for_key": true,
"margin": null,
"min_item_usd": 1,
"max_items_per_order": 250,
"max_active_orders": 100000,
"hold_days_estimate": 8
}
Authorizations
Send your key as a Bearer token on every request: Authorization: Bearer csb_pub_.... Generate keys in your CSBoard profile.
Response
Status.
⌘I
Instant Sell status
curl --request GET \
--url https://csboard.com/v1/sell/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://csboard.com/v1/sell/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://csboard.com/v1/sell/status', 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://csboard.com/v1/sell/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://csboard.com/v1/sell/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://csboard.com/v1/sell/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://csboard.com/v1/sell/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"enabled": true,
"access": "invite_only",
"selling_enabled_for_key": false,
"margin": null,
"min_item_usd": 1,
"max_items_per_order": 250,
"max_active_orders": 100000,
"hold_days_estimate": 8
}{
"code": "missing_api_key",
"detail": "Provide your API key via `Authorization: Bearer csb_pub_…`. Generate one at https://csboard.com/profile?tab=api"
}