How to use the API

Bellsight offers a public API to easily use the naming service in your product.

The Base endpoint is

https://api.bellsight.xyz/api/

Usage

Get sns holded by a certain address:

holder/<address> 

Returns example:

[
  {
    "_id": "66d339b90378581bb4b0ad92",
    "blockHeight": 40065,
    "genesis": "3c3cb748adc89e0670443aeff6fa88086d2739c9a296e7c86ffad56111cd823a",
    "inscriptionId": "3c3cb748adc89e0670443aeff6fa88086d2739c9a296e7c86ffad56111cd823ai0",
    "domain": "943.bells",
    "holder": "B6H5FdzSCTReQCBmxVfPXQ2ozEP6yLgQkQ",
    "createdAt": "2024-08-31T15:41:45.574Z",
    "updatedAt": "2024-08-31T15:41:45.574Z",
    "__v": 0
  },
  ...
]

Get data for a certain name:

Get the total count of all names and namespaces on-chain:

Get all namespaces:

Get all names for a certain block:

Last updated