The Fourmeme API provides a set of endpoints for managing .four domain names. The API supports domain registration, query operations, signature generation, and verification processes. The complete domain registration flow involves both API calls and smart contract interactions.
Endpoint: GET /fourmeme/domain
Description: Retrieve detailed information about a specific domain.
Parameters:
domain (required): The domain name without the .four suffixExample Request:
curl -X GET "<https://spaceapi.prd.space.id/fourmeme/domain?domain=emmm>" \\
-H "Content-Type: application/json"
Example Response:
{
"code": 0,
"data": {
"owner": "0x11471f07151142960B2c008D86865798d69c4444",
"caAddress": "0x11471f07151142960B2c008D86865798d69c4444",
"registerTime": 1756968243,
"isExist": true
},
"msg": "success"
}
Response Fields:
owner: The BSC address that owns the domaincaAddress: The Certificate Authority address mapped to this domainregisterTime: Unix timestamp of domain registrationisExist: Boolean indicating whether the domain exists