settledOutcome | Hyperliquid Info API
curl --request POST \
--url https://hypercore.goldrushdata.com/info \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"outcome": 123
}
'import requests
url = "https://hypercore.goldrushdata.com/info"
payload = {
"type": "<string>",
"outcome": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({type: '<string>', outcome: 123})
};
fetch('https://hypercore.goldrushdata.com/info', 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://hypercore.goldrushdata.com/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => '<string>',
'outcome' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://hypercore.goldrushdata.com/info"
payload := strings.NewReader("{\n \"type\": \"<string>\",\n \"outcome\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://hypercore.goldrushdata.com/info")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"<string>\",\n \"outcome\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://hypercore.goldrushdata.com/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"<string>\",\n \"outcome\": 123\n}"
response = http.request(request)
puts response.read_body{
"spec": {
"outcome": 123,
"name": "<string>",
"description": "<string>",
"sideSpecs": [
{
"name": "<string>"
}
],
"quoteToken": "<string>"
},
"settleFraction": "<string>",
"details": "<string>",
"question": {
"question": {
"settled": 123,
"name": "<string>",
"description": "<string>"
}
}
}Info API
settledOutcome | Hyperliquid Info API
Hyperliquid settledOutcome: retrieve resolution details for a settled HIP-4 binary outcome market on HyperCore.
POST
/
info
settledOutcome | Hyperliquid Info API
curl --request POST \
--url https://hypercore.goldrushdata.com/info \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"outcome": 123
}
'import requests
url = "https://hypercore.goldrushdata.com/info"
payload = {
"type": "<string>",
"outcome": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({type: '<string>', outcome: 123})
};
fetch('https://hypercore.goldrushdata.com/info', 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://hypercore.goldrushdata.com/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => '<string>',
'outcome' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://hypercore.goldrushdata.com/info"
payload := strings.NewReader("{\n \"type\": \"<string>\",\n \"outcome\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://hypercore.goldrushdata.com/info")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"<string>\",\n \"outcome\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://hypercore.goldrushdata.com/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"<string>\",\n \"outcome\": 123\n}"
response = http.request(request)
puts response.read_body{
"spec": {
"outcome": 123,
"name": "<string>",
"description": "<string>",
"sideSpecs": [
{
"name": "<string>"
}
],
"quoteToken": "<string>"
},
"settleFraction": "<string>",
"details": "<string>",
"question": {
"question": {
"settled": 123,
"name": "<string>",
"description": "<string>"
}
}
}Credit Cost
1 per call
Processing
Realtime
type: "settledOutcome" is used to retrieve resolution details for a settled HIP-4 binary outcome market on HyperCore.
Estimate your monthly cost for this API using the Pricing Calculator.
- Wire-equal to
POST api.hyperliquid.xyz/infowith{"type": "settledOutcome", "outcome": <int>}.
Endpoint
POST https://hypercore.goldrushdata.com/info
Authorization: Bearer <GOLDRUSH_API_KEY>
Content-Type: application/json
Request
string
required
Always
"settledOutcome".int
required
Integer outcome ID for the settled HIP-4 market. Outcome IDs are stable across the market’s lifecycle - the same ID returned by
outcomeMeta while live is queried here once the outcome has resolved.Example
curl -X POST https://hypercore.goldrushdata.com/info \
-H "Authorization: Bearer $GOLDRUSH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "settledOutcome",
"outcome": 1
}'
const response = await fetch("https://hypercore.goldrushdata.com/info", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.GOLDRUSH_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
type: "settledOutcome",
outcome: 1,
}),
});
const settlement = await response.json();
import os, requests
response = requests.post(
"https://hypercore.goldrushdata.com/info",
headers={"Authorization": f"Bearer {os.environ['GOLDRUSH_API_KEY']}"},
json={
"type": "settledOutcome",
"outcome": 1,
},
)
settlement = response.json()
Response
{
"spec": {
"outcome": 1,
"name": "Recurring",
"description": "class:priceBinary|underlying:BTC|expiry:20260504-0600|targetPrice:78213|period:1d",
"sideSpecs": [
{ "name": "Yes" },
{ "name": "No" }
],
"quoteToken": "USDH"
},
"settleFraction": "1.0",
"details": "price:79980"
}
question object:
{
"spec": {
"outcome": 100,
"name": "Fallback",
"description": "",
"sideSpecs": [{ "name": "Yes" }, { "name": "No" }],
"quoteToken": "USDC"
},
"settleFraction": "0.0",
"details": "",
"question": {
"question": {
"settled": 19,
"name": "May CPI year-over-year",
"description": "The question resolves by assigning Yes to exactly one of …"
}
}
}
Field descriptions
settleFraction is returned as a decimal string with full upstream precision. Do not parse it as a float - keep it as a string or use a fixed-precision decimal type.object
Original market specification for the outcome - the same shape
outcomeMeta returns while the market is live.Show properties
Show properties
int
Integer outcome ID. Echoes the request parameter.
string
Human-readable label for the market - for example,
"Recurring" for repeating price-binary markets.string
For
priceBinary markets, a pipe-delimited spec (class:…|underlying:…|expiry:…|targetPrice:…|period:…). Empty string for question-class outcomes.array<object>
Tradeable sides of the outcome. For binary outcomes, index 0 is
Yes and index 1 is No.Show properties
Show properties
string
Side label - typically
"Yes" or "No".string
Symbol of the token the market quotes against - typically
"USDC" or "USDH".string
The fraction the
Yes side (index 0) paid out at resolution, as a decimal string. "1.0" means Yes won outright, "0.0" means No won, fractional values indicate a partial settlement.string
Free-form resolution detail. For
priceBinary markets, contains the resolved underlying value (e.g. "price:79980"). Empty string when settlement detail is carried in the question object instead.object
Optional. Present only for question-class outcomes. Wraps the structured oracle question that produced the resolution.
Related endpoints
outcomeMeta
enumerate all active HIP-4 binary outcome markets on HyperCore.
metaAndAssetCtxs
fetch the full Hyperliquid perpetuals market universe with live per-asset trading context.
spotMetaAndAssetCtxs
fetch the spot universe metadata, token configuration, and live market data in a single call.