Skip to content

Totalis API ​

Scoring rules: Totalis RFQ Rewards.

Overview ​

Paths start with https://api.monarch.fast/marina/totalis. Public endpoints need no key. Private endpoints need an API key and return only your own wallet's data.

EndpointAccessReturns
GET /payoutsPublicRewards of finalized days: one day, one wallet, or one wallet on one day
GET /scoresPublicMaker scores of one UTC day, updated through the day. Today by default
GET /private/honourAPI keyYour honour multiplier and your misses
GET /private/quote-resultsAPI keyFilled entry RFQs you quoted, newest first: all days, or one UTC day or hour

API Keys ​

Create a key under API keys on https://monarch.fast/marina/totalis/wallet/<your wallet>, signed in with that wallet. The key shows only once.

Send it on each request:

http
GET /marina/totalis/private/honour
Authorization: Bearer mmk_...
  • A key reads only the wallet that created it. You do not send a wallet.
  • The API reads the key only from the header.

Conventions ​

ItemValue
TimesISO 8601 UTC
DaysUTC dates as YYYY-MM-DD
AmountsFixed 6-decimal USDC strings
PointsDecimal strings
WalletsMatched case-insensitively, returned lowercase

Each UTC day is scored, then finalized. Payouts show finalized days only. Scores show the current state of a day, provisional or final.

Public Endpoints ​

Get Payouts ​

Send date or wallet. A request without either returns 400.

By Day ​

http
GET /marina/totalis/payouts?date=2026-11-24
StateResponse
Unknown day404
Known, not finalized200 with finalized: false, null amounts and payouts: []
Finalized200 with finalized: true and one row per paid wallet
Temporary server error5xx retry
json
{
  "date": "2026-11-24",
  "finalized": true,
  "finalized_at": "2026-11-25T10:00:00.000Z",
  "quote_usdc": "120.000000",
  "fill_usdc": "280.000000",
  "total_usdc": "400.000000",
  "payouts": [
    {
      "wallet": "0x00000000000000000000000000000000000000aa",
      "quote_usdc": "113.542009",
      "fill_usdc": "0.000000",
      "total_usdc": "113.542009"
    }
  ]
}

The transition to finalized: true is the trigger to pay every listed wallet.

Add wallet to get only that wallet's row of the day:

http
GET /marina/totalis/payouts?date=2026-11-24&wallet=0x00000000000000000000000000000000000000aa

The reply has the same shape. payouts holds at most one row, and the amounts are that wallet's.

By Wallet ​

http
GET /marina/totalis/payouts?wallet=0x00000000000000000000000000000000000000aa
json
{
  "wallet": "0x00000000000000000000000000000000000000aa",
  "quote_usdc": "113.542009",
  "fill_usdc": "0.000000",
  "total_usdc": "113.542009",
  "total_days": 1,
  "days": [
    {
      "date": "2026-11-24",
      "quote_usdc": "113.542009",
      "fill_usdc": "0.000000",
      "total_usdc": "113.542009"
    }
  ],
  "next_cursor": null
}
  • The top-level amounts and total_days cover every finalized day of the wallet; days is the current page, oldest first.
  • limit is at most 500, default 500. Follow next_cursor until null, keeping the same wallet.
  • Invalid queries or cursors return 400.

Field Notes ​

FieldDescription
quote_usdcReward from the quote pool
fill_usdcReward from the fill pool
total_usdcReward paid to the wallet
finalizedfalse while pending, true when ready for payment
finalized_atTime the day was finalized, or null while pending
total_daysNumber of finalized days with a payout row for the wallet
next_cursorContinuation cursor, or null on the last page

Get Scores ​

Maker scores for one UTC day. Without date, returns the current UTC day.

http
GET /marina/totalis/scores
GET /marina/totalis/scores?date=2026-11-24
json
{
  "date": "2026-11-24",
  "status": "provisional",
  "as_of": "2026-11-24T10:45:00.000Z",
  "finalized_at": null,
  "scores": [
    {
      "wallet": "0x00000000000000000000000000000000000000aa",
      "quote_points": "1.5",
      "fill_points": "0",
      "quote_share_pct": "25",
      "fill_share_pct": "0"
    }
  ]
}

Unknown days return 404. Invalid queries return 400.

Field Notes ​

FieldDescription
statusprovisional while the day can still change, final once finalized
as_ofTime the scores cover up to, or null before the first score
finalized_atTime the day was finalized; set only when status is final
walletMaker wallet being scored
quote_pointsQuote points for the day, after the honour multiplier
fill_pointsFill points for the day, after the honour multiplier
quote_share_pctShare of the day's quote points after the honour multiplier, in percent
fill_share_pctShare of the day's fill points after the honour multiplier, in percent

Dollar amounts appear only on the payouts endpoint, after a day is finalized.

Private Endpoints ​

Get Honour ​

Your honour multiplier and your misses.

http
GET /marina/totalis/private/honour
json
{
  "wallet": "0x00000000000000000000000000000000000000aa",
  "multiplier": "0.9942",
  "as_of": "2026-11-24T10:45:00.000Z",
  "misses": 1,
  "accepted": 40,
  "exclusion_ends": null,
  "miss_list": [
    { "at": "2026-11-24T09:12:03.000Z", "rfq_id": "<rfq id>" }
  ]
}
FieldDescription
multiplierCurrent multiplier
as_ofRFQs up to this time are counted
misses, acceptedMisses and accepted quotes over the trailing 7 UTC days, since the last reset. While you are excluded, the counts that caused the exclusion
exclusion_endsWhile you are excluded or on the day that reached 20%: the UTC day you earn again. Else null
miss_listAll your misses over the trailing 7 UTC days, newest first, including while excluded. While you are excluded, also those that caused it

Excused misses are not listed. Points and shares of each day are on Get Scores.

Get Quote Results ​

Filled entry RFQs that you quoted before the fill, newest fill first.

http
GET /marina/totalis/private/quote-results
GET /marina/totalis/private/quote-results?day=2026-11-24&hour=10&limit=500
QueryValue
limitOptional: rows per page, max 500. Default 100
cursorOptional: next_cursor of the previous page
dayOptional: UTC day of the fill. All days by default
hourOptional: UTC hour of the fill, 0 to 23. Only with day
json
{
  "wallet": "0x00000000000000000000000000000000000000aa",
  "day": "2026-11-24",
  "hour": 10,
  "as_of": "2026-11-24T10:45:00.000Z",
  "rfqs": [
    {
      "rfq_id": "<rfq id>",
      "rfq_time": "2026-11-24T10:00:00.000Z",
      "filled_at": "2026-11-24T10:00:02.000Z",
      "legs": [
        { "outcome_id": "<outcome id>", "side": "YES", "name": "<market name>" }
      ],
      "stake": "10.000000",
      "won": false,
      "fill_payout": "25.000000",
      "quotes": [
        { "quote_id": "<quote id>", "received_at": "2026-11-24T10:00:00.600Z", "expires_at": "2026-11-24T10:00:10.600Z", "payout": "23.500000" },
        { "quote_id": "<quote id>", "received_at": "2026-11-24T10:00:01.200Z", "expires_at": "2026-11-24T10:00:11.200Z", "payout": "23.750000" }
      ]
    }
  ],
  "next_cursor": "<next cursor>"
}
FieldDescription
day, hourThe queried day and hour, or null
as_ofFills up to this time are included
rfq_timeWhen the RFQ was created
filled_atTime the taker accepted the filled quote
legsPer leg: outcome_id, side (YES or NO) and name. name is null when unknown
stakeRFQ stake
wontrue if your quote filled
fill_payoutPayout of the filled quote
quotesAll your quotes on the RFQ, oldest first
next_cursorPass it as cursor for the next, older page; null on the last page
  • Follow next_cursor for older fills. New fills do not shift your pages.

Rules ​

  • Days are UTC dates as YYYY-MM-DD. A future day returns 400.
  • Unknown query fields return 400.
  • Errors return { "error": "<reason>" }.

Provisional and Final ​

  • Numbers in honour come from the current scoring. They can change until the day is final.
  • Final days are on Get Payouts and Get Scores, with status: "final" on scores.

Monarch docs live in the monorepo and deploy separately from the app.