Get active maker rebates
curl --request GET \
--url https://relay.bayse.markets/v1/pm/maker-rebates/activeimport requests
url = "https://relay.bayse.markets/v1/pm/maker-rebates/active"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://relay.bayse.markets/v1/pm/maker-rebates/active', 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://relay.bayse.markets/v1/pm/maker-rebates/active",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://relay.bayse.markets/v1/pm/maker-rebates/active"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://relay.bayse.markets/v1/pm/maker-rebates/active")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay.bayse.markets/v1/pm/maker-rebates/active")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"epochId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"eventId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"marketId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"makerVolume": 2150.00,
"tradeCount": 18,
"rebateAmount": 5.40,
"epochStart": "2026-04-15T00:00:00Z",
"epochEnd": "2026-04-16T00:00:00Z"
}
]
}
Market makers
Get active maker rebates
Get the authenticated user’s in-progress maker rebate accumulation across active epochs
GET
/
v1
/
pm
/
maker-rebates
/
active
Get active maker rebates
curl --request GET \
--url https://relay.bayse.markets/v1/pm/maker-rebates/activeimport requests
url = "https://relay.bayse.markets/v1/pm/maker-rebates/active"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://relay.bayse.markets/v1/pm/maker-rebates/active', 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://relay.bayse.markets/v1/pm/maker-rebates/active",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://relay.bayse.markets/v1/pm/maker-rebates/active"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://relay.bayse.markets/v1/pm/maker-rebates/active")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay.bayse.markets/v1/pm/maker-rebates/active")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"epochId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"eventId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"marketId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"makerVolume": 2150.00,
"tradeCount": 18,
"rebateAmount": 5.40,
"epochStart": "2026-04-15T00:00:00Z",
"epochEnd": "2026-04-16T00:00:00Z"
}
]
}
Authentication
Requires API key authentication with read scope.Example request
curl "https://relay.bayse.markets/v1/pm/maker-rebates/active" \
-H "X-Public-Key: pk_live_abcdef123456"
const response = await fetch(
'https://relay.bayse.markets/v1/pm/maker-rebates/active',
{ headers: { 'X-Public-Key': 'pk_live_abcdef123456' } }
);
const data = await response.json();
import requests
resp = requests.get(
'https://relay.bayse.markets/v1/pm/maker-rebates/active',
headers={'X-Public-Key': 'pk_live_abcdef123456'},
)
data = resp.json()
req, _ := http.NewRequest("GET", "https://relay.bayse.markets/v1/pm/maker-rebates/active", nil)
req.Header.Set("X-Public-Key", "pk_live_abcdef123456")
resp, _ := http.DefaultClient.Do(req)
Response
array
List of active rebate accumulations (one per active epoch the user has maker volume in).
Show active rebate fields
Show active rebate fields
string
UUID of the rebate epoch.
string
UUID of the event.
string
UUID of the market.
number
Your maker volume so far in this epoch.
integer
Number of trades where your resting orders were filled so far.
number
Estimated USD rebate based on current maker volume share and rebate pool.
string
ISO 8601 timestamp when the epoch started.
string
ISO 8601 timestamp when the epoch ends.
{
"data": [
{
"epochId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"eventId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"marketId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"makerVolume": 2150.00,
"tradeCount": 18,
"rebateAmount": 5.40,
"epochStart": "2026-04-15T00:00:00Z",
"epochEnd": "2026-04-16T00:00:00Z"
}
]
}
⌘I