Fetching all NFDs owned by an address
In order to fetch all NFDs owned by a particular account, use the v2/search api on the account, searching on owner. eg: Showing all NFDs owned by the nfdomains account.
This will return the first 50 (by default) NFDs owned (not expired or for-sale) by this NFD. The limit parameter can be changed to a maximum of 200. To iterate, set offset accordingly to walk the results.
Search NFDs via various filters
name or partial match of NFD name to filter on
The parent NFD Application ID to find. Used for fetching segments of an NFD
1000000
An Algorand Account address
4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU
Pattern: ^[A-Z2-7]{57}[AEIMQUY4]$
An Algorand Account address
4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU
Pattern: ^[A-Z2-7]{57}[AEIMQUY4]$
Should NFDs reserved for an account (transfers for example or unclaimed winning auctions) be excluded
The start of an NFD name, fetching multiple NFDs that have that prefix
Part of an NFD name, fetching multiple NFDs that have that substring (minimum 3 characters)
Verified property name to search on - specify value with vvalue
discord
Possible values: Value to find in the vproperty field specified with the vproperty parameter
abc123
Whether to explicitly filter on segments being locked or unlocked. Typically only valuable when filtering on unlocked
false
Whether to explicitly filter on NFD roots or segments. True to only see roots, False to only see segments.
false
Minimum price of NFD
Maximum price of NFD
Minimum price of NFD Segment in USD (cents)
Maximum price of NFD Segment in USD (cents)
Fetch NFDs that changed after the specified timestamp
1970-01-01T00:00:01Z
Return only NFDs with an expiration time at or before the specified timestamp
1970-01-01T00:00:01Z
Limit the number of results returned - max 200
50
Starting document in large list. Fetch 1-100 [limit 100], pass offset 100 to fetch 100-200
0
What to sort on
createdDesc
Possible values: View of data to return, tiny (name, owner, caAlgo, unverifiedCaAlgo only), brief (default), or full
brief
Possible values: etag
OK response.
ETag not changed
invalidAddress: invalidAddress is returned for an Algorand address that doesn't appear to be valid
notFound: Not Found response.
rateLimited: Too Many Requests response.
GET /nfd/v2/search HTTP/1.1
Host: api.nf.domains
Accept: */*
{
"match-check": "abc123",
"nfds": [
{
"appID": 1000000,
"asaID": 1,
"avatarOutdated": false,
"caAlgo": [
"4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU"
],
"cache-control": "abc123",
"category": "abc123",
"currentAsOfBlock": 1,
"depositAccount": "4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU",
"etag": "abc123",
"expired": false,
"match-check": "abc123",
"metaTags": [
"abc123"
],
"name": "abc123",
"nfdAccount": "4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU",
"owner": "4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU",
"parentAppID": 1000000,
"properties": {
"internal": {
"abc123": "abc123"
},
"userDefined": {
"ca:b": "abc123"
},
"verified": {
"caAlgo": "abc123"
}
},
"reservedFor": "4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU",
"saleType": "abc123",
"sellAmount": 1,
"seller": "4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU",
"sigNameAddress": "4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU",
"state": "abc123",
"tags": [
"abc123"
],
"timeChanged": "1970-01-01T00:00:01Z",
"timeCreated": "1970-01-01T00:00:01Z",
"timeExpires": "1970-01-01T00:00:01Z",
"timePurchased": "1970-01-01T00:00:01Z",
"unverifiedCa": {
"btc": [
"12KKDt4Mj7N5UAkQMN7LtPZMayenXHa8KL"
]
},
"unverifiedCaAlgo": [
"4F5OA5OQC5TBHMCUDJWGKMUZAQE7BGWCKSJJSJEMJO5PURIFT5RW3VHNZU"
]
}
],
"total": 1
}
Last updated