Get Runes Listing: API Guide for OKX Runes Marketplace

·

This comprehensive guide explains how to use the OKX Runes API to retrieve listing information for Runes tokens on the OKX marketplace. The API supports querying specific collection details using runesId.

API Overview

The get-runes-order-list endpoint allows developers to:

API Endpoint

Request Method: GET
Endpoint URL:
https://web3.okx.com/api/v5/mktplace/nft/runes/get-runes-order-list

Request Parameters

ParameterTypeRequiredDescription
runesIdStringYesUnique identifier for the Runes token
cursorStringNoPagination cursor (max 1,000 records)
limitIntegerNoResults per page (default: 10, max: 100)
sortByStringNoSorting criteria (see options below)

Sorting Options

Response Parameters

The API returns detailed information about each listing:

ParameterTypeDescription
assetIdIntegerDatabase primary key
tickerTypeStringToken type (4 for Runes)
tickerIntegerToken name
tickerIdStringToken identifier
ownerAddressStringOwner's wallet address
amountStringXRC20 amount in UTXO
chainIntegerBlockchain identifier
inscriptionNumStringInscription number
utxoTxHashStringTransaction hash
utxoVoutIntegerUTXO vout value
utxoValueStringUTXO value
txHashStringTransaction hash
nameStringToken name
tickerIconStringToken icon URL
statusIntegerListing status (0-2)
listTimeLongTimestamp of listing
orderIdLongOrder identifier
confirmationsLongBlock height info
currencyStringPrice currency
currencyUrlStringCurrency logo URL
satPriceBigDecimalPrice in satoshis
priceBigDecimalPrice in BTC
usdPriceBigDecimalPrice in USD
symbolStringCurrency symbol

Implementation Guide

👉 For complete API documentation and integration examples

  1. Authentication: Ensure you have proper API keys
  2. Rate Limits: Be aware of request limitations
  3. Error Handling: Implement robust error handling
  4. Data Caching: Consider caching frequent requests

FAQ Section

What is the maximum number of records I can retrieve?

The API supports retrieving up to 1,000 records using cursor pagination.

How often is the listing data updated?

Listing data is updated in real-time as new orders are created or modified.

Can I filter listings by price range?

While the current API doesn't support price range filters, you can implement client-side filtering after retrieval.

What status codes indicate a successful request?

HTTP 200 indicates success, while 4xx/5xx codes indicate various error conditions.

👉 For advanced filtering options and premium API features

Best Practices

Conclusion

This API provides comprehensive access to Runes token listings on OKX's marketplace. By following this guide and implementing the suggested best practices, developers can effectively integrate this functionality into their applications.

For additional support, visit our developer portal or join the community forums.