linea.jpeg

Linea Domain and Address Record API

This API allows users to retrieve domain and address records for a given domain or Ethereum address.

Retrieve Domain Record

Endpoint

GET https://mainnet-api.sns.so/domain/getRecord/:domain

Parameters

Parameter Description
:domain The domain to retrieve the record for.

Response

The response will be a JSON object containing the wallet address.

Retrieve Reverse Record

Endpoint

GET https://mainnet-api.sns.so/domain/linea/getReverseRecord/:address

Parameters

Parameter Description
:address The Ethereum/EVM Chains‘ address to retrieve the reverse record for.

Response

The response will be a JSON object containing the primary domain name of this wallet address.

API Examples