SIGNED Endpoint Example

This step-by-step guide demonstrates how to send a valid signed payload from the Linux command line using echo, openssl, and curl.


πŸ” Keys

Key
Value

apiKey

vmPUZE6mv9SD5V5e14y7Ju91duEh8A

secretKey

902ae3cb34ecee2779aa4d3e1d226686


πŸ“¦ Request Parameters

Parameter
Value

symbol

BTCUSDT

side

BUY

type

LIMIT

volume

1

price

9300


🧾 Request Body

jsonCopyEdit{"symbol":"BTCUSDT","price":"9300","volume":"1","side":"BUY","type":"LIMIT"}

πŸ” Signature Construction

Using:

Example values:

  • timestamp: 1588591856950

  • method: POST

  • requestPath: /sapi/v1/order/test

  • body: {"symbol":"BTCUSDT","price":"9300","volume":"1","side":"BUY","type":"LIMIT"}

Signature Command (Linux):

Output:


πŸ“‘ cURL Command

Last updated