Skip to main content

Get NFT Transactions

This endpoint allows you to fetch the NFT transaction history for a given address.

Endpoint

GET https://api.spacescan.io/address/nft-transaction/{address}

Parameters

ParameterTypeRequiredDefaultDescription
addressstringYes-The XCH address to fetch NFT transactions for
countnumberNo100Number of transactions to return per type
send_cursornumberNonullPagination cursor for sent transactions
received_cursornumberNonullPagination cursor for received transactions
Free API

Use api.spacescan.io for free tier access. See our API Plans for rate limits and features.

Pro API

Use pro-api.spacescan.io with your API key in the x-api-key header. See our API Plans for details.

curl -X GET "https://pro-api.spacescan.io/address/nft-transaction/{address}" \
-H "x-api-key: YOUR_API_KEY"

Live API Test

Request Examples

# Initial request
curl -X GET "https://api.spacescan.io/address/nft-transaction/xch1..."

# Paginated request for specific transaction types
curl -X GET "https://api.spacescan.io/address/nft-transaction/xch1...?send_cursor=100&received_cursor=50"

Response

Failed to load API response. Please try again later.

Response Schema

FieldTypeDescription
statusstringSuccess or failure status
send_transactions.transactionsarrayList of sent NFT transactions
send_transactions.transactions[].coin_idstringUnique identifier for the coin
send_transactions.transactions[].timestringISO timestamp of the transaction
send_transactions.transactions[].heightnumberBlock height of the transaction
send_transactions.transactions[].nft_idstringThe unique identifier of the NFT
send_transactions.transactions[].tostringRecipient address
send_transactions.transactions[].memostring[]Optional memo array
send_transactions.next_cursornumberCursor for next page of sent transactions
send_transactions.total_countnumberTotal count of sent transactions
received_transactions.transactionsarrayList of received NFT transactions
received_transactions.transactions[].coin_idstringUnique identifier for the coin
received_transactions.transactions[].timestringISO timestamp of the transaction
received_transactions.transactions[].heightnumberBlock height of the transaction
received_transactions.transactions[].nft_idstringThe unique identifier of the NFT
received_transactions.transactions[].fromstringSender address
received_transactions.transactions[].memostring[]Optional memo array
received_transactions.next_cursornumberCursor for next page of received transactions
received_transactions.total_countnumberTotal count of received transactions

Notes

  • Each transaction type (sent/received) can be paginated independently