Search code examples
nftopensea

Verify Opensea NFT ownership via API


If I make an NFT purchasable on my store on opensea and somebody purchases that item, is there a way for me to build a website where somebody can retrieve services based on providing proof that they own the NFT that I sold on opensea?

Workflow

  • I sell NFT x
  • User y buys NFT x
  • User y goes onto my website
  • User y would like to use a service granted to them because they are the owner of NFT x
    • This is the crucial point, here I would like to verify that they really are the owner of the NFT

Does opensea provide any mechanism to make that verification possible via an API for example?


Solution

  • Check the opensea api docs -> asset model and than owner, this should work.

    But for the prove you need them to sign with wallet, metamask?