RivoMarkets Get Paper Account API

The get-paper-account API from RivoMarkets — 1 operation(s) for get-paper-account.

GitHub OpenAPI

Operations 1

GET /v2/paper Get Paper Account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rivo-markets:rivo-markets-get-paper-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rivo-markets-get-paper-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rivo Get Paper Account API
  version: '2'
  description: 'Prediction market data from Kalshi, Polymarket, Polymarket US and Gemini: whale trades, traders and their records, markets, backtests, and paper bots. Every route but the preview needs an API key from an active subscription.'
servers:
- url: https://api.rivo.markets
security:
- bearer: []
tags:
- name: get-paper-account
paths:
  /v2/paper:
    get:
      operationId: reference_get_paper_account
      summary: Get Paper Account
      description: 'Reads the paper account''s totals and positions, from both hand trades and bots. On request it adds the paper orders you placed by hand. Docs: https://rivo.markets/docs/reference/get-paper-account'
      tags:
      - get-paper-account
      parameters:
      - name: status
        in: query
        required: false
        description: 'Which positions to return: `open`, `settled` or `all`.'
        schema:
          type: string
      - name: source
        in: query
        required: false
        description: 'Which positions to return by where they came from: `hand`, `bot` or `all`.'
        schema:
          type: string
      - name: bot
        in: query
        required: false
        description: Returns only one bot's positions. Pass its id, such as `trader:<id>` or `signal:<id>`.
        schema:
          type: string
      - name: venue
        in: query
        required: false
        description: 'Returns rows from these venues: `kalshi`, `polymarket`, `polymarket_us` or `gemini`. To pass several values, repeat the key, up to 50 times. A row matches if it matches any of them.'
        schema:
          type: string
      - name: market
        in: query
        required: false
        description: Returns positions on this contract. Pass the contract's `ref`. Repeat the key to pass several, up to 50.
        schema:
          type: string
      - name: include
        in: query
        required: false
        description: Set to `orders` to add your hand-placed paper orders.
        schema:
          type: string
      - name: since
        in: query
        required: false
        description: With `include=orders`, returns orders at or after this time, in ISO 8601 with an offset.
        schema:
          type: string
      - name: ordersCursor
        in: query
        required: false
        description: With `include=orders`, pass the `orders.nextCursor` from the previous page to read the next one.
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: The number of rows on each page, from 1 to 200. It applies to both positions and orders.
        schema:
          type: integer
      - name: cursor
        in: query
        required: false
        description: Pass the `positions.nextCursor` from the previous page to read the next one.
        schema:
          type: string
      responses:
        '200':
          description: 'Success: `{ success: true, data }`.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          totals:
                            type: object
                            properties:
                              openUsd:
                                type: number
                                description: What your open holdings are worth now, in USD.
                              unrealized:
                                type: number
                                description: The profit on your open holdings, in USD.
                              realized:
                                type: number
                                description: The profit from settled holdings and sales, in USD.
                              winRate:
                                type: number
                                description: The share of settled holdings that won, from 0 to 1. It is `null` until a holding settles.
                            description: Totals for the whole account. Filters do not change them.
                          positions:
                            type: object
                            properties:
                              data:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    market:
                                      type: object
                                      properties:
                                        ref:
                                          type: string
                                          description: The market's ref. You can pass it to any `market` filter or to Get Market (https://rivo.markets/docs/reference/get-market). On a market of several outcomes, it names the whole event.
                                        contract:
                                          type: string
                                          description: The ref of the exact contract. It is the same as `ref` on a market with one contract. On a market of several outcomes, such as a game with a moneyline and a spread, it tells the contracts apart. Pass it to Place Paper Order (https://rivo.markets/docs/reference/place-paper-order) or a market bot.
                                        venueId:
                                          type: string
                                          description: 'The venue''s own id for that exact contract, so you can find it on the venue without parsing a ref: the ticker on Kalshi and Gemini (such as `KXETH15M-26OCT271715-15`), the market slug on Polymarket. It is `null` exactly when `contract` is.'
                                        title:
                                          type: string
                                          description: The market's title, as the venue writes it.
                                        venue:
                                          type: string
                                          description: 'The venue that lists the market: one of `kalshi`, `polymarket`, `polymarket_us` or `gemini`.'
                                        category:
                                          type: string
                                          description: 'The market''s category: one of `sports`, `politics`, `crypto`, `finance`, `culture`. It is `null` when Rivo has not classified the market.'
                                        kind:
                                          type: string
                                          description: The kind of market, such as `nfl` or `bitcoin`. It is `null` when Rivo has not classified the market yet.
                                      description: The market this row is about.
                                    outcome:
                                      type: string
                                      description: The side the holding is on.
                                    contracts:
                                      type: number
                                      description: The number of contracts held.
                                    entryPrice:
                                      type: number
                                      description: The average price paid, from 0 to 1.
                                    price:
                                      type: number
                                      description: The side's price now, or its payout once the market settles.
                                    cost:
                                      type: number
                                      description: The contracts multiplied by `entryPrice`, in USD.
                                    value:
                                      type: number
                                      description: What the holding is worth now, in USD.
                                    profit:
                                      type: number
                                      description: The profit in USD, which is `value` minus `cost`.
                                    status:
                                      type: string
                                      description: Whether the holding is `open` or `settled`.
                                    result:
                                      type: string
                                      description: 'The result once the market settles: `win`, `loss` or `void`.'
                                    source:
                                      type: string
                                      description: Where the holding came from. `hand` means you placed it with a paper order, and `bot` means a paper bot holds it.
                                    bot:
                                      type: object
                                      properties:
                                        id:
                                          type: string
                                          description: The bot's id, as List Bots (https://rivo.markets/docs/reference/list-bots) returns it.
                                        name:
                                          type: string
                                          description: The bot's name.
                                      description: The bot that holds this position. It is `null` for a holding you placed by hand.
                                    openedAt:
                                      type: string
                                      description: When the holding opened, in ISO 8601 UTC.
                                    settledAt:
                                      type: string
                                      description: When the holding settled, in ISO 8601 UTC.
                                description: The positions on this page.
                              nextCursor:
                                type: string
                                description: Pass this as `cursor` to read the next page. It is `null` on the last page.
                            description: One page of positions.
                          orders:
                            type: object
                            properties:
                              data:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    id:
                                      type: string
                                      description: The paper order's id.
                                    market:
                                      type: object
                                      properties:
                                        ref:
                                          type: string
                                          description: The market's ref. You can pass it to any `market` filter or to Get Market (https://rivo.markets/docs/reference/get-market). On a market of several outcomes, it names the whole event.
                                        contract:
                                          type: string
                                          description: The ref of the exact contract. It is the same as `ref` on a market with one contract. On a market of several outcomes, such as a game with a moneyline and a spread, it tells the contracts apart. Pass it to Place Paper Order (https://rivo.markets/docs/reference/place-paper-order) or a market bot.
                                        venueId:
                                          type: string
                                          description: 'The venue''s own id for that exact contract, so you can find it on the venue without parsing a ref: the ticker on Kalshi and Gemini (such as `KXETH15M-26OCT271715-15`), the market slug on Polymarket. It is `null` exactly when `contract` is.'
                                        title:
                                          type: string
                                          description: The market's title, as the venue writes it.
                                        venue:
                                          type: string
                                          description: 'The venue that lists the market: one of `kalshi`, `polymarket`, `polymarket_us` or `gemini`.'
                                        category:
                                          type: string
                                          description: 'The market''s category: one of `sports`, `politics`, `crypto`, `finance`, `culture`. It is `null` when Rivo has not classified the market.'
                                        kind:
                                          type: string
                                          description: The kind of market, such as `nfl` or `bitcoin`. It is `null` when Rivo has not classified the market yet.
                                      description: The market this row is about.
                                    outcome:
                                      type: string
                                      description: The side traded, using the name that Get Market (https://rivo.markets/docs/reference/get-market) gives it.
                                    action:
                                      type: string
                                      description: 'Whether the order bought or sold: `buy` or `sell`.'
                                    contracts:
                                      type: number
                                      description: The number of contracts that filled.
                                    avgPrice:
                                      type: number
                                      description: The average price for each contract, from 0 to 1, with the venue's fee included.
                                    cost:
                                      type: number
                                      description: What the buy cost, or what the sale brought in, in USD with the fee included.
                                    unfilledContracts:
                                      type: number
                                      description: The contracts the book could not fill right away. Paper orders never rest on the book, so Rivo drops this part.
                                    filledAt:
                                      type: string
                                      description: When the order filled, in ISO 8601 UTC.
                                    profit:
                                      type: number
                                      description: On a sale, the profit measured against the average cost of what you held.
                                description: The orders on this page, newest first.
                              nextCursor:
                                type: string
                                description: Pass this as `ordersCursor` to read the next page. It is `null` on the last page.
                            description: One page of the paper orders you placed by hand, when you ask for `include=orders`.
                        description: The paper account.
              example:
                data:
                  totals:
                    openUsd: 1842.6
                    unrealized: 63.18
                    realized: 412.95
                    winRate: 0.5833
                  positions:
                    data:
                    - market:
                        ref: a2Fsc2hpOm1hcmtldDpLWE1MQkdBTUUtMjZPQ1QxNDIwMDBNSUxMQUQtTUlM
                        contract: a2Fsc2hpOm1hcmtldDpLWE1MQkdBTUUtMjZPQ1QxNDIwMDBNSUxMQUQtTUlM
                        venueId: KXMLBGAME-26OCT142000MILLAD-MIL
                        title: Milwaukee wins
                        venue: kalshi
                        category: sports
                        kind: mlb
                      outcome: 'Yes'
                      contracts: 284
                      entryPrice: 0.8796
                      price: 0.89
                      cost: 249.81
                      value: 252.76
                      profit: 2.95
                      status: open
                      result: null
                      source: hand
                      bot: null
                      openedAt: '2026-10-15T02:31:07.412Z'
                      settledAt: null
                    - market:
                        ref: a2Fsc2hpOm1hcmtldDpLWE5GTE5GQ05PUlRILTI3LUNISQ
                        contract: a2Fsc2hpOm1hcmtldDpLWE5GTE5GQ05PUlRILTI3LUNISQ
                        venueId: KXNFLNFCNORTH-27-CHI
                        title: Will Chicago win the Pro Football NFC North Division?
                        venue: kalshi
                        category: sports
                        kind: nfl
                      outcome: 'Yes'
                      contracts: 500
                      entryPrice: 0.2
                      price: 0.2
                      cost: 100
                      value: 100
                      profit: 0
                      status: open
                      result: null
                      source: bot
                      bot:
                        id: trader:8d3f2a61-0c4e-4b7a-9f15-2e6a1c9b4d70
                        name: avidsmores
                      openedAt: '2026-10-12T05:13:31.000Z'
                      settledAt: null
                    nextCursor: null
                  orders:
                    data:
                    - id: 5b7e0c1a-2f4d-4c8e-9a61-3d2f7b9e0a14
                      market:
                        ref: a2Fsc2hpOm1hcmtldDpLWE1MQkdBTUUtMjZPQ1QxNDIwMDBNSUxMQUQtTUlM
                        contract: a2Fsc2hpOm1hcmtldDpLWE1MQkdBTUUtMjZPQ1QxNDIwMDBNSUxMQUQtTUlM
                        venueId: KXMLBGAME-26OCT142000MILLAD-MIL
                        title: Milwaukee wins
                        venue: kalshi
                        category: sports
                        kind: mlb
                      outcome: 'Yes'
                      action: buy
                      contracts: 284
                      avgPrice: 0.8796
                      cost: 249.81
                      unfilledContracts: 0
                      filledAt: '2026-10-15T02:31:07.412Z'
                    nextCursor: null
        default:
          description: 'An error: `{ success: false, error, code }`. See https://rivo.markets/docs/errors'
      x-scope: read
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: An API key (rivo_live_...) from Settings, Developers.
externalDocs:
  url: https://rivo.markets/docs
  description: Rivo API docs