BRC-20 API is a RESTful API for BRC-20 token data indexing and querying. It provides endpoints to retrieve information about BRC-20 tokens, including their status, holders, history, and more.
👉 View Swagger UI
Method: GET
Path: /v1/indexer/brc20/bestheight
Swagger Link: View in Swagger UI
Get the best block height of BRC20 data. This value will be consistent with the latest block height a short time after the block has been confirmed.
Method: GET
Path: /v1/indexer/brc20/list
Swagger Link: View in Swagger UI
Get the tiker list of BRC20 token.
start
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedMethod: GET
Path: /v1/indexer/brc20/status
Swagger Link: View in Swagger UI
Obtain BRC20 list status
start
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedsort
(query) : sort by (holders/deploy/minted/transactions)complete
(query) : filter by (completed or not)Method: GET
Path: /v1/indexer/brc20/{ticker}/info
Swagger Link: View in Swagger UI
Get the infomation of BRC20 by ticker.
ticker
(path) (required): Token tickerDue to the inability to transmit special characters on the router, for tickers containing special characters, please use the hexadecimal encoding format.
export function stringToHex(stringToEncode: string) {
return Buffer.from(stringToEncode).toString("hex");
}
Method: GET
Path: /v1/indexer/brc20/{ticker}/holders
Swagger Link: View in Swagger UI
Get the holders of BRC20 by ticker.
ticker
(path) (required): Token tickerstart
(query) (required): Start offsetlimit
(query) (required): Number of returnedMethod: GET
Path: /v1/indexer/brc20/{ticker}/history
Swagger Link: View in Swagger UI
Get the full history of BRC20.
ticker
(path) (required): Token tickertype
(query) (required): Filter by history typeheight
(query) (required): Block heightstart
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedMethod: GET
Path: /v1/indexer/brc20/{ticker}/tx/{txid}/history
Swagger Link: View in Swagger UI
Get the full history of BRC20 by address.
ticker
(path) (required): Token tickertxid
(path) (required): txidtype
(query) (required): Filter by history typestart
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedMethod: GET
Path: /v1/indexer/brc20/history-by-height/{height}
Swagger Link: View in Swagger UI
Get the tiker list of BRC20 token.
height
(path) (required): Block Heightstart
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedMethod: GET
Path: /v1/indexer/address/{address}/brc20/summary
Swagger Link: View in Swagger UI
Obtain BRC20 token summary by address, including available balance, transferable balance
address
(path) (required): Addressstart
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedtick_filter
(query) : Filter by tick type (8 Filter ticks with selfMint set to false, 16 Filter ticks with selfMint set to true, 24 Return all ticks regardless of selfMint.)exclude_zero
(query) : Exclude zero balanceEach ticker includes two types of balances:
Method: GET
Path: /v1/indexer/address/{address}/brc20/summary-by-height/{height}
Swagger Link: View in Swagger UI
Obtain BRC20 token summary by address, including available balance, transferable balance
address
(path) (required): Addressheight
(path) (required): Block Heightstart
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedMethod: GET
Path: /v1/indexer/address/{address}/brc20/{ticker}/info
Swagger Link: View in Swagger UI
Obtain BRC20 token infomation by address, including available balance, transferable balance, number of transferable inscriptions, the first few Inscriptions, etc.
address
(path) (required): Addressticker
(path) (required): Token tickerMethod: GET
Path: /v1/indexer/address/{address}/brc20/history
Swagger Link: View in Swagger UI
Get the full history of BRC20 by address.
address
(path) (required): Addressstart
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedMethod: GET
Path: /v1/indexer/address/{address}/brc20/{ticker}/history
Swagger Link: View in Swagger UI
Get the full history of BRC20 by address.
address
(path) (required): Addressticker
(path) (required): Token tickertype
(query) (required): Filter by history typestart
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedMethod: GET
Path: /v1/indexer/address/{address}/brc20/{ticker}/transferable-inscriptions
Swagger Link: View in Swagger UI
Get the transferable inscriptions list of BRC20 by address.
address
(path) (required): Addressticker
(path) (required): Token tickerstart
(query) (required): Start offsetlimit
(query) (required): Number of inscriptions returnedMethod: GET
Path: /v1/indexer/brc20-module/{module}/history
Swagger Link: View in Swagger UI
Get the history of BRC20 Module.
module
(path) (required): Addressstart
(query) (required): Start heightend
(query) (required): End heightcursor
(query) (required): Start Offsetsize
(query) (required): Number of events returnedMethod: GET
Path: /v1/indexer/brc20-module/withdraw-history
Swagger Link: View in Swagger UI
Get the withdraw history of BRC20.
start
(query) (required): Start heightend
(query) (required): End heightcursor
(query) (required): Start Offsetsize
(query) (required): Number of events returned