GET NFTs

Get authorized user's NFTs.

Endpoint URL

https://mid.maneslab.xyz/api/v1/nfts

OAuth 2.0 scopes required by this endpoint

profile

Sample code

let options = {
    method: 'Get',
    headers: {
        "authorization": `Bearer ${OAUTH-TOKEN}`,
        "content-type": "application/x-www-form-urlencoded",
    },
};
fetch('https://mid.maneslab.xyz/api/v1/nfts', options)
    .then(response => response.json())
    .then(response => {
        console.log(response)
    })
    .catch(err => console.error(err));

Example responses

[
  {
    "owner_address": "0x06cFfBB08ccBC010a50638aa298CCd5C013c08C6",
    "chain": "ethereum",
    "name": "Lil Ghost#0",
    "token_id": "0",
    "image_url": "https://cdn.simplehash.com/assets/95a1090d26c5a1765863a3f0c6462c5c280386a8a5adbebb8c67b8b7b88c76d5.png",
    "collection_name": "The Weirdo Ghost Gang",
    "contract_address": "0x9401518f4ebba857baa879d9f76e1cc8b31ed197"
  },
  ...
]

Last updated