List earning pools (public)
curl --request GET \
--url https://api-mainnet.xo.market/api/public/liquidity-rewards/earning-poolsimport requests
url = "https://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools', 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-mainnet.xo.market/api/public/liquidity-rewards/earning-pools",
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://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools"
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://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools")
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": [
{
"marketId": "<string>",
"market": {
"title": "<string>",
"contractMarketId": "<string>",
"conditionId": "<string>",
"status": "<string>",
"eventId": "<string>",
"eventSlug": "<string>",
"prices": {
"yes": "<string>",
"no": "<string>"
},
"bookSnapshot": {},
"bookSnapshotUpdatedAt": "<string>"
},
"cp": {
"configured": true,
"rewardEnabled": true,
"tierName": "<string>",
"eligible": true,
"currency": "<string>",
"dailyPool": "<string>",
"maxDistanceCents": "<string>",
"minOrderRestSeconds": 123,
"minOrderSizeShares": 123,
"minPayout": "<string>",
"twoSidedBandLow": "<string>",
"twoSidedBandHigh": "<string>",
"singleSidedFactor": "<string>",
"programStartsAtMs": 123,
"programEndsAtMs": 123,
"active": true,
"inactiveReason": "<string>",
"estimatedApr": "<string>",
"estimatedAprUnavailableReason": "<string>",
"currentEpoch": {
"epoch": 123,
"dayOpenMs": 123,
"dayCloseMs": 123,
"currency": "<string>",
"pool": "<string>",
"status": "<string>",
"totalScore": "<string>",
"makerCount": 123,
"allocatedCp": "<string>",
"creditedCp": "<string>"
}
},
"usdc": {
"configured": true,
"eligible": true,
"escrowed": "<string>",
"distributed": "<string>",
"dailyRate": "<string>",
"estimatedApr": "<string>",
"estimatedAprUnavailableReason": "<string>",
"maxDistanceCents": "<string>",
"minOrderRestSeconds": 123,
"minOrderSizeShares": 123,
"minPayout": "<string>",
"twoSidedBandLow": "<string>",
"twoSidedBandHigh": "<string>",
"singleSidedFactor": "<string>",
"maxAvgPrice": "<string>"
}
}
],
"meta": {
"itemCount": 123,
"currentEpoch": 20713,
"dayOpenMs": 123,
"dayCloseMs": 123,
"endsInMs": 123
}
}Liquidity Rewards (public)
List earning pools (public)
Unauthenticated programme catalogue (CP + USDC). Always sorted by daily pool (highest first). No Privy token. Rate-limited at 30 requests / 10 seconds and cached ~30s.
GET
/
public
/
liquidity-rewards
/
earning-pools
List earning pools (public)
curl --request GET \
--url https://api-mainnet.xo.market/api/public/liquidity-rewards/earning-poolsimport requests
url = "https://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools', 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-mainnet.xo.market/api/public/liquidity-rewards/earning-pools",
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://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools"
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://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-mainnet.xo.market/api/public/liquidity-rewards/earning-pools")
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": [
{
"marketId": "<string>",
"market": {
"title": "<string>",
"contractMarketId": "<string>",
"conditionId": "<string>",
"status": "<string>",
"eventId": "<string>",
"eventSlug": "<string>",
"prices": {
"yes": "<string>",
"no": "<string>"
},
"bookSnapshot": {},
"bookSnapshotUpdatedAt": "<string>"
},
"cp": {
"configured": true,
"rewardEnabled": true,
"tierName": "<string>",
"eligible": true,
"currency": "<string>",
"dailyPool": "<string>",
"maxDistanceCents": "<string>",
"minOrderRestSeconds": 123,
"minOrderSizeShares": 123,
"minPayout": "<string>",
"twoSidedBandLow": "<string>",
"twoSidedBandHigh": "<string>",
"singleSidedFactor": "<string>",
"programStartsAtMs": 123,
"programEndsAtMs": 123,
"active": true,
"inactiveReason": "<string>",
"estimatedApr": "<string>",
"estimatedAprUnavailableReason": "<string>",
"currentEpoch": {
"epoch": 123,
"dayOpenMs": 123,
"dayCloseMs": 123,
"currency": "<string>",
"pool": "<string>",
"status": "<string>",
"totalScore": "<string>",
"makerCount": 123,
"allocatedCp": "<string>",
"creditedCp": "<string>"
}
},
"usdc": {
"configured": true,
"eligible": true,
"escrowed": "<string>",
"distributed": "<string>",
"dailyRate": "<string>",
"estimatedApr": "<string>",
"estimatedAprUnavailableReason": "<string>",
"maxDistanceCents": "<string>",
"minOrderRestSeconds": 123,
"minOrderSizeShares": 123,
"minPayout": "<string>",
"twoSidedBandLow": "<string>",
"twoSidedBandHigh": "<string>",
"singleSidedFactor": "<string>",
"maxAvgPrice": "<string>"
}
}
],
"meta": {
"itemCount": 123,
"currentEpoch": 20713,
"dayOpenMs": 123,
"dayCloseMs": 123,
"endsInMs": 123
}
}