zkSync.id 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://omniapi.zkns.app/domain-resolver/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://omniapi.zkns.app/domain-resolver/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.