Get Uma Market
curl --request GET \
--url https://api.predexon.com/v2/polymarket/uma/market/{condition_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.predexon.com/v2/polymarket/uma/market/{condition_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.predexon.com/v2/polymarket/uma/market/{condition_id}', 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.predexon.com/v2/polymarket/uma/market/{condition_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.predexon.com/v2/polymarket/uma/market/{condition_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.predexon.com/v2/polymarket/uma/market/{condition_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.predexon.com/v2/polymarket/uma/market/{condition_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"condition_id": "<string>",
"question": {
"id": "<string>",
"adapter": "<string>",
"reward": "<string>",
"proposal_bond": "<string>",
"reward_token": "<string>",
"request_timestamp": 123,
"creator": "<string>",
"created_block": 123,
"created_tx_hash": "<string>",
"condition_id": "<string>",
"market_id": "<string>",
"title": "<string>",
"is_paused": false,
"is_flagged": false,
"resolved_price": "<string>",
"resolved_at": 123,
"paused_at": 123,
"flagged_at": 123,
"last_event_at": 123,
"last_tx_hash": "<string>",
"reset_count": 0
},
"events_pagination": {
"limit": 123,
"count": 123,
"has_more": true,
"pagination_key": "<string>"
},
"events": [
{
"id": "<string>",
"event_type": "<string>",
"source_contract": "<string>",
"block_number": 123,
"block_timestamp": 123,
"log_index": 123,
"tx_hash": "<string>",
"question_id": "<string>",
"game_id": "<string>",
"sports_market_id": "<string>",
"condition_id": "<string>",
"requester": "<string>",
"proposer": "<string>",
"disputer": "<string>",
"proposed_price": "<string>",
"settled_price": "<string>",
"payout": "<string>",
"expiration_time": 123,
"payouts": [
"<string>"
],
"home_score": 123,
"away_score": 123,
"bond_amount": "<string>",
"liveness_amount": 123,
"ancillary_data": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Oracle & Settlement
Get UMA Market
Get current UMA oracle status and event timeline for a market
GET
/
v2
/
polymarket
/
uma
/
market
/
{condition_id}
Get Uma Market
curl --request GET \
--url https://api.predexon.com/v2/polymarket/uma/market/{condition_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.predexon.com/v2/polymarket/uma/market/{condition_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.predexon.com/v2/polymarket/uma/market/{condition_id}', 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.predexon.com/v2/polymarket/uma/market/{condition_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.predexon.com/v2/polymarket/uma/market/{condition_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.predexon.com/v2/polymarket/uma/market/{condition_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.predexon.com/v2/polymarket/uma/market/{condition_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"condition_id": "<string>",
"question": {
"id": "<string>",
"adapter": "<string>",
"reward": "<string>",
"proposal_bond": "<string>",
"reward_token": "<string>",
"request_timestamp": 123,
"creator": "<string>",
"created_block": 123,
"created_tx_hash": "<string>",
"condition_id": "<string>",
"market_id": "<string>",
"title": "<string>",
"is_paused": false,
"is_flagged": false,
"resolved_price": "<string>",
"resolved_at": 123,
"paused_at": 123,
"flagged_at": 123,
"last_event_at": 123,
"last_tx_hash": "<string>",
"reset_count": 0
},
"events_pagination": {
"limit": 123,
"count": 123,
"has_more": true,
"pagination_key": "<string>"
},
"events": [
{
"id": "<string>",
"event_type": "<string>",
"source_contract": "<string>",
"block_number": 123,
"block_timestamp": 123,
"log_index": 123,
"tx_hash": "<string>",
"question_id": "<string>",
"game_id": "<string>",
"sports_market_id": "<string>",
"condition_id": "<string>",
"requester": "<string>",
"proposer": "<string>",
"disputer": "<string>",
"proposed_price": "<string>",
"settled_price": "<string>",
"payout": "<string>",
"expiration_time": 123,
"payouts": [
"<string>"
],
"home_score": 123,
"away_score": 123,
"bond_amount": "<string>",
"liveness_amount": 123,
"ancillary_data": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Returns the current UMA oracle status for a (non-sports) market plus its event timeline. Set
events_limit=0 if you only want the status header.Authorizations
Path Parameters
Polymarket condition ID (bytes32 hex)
Query Parameters
Max events to return (0 to skip)
Required range:
0 <= x <= 500Cursor for next event page
Response
Successful Response
Single-market response: current status + event history.
UMA question status (regular non-sports markets).
Show child attributes
Show child attributes
Cursor-based pagination for endpoints that don't support offset.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
