Query inscriptions metadata on Bitcoin by inscriptions id
Description
Method: HTTPS GET
Encoding: UTF-8
Path: https://api.blockin.ai/v2/nft/btc/get_nft_metadata
Description: Get metadata for an NFT on the Bitcoin
Request Header
Content-Type
Y
String
application/json
AccessKey
Y
String
1bdb01c947c54919b64d1fc6794atest
Request Parameter
inscription_id
Y
String
Inscription id
Response
Public Response
success
Y
Boolean
Success Boolean
data
N
Object
Response object
error_code
N
String
Error code
error_msg
N
String
Error message
Metadata Content
creation_transaction
N
String
Inscription hash
creation_block_height
N
Long
Inscription block height
creation_block_time
N
Long
Inscription block time
creation_fee
N
Long
Inscription fee
location
N
String
Location
location_block_height
N
Long
Location block height
location_block_time
N
Long
Location block time
location_block_hash
N
String
Location hash
output
N
String
Output
inscription_collection
N
String
Collection's symbol
collection_name
N
String
Collection's name
inscription_name
N
String
NFT's name
inscription_type
N
String
Inscription type
blockin_image
N
String
NFT's image url(Blockin.ai)
image
N
String
NFT's image url
sat_number
N
Long
Sat number
sat_name
N
String
Sat name
sat_rarity
N
String
Sat rarity
sat_block_height
N
Long
Sat block height
sat_block_time
N
Long
Sat block time
file_type
N
String
TXT,HTML,IMAGE,AUDIO,VIDEO,OTHER
file_size
N
Long
File size
attributes
N
list
NFT's arrtributes
Attribute Content
trait_type
Y
String
Item's trait type
value
Y
String
Trait value
Request Sample
curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X GET "https://api.blockin.ai/v2/nft/btc/get_nft_metadata?inscription_id=f66d8c1145a9faf6c7a672d60ce0043aeee432ff7e938d60e48316a9fa3f57b1"
Successful Response Sample
Failed Response Sample
Last updated