v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
NFT

Get NFT Transaction History (USER_DATA)

  • The max interval between startTime and endTime is 90 days.
  • If startTime and endTime are not sent, the recent 7 days' data will be returned.

Weight(UID): 3000

get/sapi/v1/nft/history/transactions

Query parameters

orderTypeinteger required
Example:1

0: purchase order, 1: sell order, 2: royalty income, 3: primary market order, 4: mint fee

startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

limitinteger
Example:50

Default 50, Max 50

pageinteger
Example:1

Default 1

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

NFT Transaction History

totalinteger required

Example response

{
  "total": 1,
  "list": [
    {
      "orderNo": "1_470502070600699904",
      "tokens": [
        {
          "network": "BSC",
          "tokenId": "216000000496",
          "contractAddress": "MYSTERY_BOX0000087"
        }
      ],
      "tradeTime": 1626941236000,
      "tradeAmount": "19.60000000",
      "tradeCurrency": "BNB"
    }
  ]
}