Get fee configuration
curl --request POST \
--url https://api.wallbit.io/api/public/v1/fees \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"type": "TRADE"
}
'import requests
url = "https://api.wallbit.io/api/public/v1/fees"
payload = { "type": "TRADE" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({type: 'TRADE'})
};
fetch('https://api.wallbit.io/api/public/v1/fees', 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.wallbit.io/api/public/v1/fees",
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([
'type' => 'TRADE'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-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.wallbit.io/api/public/v1/fees"
payload := strings.NewReader("{\n \"type\": \"TRADE\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-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.wallbit.io/api/public/v1/fees")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"TRADE\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wallbit.io/api/public/v1/fees")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"TRADE\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"fee_type": "TRADE",
"tier": "LEVEL1",
"percentage_fee": "0.5",
"fixed_fee_usd": "0.00"
}
}Fees
Get Fee Configuration
Returns the fee setting row for the requested fee type and the authenticated user’s current investment subscription tier (or the default tier when no subscription applies). Requires the read permission on the API key. Response is wrapped in data like other public API resources; when no matching configuration exists, data is an empty array.
POST
/
api
/
public
/
v1
/
fees
Get fee configuration
curl --request POST \
--url https://api.wallbit.io/api/public/v1/fees \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"type": "TRADE"
}
'import requests
url = "https://api.wallbit.io/api/public/v1/fees"
payload = { "type": "TRADE" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({type: 'TRADE'})
};
fetch('https://api.wallbit.io/api/public/v1/fees', 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.wallbit.io/api/public/v1/fees",
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([
'type' => 'TRADE'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-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.wallbit.io/api/public/v1/fees"
payload := strings.NewReader("{\n \"type\": \"TRADE\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-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.wallbit.io/api/public/v1/fees")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"TRADE\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wallbit.io/api/public/v1/fees")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"TRADE\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"fee_type": "TRADE",
"tier": "LEVEL1",
"percentage_fee": "0.5",
"fixed_fee_usd": "0.00"
}
}Authorizations
API Key authentication. Obtain your API key from the Wallbit dashboard under Settings → API Keys.
Body
application/json
Fee category to resolve. Currently only stock trading (TRADE) is supported.
Available options:
TRADE Response
Fee configuration found, or no row for the user's tier (empty data array)
Persisted fee configuration for a fee type and subscription tier (subset exposed by the public API)
Show child attributes
Show child attributes

