Overview

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.


API Endpoints

1. Get Domain Information

Endpoint: GET /fourmeme/domain

Description: Retrieve detailed information about a specific domain.

Parameters:

Example 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:


2. Get Domain by CA Address