curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positionsimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions', 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://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions",
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions"
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions")
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{
"positions": [
{}
],
"nextCursor": "<string>",
"hasMore": true
}Public positions resolved strictly by vault address
Vault-only variant of /api/users/:address/positions — 404 when the address is not a vault. Default filter open; ?status=won|lost|voided|all. ?status=resolving is a derived, PUBLIC-only filter — open positions whose closesAt (or kickoff when closesAt is null) has already passed but the market hasn’t settled yet. Pass limit (1..50) to paginate; cursor from a prior response’s nextCursor to load subsequent pages. Omit both for the full list (legacy behavior). category narrows to one vertical.
curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positionsimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions', 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://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions",
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions"
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/users/by-vault/{vault}/positions")
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{
"positions": [
{}
],
"nextCursor": "<string>",
"hasMore": true
}Path Parameters
Query Parameters
Defaults to open.
open, won, lost, voided, resolving, all Page size; omit to receive the full list.
1 <= x <= 50Opaque cursor from a prior nextCursor.
Vertical slug (canonical form) — narrows the position LIST to that vertical.
Response
Position rows in the same shape as /api/me/positions — qty, avgCost, currentPrice, currentValue, realized/unrealized P&L.
Opaque cursor for the next page; null when there is no more data or pagination was not requested.
True when another page is available.