RivoMarkets Download Bot Trades API
The download-bot-trades API from RivoMarkets — 1 operation(s) for download-bot-trades.
The download-bot-trades API from RivoMarkets — 1 operation(s) for download-bot-trades.
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-download-bot-trades-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 Download Bot Trades 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: download-bot-trades
paths:
/v2/bots/{id}/audit.csv:
get:
operationId: reference_download_bot_trades
summary: Download Bot Trades
description: 'Downloads a bot''s trade-by-trade record as CSV: a trader or signal bot beside its trader''s trades, a market bot''s entries and exits. Docs: https://rivo.markets/docs/reference/download-bot-trades'
tags:
- download-bot-trades
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: days
in: query
required: false
description: How far back to reach, from 1 to 365 days.
schema:
type: integer
responses:
'200':
description: 'Success: `{ success: true, data }`.'
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
row:
type: string
description: '`bot decision` for a trade the bot decided on, `trader sale` for a sale by the trader in a market the bot bought.'
bot_decided_at_utc / trader_traded_at_utc / seconds_after_trader:
description: When the bot decided, when the trader traded, and the gap in seconds.
trader_fill_* / trader_order_*:
type: number
description: 'The trader''s fill the bot saw, and their whole order at that moment: its dollars, average, lowest and highest price.'
mode:
type: string
description: '`paper` or `live`.'
bot_action / bot_status / skip_reason / detail:
type: string
description: 'What the bot did: `BUY` or `SELL` and the order''s status, or the skip and why.'
bot_limit_price / bot_fill_price / bot_shares / bot_fee_usd:
type: number
description: 'The bot''s order: its price limit, average fill, shares filled and the venue''s fee.'
order_sent_at_utc / order_seconds_working:
description: When the live order reached the venue, and how long it worked before it filled, expired or was canceled. A Kalshi copy rests at its limit about a minute and is not sent again.
book_read_at_utc / book_best_ask / book_contracts_at_or_under_limit / book_usd_at_or_under_limit / book_asks:
description: 'The order book the live order was sized from: when it was read, the cheapest ask (`none offered` when nobody was selling), the contracts offered at or under the bot''s limit and what they cost, and up to 10 ask levels, as `69c x 10; 70c x 15`. Live buys from November 15, 2026 on; empty on earlier rows, paper rows and sales.'
? venue_trades_while_working / lowest_price_traded_while_working / highest_price_traded_while_working / contracts_traded_at_or_under_limit
: type: number
description: 'For a live Kalshi buy that filled nothing: what traded on its side while its order worked, from Kalshi''s public trade feed. Any trade at or under the limit would have matched the order first, so 0 contracts there means no seller met the limit. Read a few minutes after the order ends, for the last 30 days.'
bot_cost_usd / bot_proceeds_usd:
type: number
description: What a buy cost with its fee, or what a sale brought in after its fee.
market_result_for_outcome:
type: string
description: '`won`, `lost`, or `open` for the row''s outcome.'
source_trade_id:
type: string
description: The trader's trade the row is about. Every copy and skip of one trade carries the same id, paper or live and in any of your bots, so files join on it.
position:
type: string
description: 'The bet: `venue:market_id:outcome`. A bot''s bet count counts these, not rows, so count distinct values for positions.'
rivo_received_at_utc / seconds_trader_to_rivo:
description: When Rivo received the trader's trade, and the seconds from their trade to then. `seconds_after_trader` minus this is the bot's own time to decide. Blank on copies made before November 11, 2026 and on some since.
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