Code Examples

Embed URL Breakdown

Here is how to identify the sections of the NFT Embed's URL.

  • tokenAddress= NFT smart contract address

  • tokenId= A unique number assigned to an NFT / Edition

  • saleSplitAddress= Optional Address for splitting payout from sale

  • saleSplitFee= Percentage of the sale split with another address

Example of URL without Custom Styling (no/CSS)

Your embed URL should look like the example below.

The embed will look different depending on the toggles you selected. 🧰

basic nft embed url
<https://nftembed.org/embed/nft?
saleSplitAddress=&
saleSplitFee=10&
showMarket=true&
tokenAddress=0xb932a70a57673d89f4acffbe830e8ed7f75fb9e0&
tokenId=17440>

Example of URL with Custom Styling (with/CSS)

If you select the custom styling, a unique string gets incorporated with the URL within the quotes.

The embed will look different depending on the selected toggles and the CSS variables. 🧰

Last updated

Was this helpful?