lookupApplicationByID - Algorand

Lookup application.

Endpoint

httpGET /v2/applications/{application-id}

Path Parameters

ParameterTypeRequiredDescription
application-idintegerYes—

Query Parameters

ParameterTypeRequiredDescription
include-allbooleanOptionalInclude all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.

Example

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

curl "${ALGO_INDEXER}v2/applications/REPLACE_APPLICATION-ID"

Response

Returns application/json. Top-level fields:

FieldTypeDescription
applicationobjectApplication index and its parameters
current-roundintegerRound at which the results were computed.

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