Skip to main content
POST
/
v1
/
quotes
/
{quoteId}
/
execute
cURL
curl --request POST \
  --url https://api.nxos.io/v1/quotes/{quoteId}/execute \
  --header 'Authorization: <authorization>'
{
  "object": "trade",
  "transactionId": "txn_b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5",
  "quoteId": "quote_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
  "fromAsset": "USD",
  "toAsset": "USDC",
  "fromAmount": "10000.00",
  "toAmount": "9997.000000",
  "status": "COMPLETED",
  "createdAt": "2025-03-15T14:31:00.000Z"
}

Headers

Authorization
string
required

Bearer token. Format: Bearer <api_key>

Path Parameters

quoteId
string
required

Response

The request has succeeded.

Result of executing a quote.

object
enum<string>
required

Object type. Always trade.

Available options:
trade
transactionId
string
required

Unique transaction identifier.

quoteId
string
required

The quote that was executed.

fromAsset
string
required

Source asset code.

toAsset
string
required

Destination asset code.

fromAmount
string
required

Source amount in major units.

toAmount
string
required

Destination amount in major units.

status
enum<string>
required

Transaction status.

Available options:
COMPLETED
createdAt
string
required

When the trade was executed.