RivoMarkets Stream API

The stream API from RivoMarkets — 1 operation(s) for stream.

GitHub OpenAPI

Operations 1

GET /v2/stream Stream #

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-stream-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-stream-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rivo Stream 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: Stream
paths:
  /v2/stream:
    get:
      operationId: reference_stream
      summary: Stream
      description: 'Pushes trades and market moves to you over one server-sent events connection, with the same filters as the listings. Docs: https://rivo.markets/docs/reference/stream'
      tags:
      - Stream
      parameters:
      - name: channels
        in: query
        required: false
        description: 'Which channels to receive: `trades`, `moves`, or both. Repeat the key to pass both.'
        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: category
        in: query
        required: false
        description: 'Returns rows in these categories: `sports`, `politics`, `crypto`, `finance`, `culture`. To pass several values, repeat the key, up to 50 times. A row matches if it matches any of them.'
        schema:
          type: string
      - name: kind
        in: query
        required: false
        description: 'Returns rows in these kinds of market. Each kind belongs to one category: `nfl`, `college_football`, `nba`, `wnba`, `college_basketball`, `womens_college_basketball`, `basketball`, `mlb`, `nhl`, `soccer`, `tennis`, `golf`, `mma`, `boxing`, `motorsport`, `cricket`, `esports`, `chess`, `rugby`, `olympics`, `parlay`, `other_sports`, `us_elections`, `us_politics`, `world_politics`, `other_politics`, `bitcoin`, `ethereum`, `solana`, `xrp`, `other_crypto`, `fed_rates`, `economic_data`, `stocks_indices`, `companies`, `commodities`, `fx`, `other_finance`, `mentions`, `weather`, `entertainment`, `tech_ai`, `health`, `other_culture`. See Kinds of market (https://rivo.markets/docs/concepts#kinds-of-market). 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 rows for this market. The `ref` can name one contract or a market with several outcomes. To pass several values, repeat the key, up to 50 times. A row matches if it matches any of them. It narrows both channels.
        schema:
          type: string
      - name: priceMin
        in: query
        required: false
        description: Sends frames at or above this price, from 0 to 1. On a trade it tests the price paid. On a move it tests the Yes price after the move.
        schema:
          type: number
      - name: priceMax
        in: query
        required: false
        description: Sends frames at or below this price, from 0 to 1. It tests the same prices as `priceMin`.
        schema:
          type: number
      - name: trader
        in: query
        required: false
        description: Applies to trades only. Returns rows for this trader. Take the trader's `ref` from any row that names them. To pass several values, repeat the key, up to 50 times. A row matches if it matches any of them.
        schema:
          type: string
      - name: outcome
        in: query
        required: false
        description: Applies to trades only. Returns rows for one side of the market. Pass the side's `name` (`Yes`, `No`, `Lakers`, `Up`) or its `label` from Get Market (https://rivo.markets/docs/reference/get-market), such as `Milwaukee`. The match ignores case. You must also pass exactly one `market`.
        schema:
          type: string
      - name: action
        in: query
        required: false
        description: Applies to trades only. Choose `buy`, `sell` or `all`. `buy` leaves out trims and closes.
        schema:
          type: string
      - name: entry
        in: query
        required: false
        description: Applies to trades only. Choose `open`, `add` or `all`.
        schema:
          type: string
      - name: minUsd
        in: query
        required: false
        description: Applies to trades only. Sends trades of at least this many dollars.
        schema:
          type: number
      - name: maxUsd
        in: query
        required: false
        description: Applies to trades only. Sends trades of at most this many dollars.
        schema:
          type: number
      - name: named
        in: query
        required: false
        description: Applies to trades only. Set to `true` to receive only trades by a named trader.
        schema:
          type: boolean
      - name: minWinRate
        in: query
        required: false
        description: Applies to trades only. Sends trades by traders whose win rate in that kind of market is at least this, from 0 to 1, over at least 10 settled bets.
        schema:
          type: number
      - name: minSettled
        in: query
        required: false
        description: Applies to trades only. Sends trades by traders with at least this many settled bets in that kind of market.
        schema:
          type: integer
      - name: type
        in: query
        required: false
        description: Applies to moves only. Choose `move`, `flip` or `whales`. Repeat the key to pass several.
        schema:
          type: string
      - name: minPoints
        in: query
        required: false
        description: Applies to moves only. Sends `move` rows whose price changed by at least this many points, from 0 to 100.
        schema:
          type: number
      - name: since
        in: query
        required: false
        description: Applies to trades only. An ISO 8601 time. The stream first sends the trades since then, from the last hour at most and up to 200, then goes live. A `Last-Event-ID` header takes its place when you send both.
        schema:
          type: string
      responses:
        '200':
          description: 'Success: `{ success: true, data }`.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      'event: trade':
                        type: string
                        description: One whale trade. Its `id` line is what you send back as `Last-Event-ID` when you reconnect. Its `data` has the same fields as a List Trades (https://rivo.markets/docs/reference/list-trades) row.
                      'event: move':
                        type: string
                        description: One market move. Its `data` has the same fields as a List Moves (https://rivo.markets/docs/reference/list-moves) row.
                      'event: error':
                        type: string
                        description: 'The server sends this just before it closes the stream: the key was revoked, the account''s subscription ended, or a newer stream took this one''s place. Rivo checks once a minute.'
                      ': connected':
                        type: string
                        description: The server sends this once when the stream opens.
                      ': ping':
                        type: string
                        description: The server sends this heartbeat every 25 seconds. You can ignore it.
        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