RivoMarkets Get Bot API
The get-bot API from RivoMarkets — 1 operation(s) for get-bot.
The get-bot API from RivoMarkets — 1 operation(s) for get-bot.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/rivo-markets:rivo-markets-get-bot-api"
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.
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: 3.2.0
info:
title: Rivo Get Bot 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-bot
paths:
/v2/bots/{id}:
get:
operationId: reference_get_bot
summary: Get Bot
description: 'Reads one bot''s settings, record and profit curve. On request it adds the bot''s trades and how busy its trigger has been. Docs: https://rivo.markets/docs/reference/get-bot'
tags:
- get-bot
parameters:
- name: id
in: path
required: true
description: 'The bot''s id, as List Bots (https://rivo.markets/docs/reference/list-bots) returns it: `trader:<id>`, `signal:<id>` or `market:<id>`.'
schema:
type: string
- name: include
in: query
required: false
description: 'The extra sections to add: `trades` or `activity`. Separate them with commas, or repeat the key. `trades` reaches back 30 days, and each trade counts toward your account''s 5,000 trades a day.'
schema:
type: string
- name: since
in: query
required: false
description: With `include=trades`, returns trades opened at or after this time, in ISO 8601 with an offset.
schema:
type: string
- name: result
in: query
required: false
description: 'With `include=trades`, returns trades with this result: `open`, `win` or `loss`.'
schema:
type: string
- name: limit
in: query
required: false
description: Applies with `include=trades`. The number of rows on each page, from 1 to 200.
schema:
type: integer
- name: cursor
in: query
required: false
description: Applies with `include=trades`. Pass the `nextCursor` from the previous page to read the next one. A cursor works only on the listing that made it. See Paging (https://rivo.markets/docs/concepts#paging).
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:
id:
type: string
description: 'The bot''s id: `trader:<id>`, `signal:<id>` or `market:<id>`.'
name:
type: string
description: The bot's name. A trader bot takes its trader's name, and a market bot takes the name of its market or series.
kind:
type: string
description: The kind of bot. A `trader` bot copies one trader, a `signal` bot runs a signal, and a `market` bot runs a price rule on one market.
mode:
type: string
description: Whether the bot trades on `paper` or `live`. A live bot trades real money. You set it up in the app, and the API can only read it. A live bot's counts and profit come from its real orders on the venue, never from paper.
summary:
type: string
description: What the bot does, in one line.
status:
type: string
description: 'The bot''s status: `running`, `paused` or `ended`. A signal bot is never paused. It runs for as long as it exists.'
venues:
type: array
items:
type: string
description: The venues the bot trades on.
profit:
type: number
description: The bot's profit in USD, from both closed and open trades.
winRate:
type: number
description: The share of the bot's settled trades that won, from 0 to 1.
lastTradeAt:
type: string
description: When the bot last traded, in ISO 8601 UTC.
settings:
type: object
properties:
trader:
type: object
properties:
ref:
type: string
description: The trader's ref.
name:
type: string
description: The trader's public name.
description: On a trader bot, the trader it copies.
signal:
type: object
description: On a signal bot, the signal, with the same fields Backtest (https://rivo.markets/docs/reference/backtest) takes. It is `null` when the bot holds settings that only the app can edit.
market:
type: object
properties:
ref:
type: string
description: The contract's ref.
title:
type: string
description: The contract's title.
outcome:
type: string
description: 'The side the bot trades: `Yes` or `No`.'
series:
type: boolean
description: Whether the bot follows the repeating series.
description: On a market bot, the contract and side it watches.
rule:
type: object
description: On a market bot, the rule, with the same fields `POST /v2/bots` takes.
sizing:
type: object
description: 'How much each trade stakes: `{ usd }` or `{ percent, maxUsd }`.'
mirrorExits:
type: boolean
description: On a trader bot, whether it sells when the trader sells.
copy:
type: object
description: 'On a trader bot, its copy rules, in the same shape `copy` takes on create, update and backtest: `newPositionsOnly`, `minPrice`, `maxPrice`, `minAmountUsd`, `maxAmountUsd`, `categories`, `maxBets`, `oneSidePerMarket`, `endsWithinHours` and `maxPerGameUsd`, a null meaning no limit.'
dailyCapUsd:
type: number
description: On a trader bot, its daily limit on buys in USD, or `null` for none.
slippage:
type: object
description: 'On a trader bot, its slippage: `{ cents }` over the trader''s price or `{ percent }` of it, or `null` on the 2.5% default.'
alerts:
type: boolean
description: Whether the bot sends in-app and Telegram messages.
buyWindows:
type: array
items: {}
description: On a market bot, the parts of each market it may buy in, `[{ fromSeconds, untilSeconds }]` from the open, or `null` to buy at any time.
sellBeforeCloseSeconds:
type: number
description: On a market bot, how many seconds before each close it sells what it holds, or `null` to hold to settlement.
pauseLimits:
type: object
description: On a market bot, the limits that pause it by itself (`dayLossUsd`, `drawdownUsd`, `minWinRatePct`, `winRateTrades`), or `null` for none.
description: What the bot runs. The response includes only the fields for the bot's kind.
record:
type: object
properties:
trades:
type: integer
description: The number of trades the bot took.
settled:
type: integer
description: The number of trades that settled or closed.
wins:
type: integer
description: The number of wins.
losses:
type: integer
description: The number of losses.
open:
type: integer
description: The number of trades still open.
winRate:
type: number
description: The share of settled trades that won, from 0 to 1.
realized:
type: number
description: The profit from closed trades, in USD.
unrealized:
type: number
description: The profit on open trades, in USD.
profit:
type: number
description: The closed and open profit added together, in USD.
staked:
type: number
description: The dollars the bot staked.
return:
type: number
description: The profit divided by the dollars staked.
description: The bot's record.
curve:
type: array
items:
type: object
properties:
time:
type: string
description: The time of this point, in ISO 8601 UTC.
profit:
type: number
description: The total profit up to this point, in USD.
description: The running total of closed profit, one point for each trade.
trades:
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 the trade is on. Here `category` and `kind` are always `null`.
outcome:
type: string
description: The side the bot bought.
contracts:
type: number
description: The number of contracts bought.
entryPrice:
type: number
description: The price paid, from 0 to 1.
price:
type: number
description: The price now while the trade is open. Once it closes, this is the exit price or the payout.
profit:
type: number
description: The profit in USD.
status:
type: string
description: Whether the trade is `open` or `closed`.
result:
type: string
description: 'The result once the trade closes: `win`, `loss` or `void`.'
openedAt:
type: string
description: When the trade opened, in ISO 8601 UTC.
closedAt:
type: string
description: When the trade closed, in ISO 8601 UTC.
rule:
type: object
properties:
savedAt:
type: string
description: When this version of the rule was saved, in ISO 8601 UTC.
summary:
type: string
description: The rule in words. For a market bot, its rule, stake and timing settings. For a trader bot, its copy settings. For a signal bot, its signal, sizing and autopilot.
description: The bot's rule when it made this trade, as it was saved then, so trades from before and after an edit can be told apart. `null` on trades from before the bot's rule was kept.
description: The trades 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 the bot's trades, newest first, when you ask for `include=trades`.
live:
type: object
properties:
since:
type: string
description: When it placed its first real order, in ISO 8601 UTC.
limits:
type: object
description: 'Its limits in USD and how close it is to them: `spentToday` against `dailyLimit`, `lossWindowProfit` since `lossWindowStartedAt` against `lossLimit`, `openBets` against `maxOpen`, and `maxPerTrade`. A limit that is not set is `null`.'
orders:
type: array
items:
type: object
description: 'Its 20 newest orders: `at`, `side` (`buy` or `sell`), `market`, `outcome`, `status` (`filled`, `partial`, `working`, `canceled` or `refused`), `contracts`, `price`, `usd`, and `reason` when it did not fill.'
skipped:
type: object
description: 'Trades it saw in the last 24 hours and did not copy: `total`, `reasons` (each `{ reason, count }`), and the 10 newest in `recent`.'
unpriced:
type: integer
description: Open holdings the venue has no price for right now. The record holds them at cost.
description: 'On a live bot only: what it sent to the venue, its limits and what it passed on.'
activity:
type: object
properties:
trades:
type: integer
description: The number of trades the trigger matched in the window.
windowDays:
type: integer
description: The length of the window in days, which is 30.
medianTradeUsd:
type: number
description: The middle trade size, in USD.
lastTradeAt:
type: string
description: When the newest matching trade happened, in ISO 8601 UTC.
dailyPositions:
type: object
properties:
days:
type: integer
description: Days they opened at least one position.
average:
type: number
description: New positions on a day they opened any.
max:
type: integer
description: New positions on their busiest day. Size `maxBets` or a daily limit to it.
description: 'On a trader bot, the trader''s new positions a day in the window: each market and outcome counted on the UTC day of its first buy, as `copy.maxBets` counts bets. Left out when they opened none.'
description: How busy the bot's trigger has been, when you ask for `include=activity`. It is `null` for a market bot.
description: The bot you asked for. You can find its trade count in `record.trades`.
example:
data:
id: signal:2c91e7d4-5a3b-4f08-b6e2-91d04f7a3c55
name: Kalshi sports buys, 30¢ to 70¢, $5,000 or more
kind: signal
mode: paper
summary: Kalshi sports buys, 30¢ to 70¢, $5,000 or more
status: running
venues:
- kalshi
profit: 523.17
winRate: 0.5521
lastTradeAt: '2026-10-15T01:58:12.000Z'
settings:
signal:
entry: all
venue:
- kalshi
category:
- sports
minUsd: 5000
priceMin: 0.3
priceMax: 0.7
skipLosingTraders: true
sizing:
usd: 100
alerts: true
record:
trades: 212
settled: 192
wins: 106
losses: 86
open: 20
winRate: 0.5521
realized: 498.6
unrealized: 24.57
profit: 523.17
staked: 19200
return: 0.026
curve:
- time: '2026-09-22T19:04:51.000Z'
profit: -100
- time: '2026-09-23T01:12:08.000Z'
profit: 21.43
trades:
data:
- market:
ref: a2Fsc2hpOm1hcmtldDpLWE1MQkdBTUUtMjZPQ1QxNDIwMDBNSUxMQUQtTUlM
contract: a2Fsc2hpOm1hcmtldDpLWE1MQkdBTUUtMjZPQ1QxNDIwMDBNSUxMQUQtTUlM
venueId: KXMLBGAME-26OCT142000MILLAD-MIL
title: Milwaukee wins
venue: kalshi
category: null
kind: null
outcome: 'Yes'
contracts: 256.41
entryPrice: 0.39
price: 0.87
profit: 123.08
status: open
result: null
openedAt: '2026-10-14T22:49:10.000Z'
closedAt: null
nextCursor: eyJvIjoxfQ
activity:
trades: 241
windowDays: 30
medianTradeUsd: 8420.5
lastTradeAt: '2026-10-15T01:58:12.000Z'
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