Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Rho Protocol Trading API

The Trading API from Rho Protocol — 3 operation(s) for trading.

Rho Protocol Trading API is one of 4 APIs that Rho Protocol publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Trading. The published artifact set on APIs.io includes an OpenAPI specification and an AsyncAPI specification.

This API exposes 3 operations across 3 paths, and defines 7 schemas. It is described by OpenAPI 2.0, at version development.

Requests are made against the base URL https://x.rho.trading/api/v1.

3 operations 3 paths 7 schemas 3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
development
Base URL
https://x.rho.trading/api/v1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Rho Protocol Trading API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (Bearer).

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 POST. Each is listed below with its method, path, parameters, and response codes.

Trading 3
POST
/orders
Create an order
1 param → 200400500
POST
/orders/cancel
Cancel an order
1 param → 200400500
POST
/orders/cancel-all
Cancel all user orders
1 param → 200400500

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are dto.Order (17 properties), dto.UserTrade (15 properties), dto.RestCreateOrderRequest (8 properties), dto.ExternalError (5 properties). Each schema is shown below with its type and property counts.

dto.OrdersProcessingResponse
object
3 properties
dto.RestCancelAllOrdersRequest
object
3 properties
dto.RestCreateOrderRequest
object
8 properties 2 required
dto.UserTrade
object
15 properties
dto.RestCancelOrderRequest
object
3 properties 1 required
dto.Order
object
17 properties
dto.ExternalError
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

rho-protocol-trading-api-openapi.yml Raw ↑

Other APIs Rho Protocol publishes across the network.

Rho Protocol Market Data API
Rho Protocol Stats API
Rho Protocol User Data API