cURL
curl --request GET \
--url https://api.example.com/dev/info \
--header 'x-dev-auth: <x-dev-auth>'import requests
url = "https://api.example.com/dev/info"
headers = {"x-dev-auth": "<x-dev-auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-dev-auth': '<x-dev-auth>'}};
fetch('https://api.example.com/dev/info', 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.example.com/dev/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-dev-auth: <x-dev-auth>"
],
]);
$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://api.example.com/dev/info"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-dev-auth", "<x-dev-auth>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/dev/info")
.header("x-dev-auth", "<x-dev-auth>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/dev/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-dev-auth"] = '<x-dev-auth>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"grossFeeBps": "<string>",
"grossBaseFeeUusdc": "<string>",
"bisonFeeCutBps": "<string>",
"payoutChain": "<string>",
"signerAddress": "<string>",
"createdAt": "<string>"
}{
"error": "<string>"
}Developer
Get Dev Account Info
GET
/
dev
/
info
cURL
curl --request GET \
--url https://api.example.com/dev/info \
--header 'x-dev-auth: <x-dev-auth>'import requests
url = "https://api.example.com/dev/info"
headers = {"x-dev-auth": "<x-dev-auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-dev-auth': '<x-dev-auth>'}};
fetch('https://api.example.com/dev/info', 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.example.com/dev/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-dev-auth: <x-dev-auth>"
],
]);
$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://api.example.com/dev/info"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-dev-auth", "<x-dev-auth>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/dev/info")
.header("x-dev-auth", "<x-dev-auth>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/dev/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-dev-auth"] = '<x-dev-auth>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"grossFeeBps": "<string>",
"grossBaseFeeUusdc": "<string>",
"bisonFeeCutBps": "<string>",
"payoutChain": "<string>",
"signerAddress": "<string>",
"createdAt": "<string>"
}{
"error": "<string>"
}Retrieve your dev account configuration and settings.
The signature must be an EIP-712 typed data signature with:
Authentication
This endpoint requires EIP-712 signature-based authentication via theX-Dev-Auth header.
string
required
JSON-encoded authentication payload containing the signed message.
X-Dev-Auth Format
{
"devAccountId": "your-dev-account-id",
"action": "<action>",
"expiry": 1734567890,
"signature": "0x..."
}
- Domain:
{ name: "BisonDevAuth", version: "1" } - Primary Type:
DevAccountAuth - Message Fields:
devAccountId(string): Your dev account identifieraction(string): The action being performed (see endpoint docs)expiry(uint256): Unix timestamp when signature expires (max 5 minutes in future)
signerAddress.
The action field must be "info" for this endpoint.
Response Fields
- grossFeeBps: Your fee rate in basis points (100 = 1%). Applied to the notional value of each trade.
- grossBaseFeeUusdc: Flat fee per trade in µUSDC, added on top of the percentage fee.
- bisonFeeCutBps: Bison’s share of your gross fees in basis points. The remainder goes to you.
Headers
JSON-encoded auth payload: { devAccountId, action, expiry, signature }. Signature is EIP-712 typed data signed by the dev account signer.
Example:
"{\"devAccountId\":\"my-dev-account\",\"action\":\"info\",\"expiry\":1734567890,\"signature\":\"0x...\"}"
Response
Dev account information
Dev account ID
Dev account name
Dev account email
Gross fee in basis points (100 = 1%)
Gross base fee per trade in µUSDC
Bison fee cut in basis points (100 = 1% of gross fee)
Chain for fee payouts
Address receiving fee payouts
Account creation timestamp (ISO 8601)