curl --request GET \
--url https://hip4-api.totalis.trade/v1/me/positions \
--header 'Authorization: Bearer <token>'import requests
url = "https://hip4-api.totalis.trade/v1/me/positions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://hip4-api.totalis.trade/v1/me/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://hip4-api.totalis.trade/v1/me/positions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://hip4-api.totalis.trade/v1/me/positions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hip4-api.totalis.trade/v1/me/positions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hip4-api.totalis.trade/v1/me/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"context": {
"as_of": "2026-09-26T12:00:02Z",
"status": "CURRENT"
},
"items": [
{
"position_id": "0x80acb2c7053741866dba533f638a391852f855ebd1aabe170ee2b505d71b4938",
"maker_id": "7",
"owner": "0x1111111111111111111111111111111111111111",
"status": "OPEN",
"close_reason": null,
"fee_bps": 100,
"net_stake": "24950000",
"acquisition_cost": "25000000",
"payout": "100000000",
"settlement_payout": null,
"unclaimed_profit": "0",
"cashout_price": null,
"legs": [
{
"outcome_id": "1209",
"side": "YES",
"status": "UNRESOLVED",
"result_numerator": null,
"result_denominator": null
},
{
"outcome_id": "1210",
"side": "NO",
"status": "UNRESOLVED",
"result_numerator": null,
"result_denominator": null
}
],
"created_at": "2026-09-25T18:21:44Z",
"updated_at": "2026-09-25T18:21:44Z",
"settlement_kind": null
},
{
"position_id": "0xd9d9664d8d5996d51a8aea5a199441e519d09b797ea4b2a370016b03ce5a4e11",
"maker_id": "7",
"owner": "0x1111111111111111111111111111111111111111",
"status": "SETTLED_UNCLAIMED",
"close_reason": null,
"fee_bps": 100,
"net_stake": "49900000",
"acquisition_cost": "50000000",
"payout": "120000000",
"settlement_payout": "120000000",
"unclaimed_profit": "70100000",
"cashout_price": null,
"legs": [
{
"outcome_id": "1180",
"side": "YES",
"status": "RESOLVED",
"result_numerator": "100000000",
"result_denominator": "100000000"
},
{
"outcome_id": "1195",
"side": "NO",
"status": "RESOLVED",
"result_numerator": "100000000",
"result_denominator": "100000000"
}
],
"created_at": "2026-09-20T09:14:02Z",
"updated_at": "2026-09-24T16:00:11Z",
"settlement_kind": "WIN"
}
],
"next_cursor": null,
"has_more": false,
"total_count": "2"
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}List positions
List your account’s positions.
Requires one of:
- a key for your account with
account:read - a key for a maker with
vault:readand the maker permissionREAD_POSITIONS
curl --request GET \
--url https://hip4-api.totalis.trade/v1/me/positions \
--header 'Authorization: Bearer <token>'import requests
url = "https://hip4-api.totalis.trade/v1/me/positions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://hip4-api.totalis.trade/v1/me/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://hip4-api.totalis.trade/v1/me/positions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://hip4-api.totalis.trade/v1/me/positions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hip4-api.totalis.trade/v1/me/positions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hip4-api.totalis.trade/v1/me/positions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"context": {
"as_of": "2026-09-26T12:00:02Z",
"status": "CURRENT"
},
"items": [
{
"position_id": "0x80acb2c7053741866dba533f638a391852f855ebd1aabe170ee2b505d71b4938",
"maker_id": "7",
"owner": "0x1111111111111111111111111111111111111111",
"status": "OPEN",
"close_reason": null,
"fee_bps": 100,
"net_stake": "24950000",
"acquisition_cost": "25000000",
"payout": "100000000",
"settlement_payout": null,
"unclaimed_profit": "0",
"cashout_price": null,
"legs": [
{
"outcome_id": "1209",
"side": "YES",
"status": "UNRESOLVED",
"result_numerator": null,
"result_denominator": null
},
{
"outcome_id": "1210",
"side": "NO",
"status": "UNRESOLVED",
"result_numerator": null,
"result_denominator": null
}
],
"created_at": "2026-09-25T18:21:44Z",
"updated_at": "2026-09-25T18:21:44Z",
"settlement_kind": null
},
{
"position_id": "0xd9d9664d8d5996d51a8aea5a199441e519d09b797ea4b2a370016b03ce5a4e11",
"maker_id": "7",
"owner": "0x1111111111111111111111111111111111111111",
"status": "SETTLED_UNCLAIMED",
"close_reason": null,
"fee_bps": 100,
"net_stake": "49900000",
"acquisition_cost": "50000000",
"payout": "120000000",
"settlement_payout": "120000000",
"unclaimed_profit": "70100000",
"cashout_price": null,
"legs": [
{
"outcome_id": "1180",
"side": "YES",
"status": "RESOLVED",
"result_numerator": "100000000",
"result_denominator": "100000000"
},
{
"outcome_id": "1195",
"side": "NO",
"status": "RESOLVED",
"result_numerator": "100000000",
"result_denominator": "100000000"
}
],
"created_at": "2026-09-20T09:14:02Z",
"updated_at": "2026-09-24T16:00:11Z",
"settlement_kind": "WIN"
}
],
"next_cursor": null,
"has_more": false,
"total_count": "2"
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}{
"error": {
"code": "INVALID_REQUEST",
"field_violations": [
{
"code": "REQUIRED",
"field": "<string>"
}
],
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retry": "NEVER"
}
}Authorizations
Scoped API key from the Totalis app settings. Each key acts for one account, yours or a maker's, and holds only scopes that account can use. Each operation lists the scopes it requires.
Headers
Required for browser sessions; API keys do not require an Origin.
Query Parameters
Maximum items per page, 1 to 200, default 50. A page may hold fewer, even none, while has_more is true. Maximum items in one page. A page may hold fewer, even none, while has_more is true.
1 <= x <= 200Omit for the first page; then send the previous response's next_cursor unchanged. Opaque list cursor. Send a previous response's next_cursor back unchanged; never build or parse one.
1 - 2048Return only positions with this lifecycle status.
OPEN, AWAITING_SETTLEMENT, SETTLED_UNCLAIMED, CLOSED Response
Your positions, reconciled against the vault contract. A key for your account lists the positions you hold; a key for a maker lists the positions the maker backs. The key's permissions are checked on every request. One freshness status covers the read; amounts are atomic USDC strings or null. No shared caching.
Freshness of this read: the oldest source observation and one status for every amount in the response.
Show child attributes
Show child attributes
Positions on this page, newest created_at first, then position_id descending.
Show child attributes
Show child attributes
Opaque cursor for the next page, bound to this response's snapshot; null on the last page. Send it back unchanged as cursor.
1 - 2048True when another page exists; true exactly when next_cursor is non-null.
Exact number of positions in the whole filtered snapshot (not just this page), as a decimal string.
^(0|[1-9][0-9]{0,77})$Was this page helpful?

