Skip to main content
POST
/
v1
/
orders
Create order
curl --request POST \
  --url https://api.numofx.com/v1/orders \
  --header 'Content-Type: application/json' \
  --data '
{
  "order_id": "<string>",
  "owner_address": "<string>",
  "signer_address": "<string>",
  "subaccount_id": "<string>",
  "recipient_id": "<string>",
  "nonce": "<string>",
  "asset_address": "<string>",
  "worst_fee": "<string>",
  "expiry": 123,
  "action_json": "<unknown>",
  "signature": "<string>",
  "sub_id": "0",
  "desired_amount": "<string>",
  "filled_amount": "0",
  "limit_price": "<string>",
  "order_entry_spec": "<string>",
  "ui_intent": {
    "price": "<string>",
    "size": "<string>"
  }
}
'
{
  "order": {
    "order_id": "<string>",
    "owner_address": "<string>",
    "signer_address": "<string>",
    "subaccount_id": "<string>",
    "recipient_id": "<string>",
    "nonce": "<string>",
    "asset_address": "<string>",
    "sub_id": "<string>",
    "desired_amount": "<string>",
    "filled_amount": "<string>",
    "limit_price": "<string>",
    "worst_fee": "<string>",
    "expiry": 123,
    "action_json": "<unknown>",
    "signature": "<string>",
    "status": "<string>",
    "market": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.numofx.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
order_id
string
required
owner_address
string
required
signer_address
string
required
subaccount_id
string
required
recipient_id
string
required
nonce
string
required
asset_address
string
required
worst_fee
string
required
expiry
integer
required
action_json
any
required
signature
string
required
side
enum<string>
Available options:
buy,
sell
sub_id
string
default:0
desired_amount
string
filled_amount
string
default:0
limit_price
string
order_entry_spec
string
ui_intent
object

Response

Accepted order

order
object