Query Flowns domain data by Flowns API

API for integrating domains and query domain data

Mainnet vs. Testnet

Flowns offers two networks for their chain: Mainnet and Testnet. Both offer the same API methods using API requests. The difference is the URL endpoint:

Mainnet: https://flowns.org/api/data

Testnet: https://testnet.flowns.org/api/data

Query domain list by user address

https://testnet.flowns.org/api/data/address/0x3c09a556ecca42dc

[
	{
	"id": 23371,
	"owner": "0x3c09a556ecca42dc",
	"name": "caosbad.fn",
	"nameHash": "0xbe8ef4435778251364cdd4cdc3c48515a50c2700ba774e5b896163786b18043e",
	"expiredAt": "1699342042.00000000",
	"addresses": {
	"0": "0x3c09a556ecca42dc"
	},
	"texts": {},
	"parentName": "fn",
	"subdomainCount": 0,
	"subdomains": {},
	"createdAt": "1636270042.00000000",
	"vaultBalances": {
	"A.7e60df042a9c0868.FlowToken.Vault": "4.85654400"
	},
	"collections": {},
	"receivable": true,
	"deprecated": false,
	"expired": false,
	"mediaUrl": "<https://testnet.flowns.org/api/data/image/caosbad.fn>"
	},
...
}

Params

// <https://testnet.flowns.org/api/data/address/0x3c09a556ecca42dc?onlyName=true>

[
	"caosbad.fn",
	"testname.fn",
	"flown.fn",
	"cosine.fn",
	"flownsname.fn"
]
// <https://testnet.flowns.org/api/data/address/0x3c09a556ecca42dc?onlyId=true>

[
	23371,
	23377,
	23376,
	23370,
	23397
]
// <https://testnet.flowns.org/api/data/address/0x3c09a556ecca42dc?onlyHash=true>

[
	"0xbe8ef4435778251364cdd4cdc3c48515a50c2700ba774e5b896163786b18043e",
	"0x576b402cd7f2d32a02f827667124f5a65e39f107838bc4cfc81538075d86162c",
	"0x016db559c4cd9597c8b696fe3a5d480a9487bc014358821a319c0745712964bf",
	"0x59aafbc9486bccebe96d48d9eee017ca39dfc8064dcec0f3d17b8d0caaa2d9c9",
	"0x5835ccb4b6b1e3dfe3854d2caf480828021bdf4053de33ae50ae72ed4868c370"
]