D3 API
Last updated
Last updated
D3 API allow for a fully custom integration of D3 features directly into your application. The API exposes an interface for interacting with Web3 Name Tokens on the D3 registry and allows searching, purchasing and minting, and more.
Sample Source Code (See our github repository for an example app built using our APIs)
Detailed Steps 👇
Sign up at D3 Developer Dashboard to get your own API keys today.
Swagger for these APIs can also be viewed at https://api-public.d3.app/swagger#/
Returns the supported payment options (contract and token addresses) for the provided TLDs.
/v1/partner/payment/options
Top-level domain (TLD) of the name token to fetch payment options (comma separated list). Leave empty to fetch for all available TLDs.
com
Returns name recommendations based on the provided SLDs and TLDs
/v1/partner/recommendations
Top-level domain (TLD) of the name token to recommend (comma separated list). Leave empty to recommend all available TLDs.
com
Second-level domain (SLD) of the name token to recommend (comma separated list). Maximum of 5 SLDs allowed.
example
Accepts mint name request. Only allows minting of non-premium name tokens (requires NON_PREMIUM_MINT permission).Token is not minted immediately but is scheduled for minting. Mint status could be checked using token status endpoint.
/v1/partner/mint
Second-level domain (SLD) of the name to mint.
example
Top-level domain (TLD) of the name to mint.
com
User information required to mint the name.
Creates a new order for name token purchase. The response includes a payment voucher and details necessary to complete the purchase.
/v1/partner/order
Array of names to mint, each including an SLD and TLD
The payment options for the transaction
Returns metadata and registration status of a name token.
/v1/partner/token/{sld}//{tld}
Top-level domain (TLD) of the name token.
com
Second-level domain (SLD) of the name token.
example
Returns metadata of a name token by token ID.
/v1/partner/token/{chainId}//{contractAddress}//{tokenId}
Chain ID of the blockchain network.
1
NFT Smart Contract address.
0x4F3775dfd49db0BBcd47eB6f45CEb6E6E9e15CD8
Minted Token ID.
20719405654568256184282804044567699961418926341258048728655171573148113774124
Returns metadata of multiple name tokens by their token IDs.
/v1/partner/tokens/{chainId}//{contractAddress}
Chain ID of the blockchain network.
1
NFT Smart Contract address.
0x4F3775dfd49db0BBcd47eB6f45CEb6E6E9e15CD8
List of token ids to lookup for
Returns registered name tokens for a wallet address
/v1/partner/tokens/{addressType}//{address}
Wallet address.
0x2E7cC63800e77BB8c662c45Ef33D1cCc23861532
Wallet address type.
EVM
EVM
, SUI
, NEAR
, CASPER
, TOKENPROOF
Number of records to return for pagination.
100
Number of records to skip for pagination.
0
Provides search, combining availability information and pricing, both in native token and USD.
/v1/partner/search
Number of records to return for pagination.
Number of records to skip for pagination.
Top-level domain (TLD) of the name token to search for (comma separated list). Leave empty to search all available TLDs.
com
Second-level domain (SLD) of the name token to search for (comma separated list)
example