SolanaFM
Search
⌃K

Bonfida

Get a specific domain

Retrieve all domains and subdomains by the given account hash.
get
https://api.solana.fm
/v0/domains/bonfida/{account-hash}
Returns all domains and subdomains information for the given account hash.

Usage Example

Request
Response

Sample Request URL

https://api.solana.fm/v0/domains/bonfida/6Ny5USBv6raFT5EVQNGZBXtEuf9bdVSzf47Veaj56t4M

Sample Response

{
"status": "success",
"message": "Retrieved 1 domain(s)",
"result": [
{
"owner": "6Ny5USBv6raFT5EVQNGZBXtEuf9bdVSzf47Veaj56t4M",
"domains": [
{
"name": "missfrance",
"nameServiceAccount": "CYAhsKbapnu92MCGowZ8aqDygx1zVtx8DYs1LXSFdYZr",
"subdomains": []
}
]
}
]
}

Get multiple favourite domains

Batch retrieve favourite domains of the given account hashes.
post
https://api.solana.fm
/v0/domains/bonfida/favourites
Returns an array of favourite domain information for the given account hashes.

Usage Example

Request
Response

Sample Request Body

{
"accountHashes": [
"DbAdS2MJv8V7JxNuiBpTw1UQPQ6ryDboVf92DwqeuQMv",
"6PzyBQbt3F8aRRAEohn3usYtdTx6nQAVwiFUHVtC7giW"
],
"fidaType": "OWNER"
}

Sample Response

{
"status": "success",
"message": "Retrieved 1 domain(s)",
"result": [
{
"owner": "6PzyBQbt3F8aRRAEohn3usYtdTx6nQAVwiFUHVtC7giW",
"name": "impuesto",
"nameServiceAccount": "6PzyBQbt3F8aRRAEohn3usYtdTx6nQAVwiFUHVtC7giW"
}
]
}

Get favourite domains with a specific account

Retrieve favourite domains by the given account hash.
get
https://api.solana.fm
/v0/domains/bonfida/favourites/{account-hash}
Returns the favourite domain information for the given account hash.

Usage Example

Request
Response

Sample Request URL

https://api.solana.fm/v0/domains/bonfida/favourites/6Ny5USBv6raFT5EVQNGZBXtEuf9bdVSzf47Veaj56t4M

Sample Response

{
"status": "success",
"message": "Retrieved 1 domain(s)",
"result": {
"domains": [
{
"name": "missfrance",
"nameServiceAccount": "CYAhsKbapnu92MCGowZ8aqDygx1zVtx8DYs1LXSFdYZr",
"owner": "6Ny5USBv6raFT5EVQNGZBXtEuf9bdVSzf47Veaj56t4M",
"favourite": true
}
]
}
}

Get sub-domains with multiple accounts

Batch retrieve subdomains of the given account hashes.
post
https://api.solana.fm
/v0/domains/bonfida/subdomains
Returns an array of subdomain information for the given account hashes.

Usage Example

Request
Response

Sample Request Body

{
"accountHashes": [
"AWtw4WVrDpyQEf1e8upxh47Aot5pECtAppeAWiajK6nW",
"GE6DXG7QzXX64TDsfX9GECuVbwxQ6VxpQmhvT1oPXFdp"
]
}

Sample Response

{
"status": "success",
"message": "Retrieved subdomains for 2 owner(s)",
"result": [
{
"owner": "AWtw4WVrDpyQEf1e8upxh47Aot5pECtAppeAWiajK6nW",
"subdomains": [
{
"name": "scams",
"subdomainHash": "2Tkx4fck2MqRWiWmdZdnP97iTHcByU4934hQbkNhKUkd"
},
{
"name": "tokens",
"subdomainHash": "4fsGxgYqboEppzz2gPPvDSJKwzy8w7kz7Gdfqpumd6Zf"
},
{
"name": "rugs",
"subdomainHash": "B3LgYWC8VcnAdCEy86owzoS5LLahVR9ffKBXEXe2sPFU"
},
{
"name": "earners",
"subdomainHash": "TMn55Tvssy5U2poEkSAthfhJaBSqwqcS5eg1B6G3oYT"
},
{
"name": "bank",
"subdomainHash": "2TprTY5h6j3bPyN4TuMnNBMAveufGBPFBvZY2dCCwuJ4"
},
{
"name": "nfts",
"subdomainHash": "FaAJVhs1tCYNWZUVMSi72ps6Wpy8YqpnQwWz9xwVXuiK"
},
{
"name": "nft",
"subdomainHash": "4YKiL2rXiDFp4cwcKAp19uTvtsmLSbBYGrJ8Fu2KfCqv"
},
{
"name": "forty",
"subdomainHash": "5UF5R5J2gMEYXdG5cgP1ZGowM2EUgY5nCv8JAd8ftrT2"
}
]
},
{
"owner": "GE6DXG7QzXX64TDsfX9GECuVbwxQ6VxpQmhvT1oPXFdp",
"subdomains": [
{
"name": "mud",
"subdomainHash": "CKfSW36KdGTWB4Micamdve8FYeb8mqDEed64KxQKVBg9"
},
{
"name": "ustur",
"subdomainHash": "CaGxycj9DxMonp6RzLsWrHZjNb2NxmRzXsDY95ri4HbT"
},
{
"name": "oni",
"subdomainHash": "CkFWzxdjD7x7Zu7wiUGQL8z9iocJXJYkgzTDTDnxqg34"
},
{
"name": "outskirts",
"subdomainHash": "88YrvLy9L2mS8Nz685UVRoPvukkXuVUxFMnpGFMeQYmq"
}
]
}
]
}

Get sub-domains with a specific account

Retrieve subdomains by the given account hash.
get
https://api.solana.fm
/v0/domains/bonfida/subdomains/{account-hash}
Returns the subdomain information for the given account hash.

Usage Example

Request
Response

Sample Request URL

https://api.solana.fm/v0/domains/bonfida/subdomains/AWtw4WVrDpyQEf1e8upxh47Aot5pECtAppeAWiajK6nW

Sample Response

{
"status": "success",
"message": "Retrieved 8 subdomain(s)",
"result": {
"owner": "AWtw4WVrDpyQEf1e8upxh47Aot5pECtAppeAWiajK6nW",
"subdomains": [
{
"name": "scams",
"subdomainHash": "2Tkx4fck2MqRWiWmdZdnP97iTHcByU4934hQbkNhKUkd"
},
{
"name": "tokens",
"subdomainHash": "4fsGxgYqboEppzz2gPPvDSJKwzy8w7kz7Gdfqpumd6Zf"
},
{
"name": "rugs",
"subdomainHash": "B3LgYWC8VcnAdCEy86owzoS5LLahVR9ffKBXEXe2sPFU"
},
{
"name": "earners",
"subdomainHash": "TMn55Tvssy5U2poEkSAthfhJaBSqwqcS5eg1B6G3oYT"
},
{
"name": "bank",
"subdomainHash": "2TprTY5h6j3bPyN4TuMnNBMAveufGBPFBvZY2dCCwuJ4"
},
{
"name": "nfts",
"subdomainHash": "FaAJVhs1tCYNWZUVMSi72ps6Wpy8YqpnQwWz9xwVXuiK"
},
{
"name": "nft",
"subdomainHash": "4YKiL2rXiDFp4cwcKAp19uTvtsmLSbBYGrJ8Fu2KfCqv"
},
{
"name": "forty",
"subdomainHash": "5UF5R5J2gMEYXdG5cgP1ZGowM2EUgY5nCv8JAd8ftrT2"
}
]
}
}