Skip to main content

List all Assets REST API Endpoint

Retrieve a list of all assets on the Stellar network

Updated on
Oct 4, 2023

List all Assets REST API Endpoint

Please note that this method can be used in streaming mode. To read more about this, visit the streaming section.

Query Parameters

asset_code
string
The code of the asset to filter
asset_issuer
string
The address of the issuer for the asset to filter
cursor
integer
A number that points to a specific location in a collection of responses which is pulled from the paging_token value of a record
order
string
The designation of the order of the records. It can be ascending or descending. By default it is set to ascending
limit
integer
The maximum number of records returned

Returns

_links
object
Links related to the asset records
self
object
Self-reference link
href
string
The URL for self-reference
templated
boolean
A boolean value that indicates whether the link is templated or not
next
object
Link to the next set of data
href
string
The URL for next set of data
templated
boolean
A boolean value that indicates whether the link is templated or not
prev
object
Link to the previous set of data
href
string
The URL for previous set of data
templated
boolean
A boolean value that indicates whether the link is templated or not
_embedded
object
The embedded asset records
records
array
An array of asset records
_links
object
Links related to the asset record
toml
object
Link to the TOML file for the asset
href
string
The URL for the TOML file
templated
boolean
A boolean value that indicates whether the link is templated or not
asset_type
string
The type of the asset
asset_issuer
string
An issuer of the asset
paging_token
string
The paging token for the asset record
accounts
object
The number of accounts by authorization status
authorized
integer
The number of authorized accounts
authorized_to_maintain_liabilities
integer
The number of authorized accounts that can maintain liabilities
unauthorized
integer
The number of unauthorized accounts
num_claimable_balances
integer
The number of claimable balances holding this asset
num_contracts
integer
The number of contracts using this asset
num_liquidity_pools
integer
The number of liquidity pools using this asset
balances
object
Balances by authorization status
authorized
string
An authorized balance amount
authorized_to_maintain_liabilities
string
An authorized balance amount that can maintain liabilities
unauthorized
string
An unauthorized balance amount
claimable_balances_amount
string
The total amount of claimable balances holding this asset
contracts_amount
string
The total amount of contracts using this asset
liquidity_pools_amount
string
The total amount of liquidity pools using this asset
amount
string
The total amount of the asset
num_accounts
integer
The number of accounts holding this asset
flags
object
The flags related to the asset
auth_required
boolean
A boolean value that indicates whether authorization is required or not
auth_revocable
boolean
A boolean value that indicates whether authorization is revocable or not
auth_immutable
boolean
A boolean value that indicates whether authorization is immutable or not
Request
1
curl -L -X GET 'https://docs-demo.stellar-mainnet.quiknode.pro/assets' \
2
-H 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free