Stacks Blockchain API
vv8.11.4https://stacks.nownodes.ioAuthentication
api-keyAuthapiKeyAPI Key: api-key in header
Node
Accounts
Read-only endpoints to obtain Stacks account details
Get account assets
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
Parameters
limitinteger[0, 100]20queryResults per page
offsetinteger>= 00queryResult offset
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
until_blockstringqueryBlock hash or block height. Return data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
principalstring | stringrequiredpathResponse
Default Response
Error Response
Get inbound STX transfers
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type,
and transfers from contract-call transactions a the send-many-memo bulk sending contract.
Parameters
limitinteger[0, 50]20queryResults per page
offsetinteger>= 00queryResult offset
heightintegerqueryFilter for transactions only at this given block height
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
until_blockstringqueryBlock hash or block height. Return data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
principalstring | stringrequiredpathResponse
Default Response
Error Response
Get the latest nonce used by an account
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
Parameters
block_heightinteger>= 1queryOptionally get the nonce at a given block height.
block_hashstringqueryOptionally get the nonce at a given block hash. Note - Use either of the query parameters but not both at a time.
principalstring | stringrequiredpathResponse
The latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions
Error Response
Get principal STX balance
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves STX account balance information for a given Address or Contract Identifier.
Parameters
include_mempoolbooleanfalsequeryInclude pending mempool transactions in the balance calculation
principalstring | stringrequiredpathResponse
Default Response
Error Response
Get principal FT balances
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves Fungible-token account balance information for a given Address or Contract Identifier.
Parameters
limitinteger[0, 200]100queryResults per page
offsetinteger>= 00queryResult offset
principalstring | stringrequiredpathResponse
Default Response
Error Response
Get principal FT balance
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a specific fungible-token balance for a given principal.
Parameters
principalstring | stringrequiredpathtokenstringrequiredpathfungible token identifier
Response
Default Response
Error Response
Blocks
Read-only endpoints to obtain Stacks block details
Get blocks
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of recently mined blocks
Parameters
limitinteger[0, 30]20queryResults per page
offsetinteger[-300, 300]0queryResult offset
cursorstringqueryCursor for block pagination
Response
Default Response
Error Response
Get average block times
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves average block times (in seconds)
Response
Default Response
Error Response
Get block
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a single block
Parameters
height_or_hashstring | string | integerrequiredpathResponse
Default Response
Error Response
Get signer signatures for block
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the signer signatures (an array of signature byte strings) in a single block
Parameters
limitinteger[0, 1000]500queryResults per page
offsetinteger>= 00queryResult offset
height_or_hashstring | string | integerrequiredpathResponse
Default Response
Error Response
Get blocks by tenure
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves blocks confirmed in a block tenure
Parameters
limitinteger[0, 30]20queryResults per page
offsetinteger[-300, 300]0queryResult offset
cursorstringqueryCursor for block pagination
tenure_heightinteger>= 0requiredpathBlock tenure height
Response
Default Response
Error Response
Burn Blocks
Read-only endpoints to obtain burn block details
Get burn blocks
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of recent burn blocks
Parameters
limitinteger[0, 30]20queryResults per page
offsetinteger>= 00queryResult offset
Response
Default Response
Error Response
Get burn block
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a single burn block
Parameters
height_or_hashstring | string | integerrequiredpathResponse
Default Response
Error Response
Get blocks by burn block
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of blocks confirmed by a specific burn block
Parameters
limitinteger[0, 30]20queryResults per page
offsetinteger>= 00queryResult offset
height_or_hashstring | string | integerrequiredpathResponse
Default Response
Error Response
Faucets
Endpoints to request STX or BTC tokens (not possible on Mainnet)
Add regtest BTC tokens to address
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Add 0.01 BTC token to the specified regtest BTC address.
The endpoint returns the transaction ID, which you can use to view the transaction in a regtest Bitcoin block
explorer. The tokens are delivered once the transaction has been included in a block.
**Note:** This is a Bitcoin regtest-only endpoint. This endpoint will not work on the Bitcoin mainnet.Body
addressstringA valid regtest BTC address
Parameters
addressstringqueryA valid regtest BTC address
largebooleanfalsequeryRequest a large amount of regtest BTC than the default
xlargebooleanfalsequeryRequest an extra large amount of regtest BTC than the default
Response
POST request that initiates a transfer of tokens to a specified Bitcoin regtest address
Error Response
Get BTC balance for address
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Parameters
addressstringrequiredpathA valid regtest BTC address
Response
Default Response
Error Response
Get STX testnet tokens
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Add 500 STX tokens to the specified testnet address. Testnet STX addresses begin with ST. If the stacking
parameter is set to true, the faucet will add the required number of tokens for individual stacking to the
specified testnet address.
The endpoint returns the transaction ID, which you can use to view the transaction in the
[Stacks Explorer](https://explorer.hiro.so/?chain=testnet). The tokens are delivered once the transaction has
been included in an anchor block.
A common reason for failed faucet transactions is that the faucet has run out of tokens. If you are experiencing
failed faucet transactions to a testnet address, you can get help in [Discord](https://stacks.chat).
**Note:** This is a testnet only endpoint. This endpoint will not work on the mainnet.Body
addressstring[Deprecated -- use query param rather than POST body] A valid testnet STX address
Parameters
addressstringqueryA valid testnet STX address
stackingbooleanfalsequeryRequest the amount of STX tokens needed for individual address stacking
Response
POST request that initiates a transfer of tokens to a specified testnet address
Error Response
Info
Read-only endpoints to obtain network, Proof-of-Transfer, Stacking, STX token, and node information
API status
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the running status of the Stacks Blockchain API, including the server version and current chain tip information.
Response
Default Response
Error Response
Get total and unlocked STX supply
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
Parameters
heightinteger>= 0querySupply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value. Note that the block height is referred to the stacks blockchain.
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
Response
GET request that returns network target block times
Error Response
Get the network target block time
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the target block times for mainnet and testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.
Response
GET request that returns network target block times
Error Response
Get a given network's target block time
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the target block time for a given network. The network can be mainnet or testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.
Parameters
networkstring | stringrequiredpathResponse
GET request that target block time for a given network
Error Response
Microblocks
Read-only endpoints to obtain microblocks details
Get recent microblocks
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of microblocks.
If you need to actively monitor new microblocks, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.Parameters
limitinteger[0, 200]20queryMax number of microblocks to fetch
offsetinteger>= 00queryResult offset
Response
GET request that returns microblocks
Error Response
Get microblock
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a specific microblock by hash
Parameters
hashstringrequiredpathHash of the microblock
Response
A microblock
Error Response
Get the list of current transactions that belong to unanchored microblocks
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves transactions that have been streamed in microblocks but not yet accepted or rejected in an anchor block
Response
Default Response
Error Response
Names
Read-only endpoints realted to the Blockchain Naming System on Stacks
Get Historical Zone File
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the historical zonefile specified by the username and zone hash.
Parameters
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
namestringrequiredpathfully-qualified name
zoneFileHashstringrequiredpathzone file hash
Response
Fetches the historical zonefile specified by the username and zone hash.
Error
Get Name Subdomains
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the list of subdomains for a specific name
Parameters
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
namestringrequiredpathfully-qualified name
Response
Fetch a list of subdomains in a name.
Error Response
Get Zone File
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a user's raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.
Parameters
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
namestringrequiredpathfully-qualified name
Response
Fetch a user's raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.
Error
Get All Names
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of all names known to the node.
Parameters
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
pageinteger>= 00querynames are defaulted to page 1 with 100 results. You can query specific page results by using the 'page' query parameter.
Response
Fetch a list of all names known to the node.
Error
Get Name Details
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves details of a given name including the address, status and last transaction id - last_txid.
Parameters
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
namestringrequiredpathfully-qualified name
Response
Get name details
Error Response
Get All Namespaces
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of all namespaces known to the node.
Parameters
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
Response
Default Response
Error Response
Get Namespace Names
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of names within a given namespace.
Parameters
pagenumberquerynamespace values are defaulted to page 1 with 100 results. You can query specific page results by using the 'page' query parameter.
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
tldstringrequiredpaththe namespace to fetch names from.
Response
Fetch a list of names from the namespace.
Error Response
Get Names Owned by Address
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of names owned by the address provided.
Parameters
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
blockchainstringrequiredpaththe layer-1 blockchain for the address
addressstringrequiredpaththe address to lookup
Response
Retrieves a list of names owned by the address provided.
Error Response
Get Namespace Price
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the price of a namespace. The amount given will be in the smallest possible units of the currency.
Parameters
tldstringrequiredpaththe namespace to fetch price for
Response
Fetch price for namespace.
Error Response
Get Name Price
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the price of a name. The amount given will be in the smallest possible units of the currency.
Parameters
namestringrequiredpaththe name to query price information for
Response
Fetch price for name.
Error Response
Non-Fungible Tokens
Read-only endpoints to obtain non-fungible token details
Non-Fungible Token holdings
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the list of Non-Fungible Tokens owned by the given principal (STX address or Smart Contract ID). Results can be filtered by one or more asset identifiers and can include metadata about the transaction that made the principal own each token.
More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).Parameters
principalstring | stringrequiredqueryasset_identifiersArray<string>querylimitinteger[0, 200]50querymax number of tokens to fetch
offsetinteger>= 00queryindex of first tokens to fetch
tx_metadatabooleanfalserequiredquerywhether or not to include the complete transaction metadata instead of just tx_id. Enabling this option can affect performance and response times.
Response
List of Non-Fungible Token holdings
Error Response
Non-Fungible Token history
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves all events relevant to a Non-Fungible Token. Useful to determine the ownership history of a particular asset.
More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).Parameters
asset_identifierstringrequiredqueryasset class identifier
valuestringrequiredqueryhex representation of the token's unique value
limitinteger[0, 200]50querymax number of events to fetch
offsetinteger>= 00queryindex of first event to fetch
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
tx_metadatabooleanfalserequiredquerywhether or not to include the complete transaction metadata instead of just tx_id. Enabling this option can affect performance and response times.
Response
List of Non-Fungible Token history events
Error Response
Non-Fungible Token mints
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves all mint events for a Non-Fungible Token asset class. Useful to determine which NFTs of a particular collection have been claimed.
More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#non-fungible-tokens-nfts).Parameters
asset_identifierstringrequiredqueryasset class identifier
limitinteger[0, 200]50querymax number of events to fetch
offsetinteger>= 00queryindex of first event to fetch
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
tx_metadatabooleanfalserequiredquerywhether or not to include the complete transaction metadata instead of just tx_id. Enabling this option can affect performance and response times.
Response
List of Non-Fungible Token mint events for an asset identifier
Error Response
Search
Read-only endpoints to search for accounts, blocks, smart contracts, and transactions
Search
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Search blocks, transactions, contracts, or accounts by hash/ID
Parameters
include_metadatabooleanfalsequeryThis includes the detailed data for purticular hash in the response
idstringrequiredpathThe hex hash string for a block or transaction, account address, or contract address
Response
Default Response
Error Response
Default Response
Smart Contracts
Read-only endpoints to obtain Clarity smart contract details
Get contracts by trait
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of contracts based on the following traits listed in JSON format - functions, variables, maps, fungible tokens and non-fungible tokens
Parameters
trait_abistringrequiredqueryJSON abi of the trait.
limitinteger[0, 50]20querymax number of contracts fetch
offsetinteger>= 00queryindex of first contract event to fetch
Response
GET list of contracts
Error Response
Get contract info
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves details of a contract with a given contract_id
Parameters
contract_idstringrequiredpathContract identifier formatted as <contract_address>.<contract_name>
Response
A Smart Contract Detail
Error Response
Get contract events
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of events that have been triggered by a given contract_id
Parameters
limitinteger[0, 50]20querymax number of events to fetch
offsetinteger>= 00queryResult offset
contract_idstringrequiredpathContract identifier formatted as <contract_address>.<contract_name>
Response
List of events
Error Response
Get smart contracts status
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the deployment status of multiple smart contracts.
Parameters
contract_idArray<string> | stringrequiredqueryResponse
Default Response
Error Response
Stacking Rewards
Read-only endpoints to obtain Stacking reward details
Get recent reward slot holders
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of the Bitcoin addresses that would validly receive Proof-of-Transfer commitments.
Parameters
limitinteger[0, 250]96querymax number of items to fetch
offsetinteger>= 00queryResult offset
Response
Default Response
Error Response
Get recent reward slot holder entries for the given address
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of the Bitcoin addresses that would validly receive Proof-of-Transfer commitments for a given reward slot holder recipient address.
Parameters
limitinteger[0, 250]96queryResults per page
offsetinteger>= 00queryResult offset
addressstringrequiredpathReward slot holder recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format
Response
List of burnchain reward recipients and amounts
Error Response
Get recent burnchain reward recipients
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of recent burnchain (e.g. Bitcoin) reward recipients with the associated amounts and block info
Parameters
limitinteger[0, 250]96queryResults per page
offsetinteger>= 00queryResult offset
Response
List of burnchain reward recipients and amounts
Error Response
Get recent burnchain reward for the given recipient
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of recent burnchain (e.g. Bitcoin) rewards for the given recipient with the associated amounts and block info
Parameters
limitinteger[0, 250]96queryResults per page
offsetinteger>= 00queryResult offset
addressstringrequiredpathReward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format
Response
List of burnchain reward recipients and amounts
Error Response
Get total burnchain rewards for the given recipient
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the total burnchain (e.g. Bitcoin) rewards for a given recipient address
Parameters
addressstringrequiredpathReward recipient address. Should either be in the native burnchain's format (e.g. B58 for Bitcoin), or if a STX principal address is provided it will be encoded as into the equivalent burnchain format
Response
Total burnchain rewards made to a recipient
Error Response
Transactions
Endpoints to obtain transaction details and to broadcast transactions to the network
Get recent transactions
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves all recently mined transactions
Parameters
offsetinteger>= 00queryResult offset
limitinteger[0, 50]20queryResults per page
typeArray<string | string | string | string | string | string>queryunanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
orderstring | stringquerysort_bystring | string | stringblock_heightqueryOption to sort results by block height, timestamp, or fee
from_addressstringqueryOption to filter results by sender address
to_addressstringqueryOption to filter results by recipient address
start_timeintegerqueryFilter by transactions after this timestamp (unix timestamp in seconds)
end_timeintegerqueryFilter by transactions before this timestamp (unix timestamp in seconds)
contract_idstringqueryOption to filter results by contract ID
function_namestringqueryFilter by contract call transactions involving this function name
nonceinteger[0, 9007199254740991]queryFilter by transactions with this nonce
Response
List of transactions
Error Response
Get list of details for transactions
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of transactions for a given list of transaction IDs
Parameters
tx_idArray<string>requiredqueryevent_limitinteger[0, 100]20queryResults per page
event_offsetinteger>= 00queryResult offset
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
Response
Default Response
Error Response
Get mempool transactions
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves all transactions that have been recently broadcast to the mempool. These are pending transactions awaiting confirmation.
If you need to monitor new transactions, we highly recommend subscribing to [WebSockets or Socket.io](https://github.com/hirosystems/stacks-blockchain-api/tree/master/client) for real-time updates.Parameters
sender_addressstringquerySTX Address
recipient_addressstringquerySTX Address
addressstringquerySTX Address
order_bystring | string | stringqueryOption to sort results by transaction age, size, or fee rate.
orderstring | stringqueryResults order
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
offsetinteger>= 00queryResult offset
limitinteger[0, 50]20queryResults per page
Response
List of mempool transactions
Error Response
Get statistics for mempool transactions
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Queries for transactions counts, age (by block height), fees (simple average), and size. All results broken down by transaction type and percentiles (p25, p50, p75, p95).
Response
GET request that returns stats on mempool transactions
Error Response
Transaction Events
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types. The list of event types is ('smart_contract_log', 'stx_lock', 'stx_asset', 'fungible_token_asset', 'non_fungible_token_asset').
Parameters
tx_idstringqueryTransaction ID
addressstring | stringquerytypeArray<string | string | string | string | string>queryoffsetinteger>= 00queryResult offset
limitinteger[0, 100]20queryResults per page
Response
Default Response
Error Response
Get transaction
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves transaction details for a given transaction ID
Parameters
event_limitinteger[0, 100]20queryResults per page
event_offsetinteger>= 00queryResult offset
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
tx_idstringrequiredpathTransaction ID
Response
Default Response
Error Response
Get raw transaction
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a hex encoded serialized transaction for a given ID
Parameters
event_limitinteger[0, 100]20queryResults per page
event_offsetinteger>= 00queryResult offset
tx_idstringrequiredpathTransaction ID
Response
GET raw transaction
Error Response
Transactions for address
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves all transactions for a given address that are currently in mempool
Parameters
limitinteger[0, 50]20queryResults per page
offsetinteger>= 00queryResult offset
unanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
principalstring | stringrequiredpathResponse
List of mempool transactions
Error Response
Get transactions by block
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves transactions confirmed in a single block
Parameters
limitinteger[0, 50]20queryResults per page
offsetinteger>= 00queryResult offset
height_or_hashstring | string | integerrequiredpathResponse
Default Response
Error Response
Get address transactions
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a paginated list of confirmed transactions sent or received by a STX address or Smart Contract ID, alongside the total amount of STX sent or received and the number of STX, FT and NFT transfers contained within each transaction.
More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).Parameters
limitinteger[0, 50]20queryResults per page
offsetinteger>= 00queryResult offset
addressstring | stringrequiredpathResponse
Default Response
Error Response
Get events for an address transaction
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a paginated list of all STX, FT and NFT events concerning a STX address or Smart Contract ID within a specific transaction.
Parameters
limitinteger[0, 50]20queryResults per page
offsetinteger>= 00queryResult offset
addressstring | stringrequiredpathtx_idstringrequiredpathTransaction ID
Response
Default Response
Error Response
Mempool
Endpoints to obtain Mempool information
Get mempool transaction fee priorities
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns estimated fee priorities (in micro-STX) for all transactions that are currently in the mempool. Also returns priorities separated by transaction type.
Response
Default Response
Error Response
Proof of Transfer
Endpoints to get information about the Proof of Transfer consensus mechanism
Get PoX cycles
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of PoX cycles
Parameters
limitinteger[0, 60]20queryResults per page
offsetinteger>= 00queryResult offset
Response
Default Response
Error Response
Get PoX cycle
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves details for a PoX cycle
Parameters
cycle_numberintegerrequiredpathPoX cycle number
Response
Default Response
Error Response
Get signers in PoX cycle
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of signers in a PoX cycle
Parameters
limitinteger[0, 250]100queryResults per page
offsetinteger>= 00queryResult offset
cycle_numberintegerrequiredpathPoX cycle number
Response
Default Response
Error Response
Get signer in PoX cycle
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves details for a signer in a PoX cycle
Parameters
cycle_numberintegerrequiredpathPoX cycle number
signer_keystringrequiredpathSigner key
Response
Default Response
Error Response
Get stackers for signer in PoX cycle
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves a list of stackers for a signer in a PoX cycle
Parameters
limitinteger[0, 200]100queryResults per page
offsetinteger>= 00queryResult offset
cycle_numberintegerrequiredpathPoX cycle number
signer_keystringrequiredpathSigner key
Response
Default Response
Error Response
Fungible Tokens
Fungible token holders
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the list of Fungible Token holders for a given token ID. Specify stx for the token parameter to get the list of STX holders.
Parameters
limitinteger[0, 200]100querymax number of holders to fetch
offsetinteger>= 00queryindex of first holder to fetch
tokenstringrequiredpathfungible token identifier
Response
Default Response
Error Response
Stacking
Get latest PoX events
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Parameters
limitinteger[0, 200]96queryResults per page
offsetinteger>= 00queryResult offset
poxstring | string | stringrequiredpathResponse
Default Response
Get PoX events for a transaction
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Parameters
poxstring | string | stringrequiredpathtx_idstringrequiredpathResponse
Default Response
Get events for a stacking address
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Parameters
poxstring | string | stringrequiredpathprincipalstring | stringrequiredpathResponse
Default Response
Stacking pool members
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the list of stacking pool members for a given delegator principal.
Parameters
limitinteger[0, 200]100queryResults per page
offsetinteger>= 00queryResult offset
after_blockinteger>= 1queryIf specified, only delegation events after the given block will be included
heightinteger>= 1queryunanchoredbooleanfalsequeryInclude data from unanchored (i.e. unconfirmed) microblocks
poxstring | string | stringrequiredpathpool_principalstringrequiredpathAddress principal of the stacking pool delegator
Response
Default Response
Error Response