Aggregate portfolio view
curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio \
--header 'X-Api-Key: <api-key>'import requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio"
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio', 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/me/portfolio",
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio"
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio")
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{
"walletAddress": "<string>",
"vault": {},
"balances": [
{
"token": "<string>",
"available": "<string>",
"unsettled": "<string>",
"locked": "<string>",
"quarantined": "<string>"
}
],
"positions": [
{
"marketId": "<string>",
"marketSymbol": "<string>",
"marketSlug": "<string>",
"marketTitle": {},
"question": "<string>",
"groupItemTitle": "<string>",
"groupItemImageUrl": "<string>",
"eventId": {},
"eventSlug": "<string>",
"eventTitle": {},
"eventImageUrl": "<string>",
"tags": [
{
"slug": "<string>",
"name": "<string>"
}
],
"marketType": "<string>",
"vertical": "<string>",
"matchId": {},
"matchSlug": "<string>",
"matchTitle": {},
"teamA": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"teamB": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"kickoff": {},
"outcome": "<string>",
"outcomeIndex": {},
"outcomeLabel": {},
"negRisk": {
"marketId": "<string>",
"questionIndex": 123
},
"negRiskLinkagePending": true,
"conditionId": "<string>",
"status": "open",
"quantity": {},
"avgCost": {},
"currentPrice": {},
"costBasis": {},
"markValue": {},
"realizedPnl": {},
"unrealizedPnl": {},
"feesPaidUsdc": "<string>",
"feesPaidShares": "<string>",
"feesPaidSharesPrice": "<string>",
"payoutIfCorrect": {},
"redeemable": true,
"redeemed": true,
"payoutPreview": "<string>",
"makeWholeTopup": "<string>",
"pricingStatus": "exact",
"accountingStatus": "exact",
"createdAt": "<string>",
"closesAt": "<string>"
}
],
"realityCheck": {}
}Portfolio
Aggregate portfolio view
Single-call dashboard payload: vault info, balances, positions and any active reality-check state for the caller. For fee rates call GET /api/me/fee-tier. Sub-endpoints (/me/balances, /me/positions, /me/vault, /me/fee-tier) remain available for targeted refreshes.
GET
/
api
/
me
/
portfolio
Aggregate portfolio view
curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio \
--header 'X-Api-Key: <api-key>'import requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio"
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio', 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/me/portfolio",
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio"
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://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/me/portfolio")
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{
"walletAddress": "<string>",
"vault": {},
"balances": [
{
"token": "<string>",
"available": "<string>",
"unsettled": "<string>",
"locked": "<string>",
"quarantined": "<string>"
}
],
"positions": [
{
"marketId": "<string>",
"marketSymbol": "<string>",
"marketSlug": "<string>",
"marketTitle": {},
"question": "<string>",
"groupItemTitle": "<string>",
"groupItemImageUrl": "<string>",
"eventId": {},
"eventSlug": "<string>",
"eventTitle": {},
"eventImageUrl": "<string>",
"tags": [
{
"slug": "<string>",
"name": "<string>"
}
],
"marketType": "<string>",
"vertical": "<string>",
"matchId": {},
"matchSlug": "<string>",
"matchTitle": {},
"teamA": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"teamB": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"kickoff": {},
"outcome": "<string>",
"outcomeIndex": {},
"outcomeLabel": {},
"negRisk": {
"marketId": "<string>",
"questionIndex": 123
},
"negRiskLinkagePending": true,
"conditionId": "<string>",
"status": "open",
"quantity": {},
"avgCost": {},
"currentPrice": {},
"costBasis": {},
"markValue": {},
"realizedPnl": {},
"unrealizedPnl": {},
"feesPaidUsdc": "<string>",
"feesPaidShares": "<string>",
"feesPaidSharesPrice": "<string>",
"payoutIfCorrect": {},
"redeemable": true,
"redeemed": true,
"payoutPreview": "<string>",
"makeWholeTopup": "<string>",
"pricingStatus": "exact",
"accountingStatus": "exact",
"createdAt": "<string>",
"closesAt": "<string>"
}
],
"realityCheck": {}
}Authorizations
ApiKeyaccess
Partner / integrator key — format ps_live_<keyId>_<secret>. Partner keys are issued by PredictStreet; a user can also create keys bound to their own wallet from their account settings in the web app. Never ship to a browser. multi_wallet partners must additionally send X-User-Wallet: 0x<40-hex> on every authenticated request to declare the acting wallet. See the API keys guide for scope taxonomy, partner kinds, rate limits, and rotation procedure.
Response
200 - application/json