searchForAssets - Algorand

Search for assets.

Endpoint

httpGET /v2/assets

Query Parameters

ParameterTypeRequiredDescription
include-allbooleanOptionalInclude all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
limitintegerOptionalMaximum number of results to return. There could be additional pages even if the limit is not reached.
nextstringOptionalThe next page of results. Use the next token provided by the previous results.
creatorstringOptionalFilter just assets with the given creator address.
namestringOptionalFilter just assets with the given name.
unitstringOptionalFilter just assets with the given unit.
asset-idintegerOptionalAsset ID

Example

bashexport ALGO_INDEXER=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${ALGO_INDEXER}v2/assets"

Response

Returns application/json. Top-level fields:

FieldTypeDescription
assetsarray—
current-roundintegerRound at which the results were computed.
next-tokenstringUsed for pagination, when making another request provide this token with the next parameter.

Error Handling

ErrorMessageDescription
400Bad requestA parameter was missing or malformed
404Not foundThe requested resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect