Skip to main content

1. Get an API Key

To use the Lootex Plus API, you’ll need an API key. You can get one by signing up for a free account on the Lootex Plus Dashboard.

2. Make Your First API Call

Once you have an API key, you can make your first API call. Here’s an example of how to get an asset using the cURL:
curl --request GET \
     --url 'https://api.lootexplus.com/v1/assets/1868/0xfc8e7bda94874f6baa591dd70af0fda1fca201ab/1' \
     --header 'x-api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your actual API key. The response should look like the following.
{
     "chainId":1868,
     "contractAddress":"0xfc8e7bda94874f6baa591dd70af0fda1fca201ab",
     "tokenId":"1",
     "name":"Birunoko",
     "description":"6,666 Birunokos were born from sparks of forgotten memories, now arriving in the Brewverse for the very first time. Hand-drawn and bound to five mysterious species, they carry the soul of a new era in Soneium. Their journey has just begun— and so has yours.",
     "imageUrl":"https://lootex-dev.s3.us-east-1.amazonaws.com/birunoko/skeleton_solid_173.png",
     "animationUrl":"",
     "tokenUri":"https://v3-api.lootex.io/api/v3/studio/contracts/858aea83-becd-48fc-850e-6b8de43c7d9d/1",
     "schema":"ERC721",
     "bestListing":null,
     "collection":{
          "id":"f9b20cb0-8dbf-4e88-af4b-8016dd375cfe",
          "slug":"soneium:0xfc8e7bda94874f6baa591dd70af0fda1fca201ab",
          "chainId":1868,
          "contractAddress":"0xfc8e7bda94874f6baa591dd70af0fda1fca201ab",
          "name":"Birunoko",
          "isVerified":true
     }
}
That’s it! You’ve successfully made your first API call to the Lootex Plus API.

3. Start Building Your Application