Skip to main content

BNS Bridge API

View OpenAPI documentation

Fetch all inscribed names

https://api.bns.xyz/l1/inscribed-names

Fetch a list of all inscribed names. You can paginate these results by providing a cursor parameter, which is the id field returned in results. Note that id is not the same as inscriptionId.

Fetch inscription details for a name

https://api.bns.xyz/l1/inscription-by-name/{name}

View an example

Returns:

  • inscriptionId
  • owner

Fetch name details for an inscription ID

https://api.bns.xyz/l1/name-by-inscription/{inscriptionId}.

View an example

Fetch total number of L1 names

https://api.bns.xyz/l1/total-l1-names