List earning pools
curl --request GET \
--url https://api-mainnet.xo.market/api/liquidity-rewards/earning-pools \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-mainnet.xo.market/api/liquidity-rewards/earning-pools"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-mainnet.xo.market/api/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/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",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/liquidity-rewards/earning-pools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/liquidity-rewards/earning-pools")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-mainnet.xo.market/api/liquidity-rewards/earning-pools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
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 (authenticated)
List earning pools
Requires Authorization: Bearer <privy_access_token>.
Earnings-page market list with CP + USDC programme config, APR hints, and XO market metadata. Same catalogue as the public earning-pools route, with optional sort.
GET
/
liquidity-rewards
/
earning-pools
List earning pools
curl --request GET \
--url https://api-mainnet.xo.market/api/liquidity-rewards/earning-pools \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-mainnet.xo.market/api/liquidity-rewards/earning-pools"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-mainnet.xo.market/api/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/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",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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/liquidity-rewards/earning-pools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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/liquidity-rewards/earning-pools")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-mainnet.xo.market/api/liquidity-rewards/earning-pools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
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
}
}Authorizations
Privy access token. Required on /liquidity-rewards/*.
Send Authorization: Bearer <privy_access_token>.
Not used on /public/liquidity-rewards/*.
Query Parameters
apr uses estimated APR (highest first; markets without a
rate last).
Available options:
pool, market_id, apr