Skip to main content
GET
/
api
/
me
/
portfolio
Aggregate portfolio view
curl --request GET \
  --url https://core-api.adipredictstreet.com/api/me/portfolio
import requests

url = "https://core-api.adipredictstreet.com/api/me/portfolio"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://core-api.adipredictstreet.com/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.adipredictstreet.com/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",
]);

$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.adipredictstreet.com/api/me/portfolio"

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.adipredictstreet.com/api/me/portfolio")
.asString();
require 'uri'
require 'net/http'

url = URI("https://core-api.adipredictstreet.com/api/me/portfolio")

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
{
  "walletAddress": "<string>",
  "vault": {},
  "balances": [
    {
      "token": "<string>",
      "available": "<string>",
      "unsettled": "<string>",
      "locked": "<string>",
      "quarantined": "<string>"
    }
  ],
  "positions": [
    {
      "marketId": "<string>",
      "marketSymbol": "<string>",
      "marketTitle": {},
      "eventId": {},
      "eventTitle": {},
      "matchId": {},
      "matchTitle": {},
      "participantA": {},
      "participantB": {},
      "kickoff": {},
      "outcome": "<string>",
      "outcomeIndex": {},
      "outcomeLabel": {},
      "quantity": {},
      "avgCost": {},
      "currentPrice": {},
      "costBasis": {},
      "markValue": {},
      "realizedPnl": {},
      "unrealizedPnl": {},
      "payoutIfCorrect": {}
    }
  ],
  "feeTier": {
    "tier": 123,
    "makerBps": 123,
    "takerBps": 123,
    "rolling30dVolume": "<string>",
    "nextTierVolume": "<string>"
  },
  "realityCheck": {}
}

Response

200 - application/json
walletAddress
string
required
vault
object
required

Vault address + deployment status.

balances
object[]
required
positions
object[]
required
feeTier
object
required
realityCheck
object | null
required

Reality-check session state (responsible-gambling rolling window).