Get active liquidity rewards
curl --request GET \
--url https://relay.bayse.markets/v1/pm/liquidity-rewards/activeimport requests
url = "https://relay.bayse.markets/v1/pm/liquidity-rewards/active"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://relay.bayse.markets/v1/pm/liquidity-rewards/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/liquidity-rewards/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/liquidity-rewards/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/liquidity-rewards/active")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay.bayse.markets/v1/pm/liquidity-rewards/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",
"accumulatedShares": 842.10,
"sampleCount": 5,
"estimatedPayout": 3.50,
"epochStart": "2026-03-22T00:00:00Z",
"epochEnd": "2026-03-23T00:00:00Z"
}
]
}
Market makers
Get active liquidity rewards
Get the authenticated user’s in-progress reward accumulation across active epochs
GET
/
v1
/
pm
/
liquidity-rewards
/
active
Get active liquidity rewards
curl --request GET \
--url https://relay.bayse.markets/v1/pm/liquidity-rewards/activeimport requests
url = "https://relay.bayse.markets/v1/pm/liquidity-rewards/active"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://relay.bayse.markets/v1/pm/liquidity-rewards/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/liquidity-rewards/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/liquidity-rewards/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/liquidity-rewards/active")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay.bayse.markets/v1/pm/liquidity-rewards/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",
"accumulatedShares": 842.10,
"sampleCount": 5,
"estimatedPayout": 3.50,
"epochStart": "2026-03-22T00:00:00Z",
"epochEnd": "2026-03-23T00:00:00Z"
}
]
}
Authentication
Requires API key authentication with read scope.Example request
curl "https://relay.bayse.markets/v1/pm/liquidity-rewards/active" \
-H "X-Public-Key: pk_live_abcdef123456"
const response = await fetch(
'https://relay.bayse.markets/v1/pm/liquidity-rewards/active',
{ headers: { 'X-Public-Key': 'pk_live_abcdef123456' } }
);
const data = await response.json();
import requests
resp = requests.get(
'https://relay.bayse.markets/v1/pm/liquidity-rewards/active',
headers={'X-Public-Key': 'pk_live_abcdef123456'},
)
data = resp.json()
req, _ := http.NewRequest("GET", "https://relay.bayse.markets/v1/pm/liquidity-rewards/active", nil)
req.Header.Set("X-Public-Key", "pk_live_abcdef123456")
resp, _ := http.DefaultClient.Do(req)
Response
List of active reward accumulations (one per active epoch the user participates in).
Show active reward fields
Show active reward fields
UUID of the reward epoch.
UUID of the event.
UUID of the market.
Liquidity shares accumulated so far in this epoch.
Number of sampling intervals the user has qualified for so far.
Estimated USD payout based on current accumulated shares and reward pool.
ISO 8601 timestamp when the epoch started.
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",
"accumulatedShares": 842.10,
"sampleCount": 5,
"estimatedPayout": 3.50,
"epochStart": "2026-03-22T00:00:00Z",
"epochEnd": "2026-03-23T00:00:00Z"
}
]
}
⌘I