Get Thing Metadata

Step One, What's a Thing?

First it's important to understand what a Thing is vs a Token, read up on our data model.

Get the Thing ID

When you go to the thing page (Main overview of the asset), you can get the id in the URL right after thing/.....
Get The Metadata
If you want to use on testnet, check out the two base uris here.
Simply add the thingId to the end of `https://mintbase-mainnet.hasura.app/api/rest/things/:id`
https://mintbase-mainnet.hasura.app/api/rest/things/e6rzhF2xrWL3S_3YPMtZVw-yWuI1O_INDkwdSwGYo5k:zengin.mintbase1.near
mintbase-mainnet.hasura.app
1
{
2
"thing": [
3
{
4
"id": "e6rzhF2xrWL3S_3YPMtZVw-yWuI1O_INDkwdSwGYo5k:zengin.mintbase1.near",
5
"memo": "music",
6
"metaId": "e6rzhF2xrWL3S_3YPMtZVw-yWuI1O_INDkwdSwGYo5k",
7
"storeId": "zengin.mintbase1.near",
8
"metadata": {
9
"title": "Transform love ",
10
"description": "LOVE",
11
"media": "https://arweave.net/iQY43tOTj7jVsyKVRficOLDdOd7rxTBdD8VqKvEufQs",
12
"media_hash": "iQY43tOTj7jVsyKVRficOLDdOd7rxTBdD8VqKvEufQs",
13
"animation_hash": "-aaCXEZv4zmbL5l8SPQa0As7Au2LYGTf2YM0pKvPtak",
14
"animation_url": "https://arweave.net/-aaCXEZv4zmbL5l8SPQa0As7Au2LYGTf2YM0pKvPtak",
15
"youtube_url": null,
16
"document": null,
17
"document_hash": null,
18
"extra": {
19
20
},
21
"external_url": "https://mintbase.io/store/zengin.mintbase1.near",
22
"category": "music",
23
"type": "NEP171",
24
"visibility": "safe",
25
"media_type": "image/jpeg",
26
"animation_type": "audio/mpeg",
27
"tags": {
28
29
},
30
"media_size": 40817,
31
"animation_size": 1767384
32
},
33
"tokens": [
34
{
35
"id": "64:zengin.mintbase1.near",
36
"ownerId": "kseniiashm.near"
37
}
38
],
39
"store": {
40
"baseUri": "https://arweave.net",
41
"owner": "kseniiashm.near"
42
}
43
}
44
]
45
}
Copied!
Pretty close to the OpenSea metadata standards, the animation_url is the song as we can see in the animation_type
Last modified 10d ago