Skip to main content
GET
/
api
/
v1
/
accounts
/
{idOrAliasOrEvmAddress}
/
allowances
/
nfts
Get non fungible token allowances for an account
curl --request GET \
  --url https://mainnet.mirrornode.hedera.com/api/v1/accounts/{idOrAliasOrEvmAddress}/allowances/nfts
{
  "allowances": [
    {
      "approved_for_all": false,
      "owner": "0.0.11",
      "payer_account_id": "0.0.10",
      "spender": "0.0.15",
      "timestamp": {
        "from": "1651560386.060890949",
        "to": "1651560386.661997287"
      },
      "token_id": "0.0.99"
    }
  ],
  "links": {
    "next": null
  }
}

Path Parameters

idOrAliasOrEvmAddress
string
required

Account alias or account id or evm address

Query Parameters

limit
integer
default:25

The maximum number of items to return

Required range: 1 <= x <= 100
order
enum<string>
default:asc

The order in which items are listed

Available options:
asc,
desc
account.id
string

The ID of the account to return information for

token.id
string

The ID of the token to return information for

owner
boolean
default:true

When the owner value is true or omitted, the accountId path parameter will specify the ID of the owner, and the API will retrieve the allowances that the owner has granted to different spenders. Conversely, when the owner value is false, the accountId path parameter will indicate the ID of the spender who has an allowance, and the API will instead provide the allowances granted to the spender by different owners of those tokens.

Response

OK

allowances
object[]