Insdexer
  • Introduce
  • System Requirements
  • Quick Start
  • Configuration
  • Reference
    • API Reference
      • Inscription
      • Token
      • NFT
      • Market
      • Other
Powered by GitBook
On this page
  • Latest NFTs List
  • NFT Collections
  • NFTs List
  • NFT
  • NFT Transfers
  1. Reference
  2. API Reference

NFT

Inscription NFT API

Latest NFTs List

POST /nft_recent

Get latest Inscription NFTs list

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description
Optional

include_image_data

bool

include image base64 data

page

number

page number

Response

{
    "data": [
        {
            "blocknumber": 12031704,
            "event_logs": [],
            "from": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "id": 83705317,
            "mime_category": "1",
            "mime_data": "Dragon",
            "mime_type": "",
            "owner": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "signature": "eb22c5e28adf024cfee08804c00ddb9ac2973892",
            "timestamp": 1709395063,
            "to": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "tx_hash": "0x20a2da84e86edd78dc75f304537587e32a6e25b0c0733f0224a688188c95aba5",
            "tx_index": 4,
            "verified": "1"
        }, {
            ...
        },
        ...
    ],
    "error_code": 0
} 

NFT Collections

GET /nft_collections

Get NFT collections list

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description

page

number

page number

Response

{

}

NFTs List

GET /nfts

Get NFTs list owned by specific address.

Headers

Name
Value

Content-Type

application/json

Request

Name
Type
Description
Optional

address

string

Wallet address

include_image_data

bool

include image base64 data

page

number

page number

Response

{
    "data": [
        {
            "blocknumber": 12031704,
            "event_logs": [],
            "from": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "id": 83705317,
            "mime_category": "1",
            "mime_data": "Dragon",
            "mime_type": "",
            "owner": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "signature": "eb22c5e28adf024cfee08804c00ddb9ac2973892",
            "timestamp": 1709395063,
            "to": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "tx_hash": "0x20a2da84e86edd78dc75f304537587e32a6e25b0c0733f0224a688188c95aba5",
            "tx_index": 4,
            "verified": "1"
        }, {
            ...
        },
        ...
    ],
    "error_code": 0
} 

NFT

GET /nft/{path}

Get specific NFT content.

Headers

Name
Value

Content-Type

plain/text

Content-Type

image/png

Request

Name
Type
Description

path

string

Inscription ID or Tx

Response

image/png;base64,...
Inscription not found

NFT Transfers

GET /nft_transfers

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description
Optional

tx

string

tx of NFT

id

number

id of NFT

page

number

page number

Response

{
    "data": [
        {
            "blocknumber": 12031704,
            "event_logs": [],
            "from": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "id": 83705317,
            "mime_category": "4",
            "mime_data": "0x20a2da84e86edd78dc75f304537587e32a6e25b0c0733f0224a688188c95aba5",
            "mime_type": "",
            "owner": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "signature": "eb22c5e28adf024cfee08804c00ddb9ac2973892",
            "timestamp": 1709395063,
            "to": "0x90f7562249916a4e690c16ca69ebfd6533d42499",
            "tx_hash": "0x20a2da84e86edd78dc75f304537587e32a6e25b0c0733f0224a688188c95aba5",
            "tx_index": 4,
            "verified": "1"
        }, {
            ...
        },
        ...
    ],
    "error_code": 0
} 
PreviousTokenNextMarket

Last updated 1 year ago