Skip to main content
GET
/
v1
/
pm
/
liquidity-rewards
Get liquidity rewards
curl --request GET \
  --url https://relay.bayse.markets/v1/pm/liquidity-rewards
import requests

url = "https://relay.bayse.markets/v1/pm/liquidity-rewards"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://relay.bayse.markets/v1/pm/liquidity-rewards', 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",
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"

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")
.asString();
require 'uri'
require 'net/http'

url = URI("https://relay.bayse.markets/v1/pm/liquidity-rewards")

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": "f4d15ea1-813a-41dd-a84c-e95648974dd6",
      "eventId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "accumulatedShares": 1523.45,
      "sampleCount": 12,
      "payout": 8.25,
      "isPaid": true,
      "epochStart": "2026-03-20T00:00:00Z",
      "epochEnd": "2026-03-21T00:00:00Z",
      "status": "completed"
    }
  ],
  "pagination": {
    "page": 1,
    "size": 20,
    "totalCount": 1,
    "lastPage": 1
  }
}

Authentication

Requires API key authentication with read scope.

Query parameters

page
integer
default:"1"
Page number.
size
integer
default:"20"
Page size (max 100).

Example request

curl "https://relay.bayse.markets/v1/pm/liquidity-rewards?page=1&size=10" \
  -H "X-Public-Key: pk_live_abcdef123456"
const response = await fetch(
  'https://relay.bayse.markets/v1/pm/liquidity-rewards?page=1&size=10',
  { 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',
    params={'page': 1, 'size': 10},
    headers={'X-Public-Key': 'pk_live_abcdef123456'},
)
data = resp.json()
req, _ := http.NewRequest("GET", "https://relay.bayse.markets/v1/pm/liquidity-rewards", nil)
q := req.URL.Query()
q.Add("page", "1")
q.Add("size", "10")
req.URL.RawQuery = q.Encode()
req.Header.Set("X-Public-Key", "pk_live_abcdef123456")
resp, _ := http.DefaultClient.Do(req)

Response

data
array
List of liquidity reward records.
pagination
object
{
  "data": [
    {
      "epochId": "f4d15ea1-813a-41dd-a84c-e95648974dd6",
      "eventId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "accumulatedShares": 1523.45,
      "sampleCount": 12,
      "payout": 8.25,
      "isPaid": true,
      "epochStart": "2026-03-20T00:00:00Z",
      "epochEnd": "2026-03-21T00:00:00Z",
      "status": "completed"
    }
  ],
  "pagination": {
    "page": 1,
    "size": 20,
    "totalCount": 1,
    "lastPage": 1
  }
}