Rho Protocol Trading API
The Trading API from Rho Protocol — 3 operation(s) for trading.
The Trading API from Rho Protocol — 3 operation(s) for trading.
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/rho-protocol-trading-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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:
description: ''
title: Rho Exchange Market Data Trading API
contact: {}
version: development
servers:
- url: /api/v1
tags:
- name: Trading
paths:
/orders:
post:
security:
- Bearer: []
- ApiKey: []
description: 'Submits a new order for the user, returning the processed result. Rate limit weight: 1'
tags:
- Trading
summary: Create an order
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/dto.OrdersProcessingResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/dto.ExternalError'
'500':
description: Internal Error
content:
application/json:
schema:
$ref: '#/components/schemas/dto.ExternalError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/dto.RestCreateOrderRequest'
description: RestCreateOrderRequest payload
required: true
/orders/cancel:
post:
security:
- Bearer: []
- ApiKey: []
description: 'Cancels an existing order by orderId or clientOrderId. Rate limit weight: 1'
tags:
- Trading
summary: Cancel an order
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/dto.OrdersProcessingResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/dto.ExternalError'
'500':
description: Internal Error
content:
application/json:
schema:
$ref: '#/components/schemas/dto.ExternalError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/dto.RestCancelOrderRequest'
description: RestCancelOrderRequest payload
required: true
/orders/cancel-all:
post:
security:
- Bearer: []
- ApiKey: []
description: 'Cancels all open orders for the current user. Optional filters by symbol, margin account, or side. Rate limit weight: 5'
tags:
- Trading
summary: Cancel all user orders
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/dto.OrdersProcessingResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/dto.ExternalError'
'500':
description: Internal Error
content:
application/json:
schema:
$ref: '#/components/schemas/dto.ExternalError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/dto.RestCancelAllOrdersRequest'
description: RestCancelAllOrdersRequest payload
required: true
components:
schemas:
dto.ExternalError:
type: object
properties:
code:
type: string
message:
type: string
params:
description: Params carries stable flat string metadata for selected V2 AppErrors only.
type: object
additionalProperties:
type: string
requestId:
type: string
seqId:
type: string
example: '0'
dto.RestCancelAllOrdersRequest:
type: object
properties:
marginAccount:
type: string
side:
type: string
enum:
- buy
- sell
symbol:
type: string
dto.UserTrade:
type: object
properties:
cmdSeqId:
type: string
example: '0'
floatIndex:
type: string
liquidationFees:
type: string
liquidityRole:
type: string
enum:
- maker
- taker
marginAccount:
type: string
orderId:
type: string
example: '0'
price:
type: string
side:
type: string
enum:
- sell
- buy
symbol:
type: string
time:
type: string
tradeType:
type: string
enum:
- regular
- liquidation
- self-trade
tradingFees:
type: string
userId:
type: string
userTradeSeqId:
type: string
example: '0'
volume:
type: string
dto.RestCreateOrderRequest:
type: object
required:
- orderType
- symbol
properties:
clientOrderId:
type: string
maxLength: 36
flags:
type: array
items:
type: string
enum:
- close-position
orderType:
type: string
enum:
- limit
- market
price:
type: string
quantity:
type: string
side:
type: string
enum:
- buy
- sell
symbol:
type: string
timeInForce:
type: string
enum:
- GTC
- IOC
dto.RestCancelOrderRequest:
type: object
required:
- symbol
properties:
clientOrderId:
type: string
maxLength: 36
orderId:
type: string
minimum: 1
example: '0'
symbol:
type: string
dto.OrdersProcessingResponse:
type: object
properties:
orders:
type: array
items:
$ref: '#/components/schemas/dto.Order'
seqId:
type: string
example: '0'
trades:
type: array
items:
$ref: '#/components/schemas/dto.UserTrade'
dto.Order:
type: object
properties:
avgExecutedPrice:
type: string
cancellationReason:
type: string
enum:
- user-request
- auto-risk-reducing
clientOrderId:
type: string
createdAt:
type: string
executedQuantity:
type: string
initialQuantity:
type: string
lastExecutedPrice:
type: string
lastExecutedQuantity:
type: string
leavesQuantity:
type: string
marginAccount:
type: string
orderId:
type: string
example: '0'
price:
type: string
seqId:
type: string
example: '0'
side:
type: string
enum:
- sell
- buy
status:
type: string
enum:
- new
- partially-filled
- filled
- rejected
- cancelled
symbol:
type: string
userId:
type: string
securitySchemes:
Bearer:
type: apiKey
name: Authorization
in: header