Skip to main content
POST
Copy trade (unavailable)

Authorizations

Authorization
string
header
required

An OceanX API key, created in the app under Settings → Developer API. Send it as Authorization: Bearer ox_live_…. Required scopes are operation-specific: market reads use md.read, tracker uses tracker.read, copy reads use copy.read, alert operations use alerts.read or alerts.write, and owned wallet/funding reads require explicit account.read. New scopes require explicit selection and grant no trading authority. Existing perps operations retain their documented scopes.

Body

application/json
chain
enum<string>
required
Available options:
solana,
base,
bnb,
ethereum,
robinhood
wallet
string
required
Maximum string length: 44
targetWallet
string
required
Maximum string length: 44
mode
enum<string>
required
Available options:
buys,
all
maxPerTradeUsd
string
required
Maximum string length: 48
Pattern: ^(0|[1-9]\d{0,19})(\.\d{1,18})?$
dailyCapUsd
string
required
Maximum string length: 48
Pattern: ^(0|[1-9]\d{0,19})(\.\d{1,18})?$
slippageBps
integer
required
Required range: 1 <= x <= 300
clientOrderId
string
required
Required string length: 1 - 64
Pattern: ^[A-Za-z0-9_-]+$
sizingMode
string
required
Allowed value: "fixed"
fixedUsd
string
required
Maximum string length: 48
Pattern: ^(0|[1-9]\d{0,19})(\.\d{1,18})?$

Response

Query parameters or unreadable/body over 8 KiB; after future signature verification, invalid JSON/UTF-8, unknown fields, chain/address/amount, expiry or schedule.

error
object
required
requestId
string

Request identifier on new token endpoints.