Skip to main content

/extended/v1/search/{id} REST API Endpoint

Search blocks, transactions, contracts, or accounts by hash/ID.

Updated on
Oct 4, 2023

/extended/v1/search/{id} REST API Endpoint

Path Parameters

id
string
REQUIRED
The hex hash string for a block or transaction, account address, or contract address.

Query Parameters

include_metadata
boolean
This includes the detailed data for purticular hash in the response.

Returns

object
object
complete search result for terms
found
boolean
Indicates if the requested object was found or not. Default: false.
results
object
Object carrying the search result.
entity_id
string
The ID used to search this query.
entity_type
string
Value: 'tx_id'.
tx_data
object
Basic search result information about the requested ID.
metadata
object
Describes all transaction types on the Stacks 2.0 blockchain.
Request
1
curl -X 'GET' \
2
'https://docs-demo.stacks-mainnet.quiknode.pro/extended/v1/search/0x5b4f12dcf6eb9de5959398db165f1c094e1e6bea73f2ef9b707faabe559426fa' \
3
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free