npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ordexplorer

v0.1.2

Published

API Wrapper for 1satOrdinal Indexers

Downloads

48

Readme

Ordinal Explorer

GorillaPool 1satordinal API wrapper

Install

npm i ordexplorer

Require

let ordexplorer = require('ordexplorer')

Import

import ordexplorer from 'ordexplorer'

API Calls

stats


txos

address

unspent

get (address, options)

options: { q: string, type: string, tag: string, limit: number, offset: number, bsv20: boolean, origins: boolean, refresh: boolean }

post (body, options)

options: { type: string, tag: string, limit: number, offset: number, bsv20: boolean, origins: boolean, refresh: boolean }

history

get (address, options)

options: { q: string, type: string, tag: string, limit: number, offset: number, bsv20: boolean, origins: boolean, refresh: boolean }

post (body, options)

options: { type: string, tag: string, limit: number, offset: number, bsv20: boolean, origins: boolean, refresh: boolean }

sync (address, options)

options: { unspent: boolean }

balance (address, options)

options: { refresh: boolean }


search

get ( query, options)

options: { tag: string, limit: number, offset: number, dir: asc || desc, type: string }

post( body, options)

options: { tag: string, limit: number, offset: number, dir: asc || desc, type: string }

unspent

get ( query, options)

options: { tag: string, limit: number, offset: number, dir: asc || desc, type: string }

post (body, options)

options: { tag: string, limit: number, offset: number, dir: asc || desc, type: string }

outpoint(outpoint, options)

options: { script: boolean }

outpoints( body, options)

options: { script: Boolean }


tx

sendBuffer (txbuf, options)

options: { format: tx || ef || beef }

send(rawtx, options)

options: { format: tx || ef || beef }

getSubmit (txid)

postSubmit (txid)

status (txid)

raw (txid)

proof (txid)

txid (txid)

getBatch (txidsArray)

postBatch (txidsArray)

address

sinceBlock (address, block, options)

options: { auth: authString, limit: Number, offset: Number }

sinceTimeStamp (address, block, options)

options: { auth: authString, format: tx || ef || beef, tags: Array[string], broadcast: boolean }


origins

count ()

num (num)

map (origin)


inscription

get (outpoint, options)

options: { script: boolean }

spends (outpoint)

content (outpoint, options)

options: { fuzzy: boolean }

latestContent (outpoint)


locks

txid (txid)

address

unspent (address, options)

options: { limit: number, offset: number }

history (address, options)

options: { limit: number, offset: number }

search

get (query, options)

options: { limit: number, offset: number }

post (body, options)

options: { limit: number, offset: number }


inscriptions

fromTxid (txid)

fromNum (num)

search

get (query, options)

options: { tag: string, limit: number, offset: number, dir: asc || desc }

post (body, options)

options: { tag: string, limit: number, offset: number, dir: asc || desc }

recent (options)

options: { limit: number, offset: number }

geohash (geohashes)

outpoint (outpoint, options)

options: { script: boolean }

txids (origin, options)

history (origin, options)

ancestors

get (outpoint)

post (body, options)

address

ancestors (address, options)

options: { limit: number, offset: number }

latest

get (origin)

options: { script: boolean }

post (body, options)


collections

stats (collectionId)

holders (collectionId)


opns

get (domain)

mine (domain)


bsv20

info (options)

options: { limit: number, offset: number, sort: pct_minted || available || tick || max || height , dir: asc || desc, included: boolean}

tick

info (tick, options)

options: { limit: number, offset: number, dir: asc || desc, listing: boolean}

holders (tick, options)

options: { limit: number, offset: number }

address

status (address, tick, options)

options: { since: number, limit: number, offset: number }

balance (address, tick, options)

options: { limit: number, offset: number, dir: asc || desc, included: boolean, listing: boolean, sale: boolean }

history (address, tick, options)

options: { limit: number, offset: number, dir: asc || desc, included: boolean, listing: boolean, sale: boolean }

locks (address, tick, options)

options: { limit: number, offset: number, dir: asc || desc, included: boolean }


address

balance (address)


addresses

balance (addressesArray)


market (options)

options: { limit: number, offset: number, sort: price|| price_per_token || height, dir: asc || desc, type: v1 || v2 || all, id: string, tick: string }

sales (options)

options: { limit: number, offset: number, sort: price|| price_per_token || height, dir: asc || desc, type: v1 || v2 || all, id: string, tick: string, address: string }


bsv20v2

list (options)

options: { limit: number, offset: number, sort: fund_total || fund_used || fund_balance || height , dir: asc || desc, included: boolean}

info (id)

holders (id)

options: { since: number, limit: number, offset: number }

locked (id)

burned (id)

address

balance (address, id, options)

options: { limit: number, offset: number, dir: asc || desc, listing: boolean, includePending: boolean }

status (address, id, options)

options: { since: number, limit: number, offset: number }

deps (address, id, options)

options: { limit: number, offset: number }

history (address, id, options)

options: { limit: number, offset: number, dir: asc || desc, listing: boolean, listing: boolean, sale: boolean }

ancestors (address, id )

locks (address, id, options)

options: { limit: number, offset: number, dir: asc || desc }


events

get (channel,lastEventId)

subscribe (EventSource, addressesArray, scriptHashesArray)


market

get (options)

options: { sort: recent || price || num, dir: asc || desc, q: string, limit: number, offset: number, type: string, text: string, minPrice: number, maxPrice: number }

post (body, options)

options: { sort: recent || price || num, dir: asc || desc, q: string, limit: number, offset: number, type: string, text: string, minPrice: number, maxPrice: number }

sales

get (options)

options: { sort: recent || price || num, dir: asc || desc, q: string, limit: number, offset: number, type: string, text: string, minPrice: number, maxPrice: number, address: string }

post (body, options)

options: { sort: recent || price || num, dir: asc || desc, q: string, limit: number, offset: number, type: string, text: string, minPrice: number, maxPrice: number, address: string }


blocks

tip ()

list (height, options)

height (height, options)


POST body schema

{
  "types": [
    "string"
  ],
  "insc": {
    "json": "string",
    "text": "string",
    "words": [
      "string"
    ],
    "file": {
      "hash": "string",
      "size": 0,
      "type": "string"
    },
    "parent": "string"
  },
  "map": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "b": {
    "hash": "string",
    "size": 0,
    "type": "string"
  },
  "sigma": [
    {
      "algorithm": "string",
      "address": "string",
      "signature": "string",
      "vin": 0
    }
  ],
  "list": {
    "sale": true,
    "payout": "string",
    "price": 0
  },
  "bsv20": {
    "implied": true,
    "status": -1,
    "amt": "string",
    "sym": "string",
    "tick": "string",
    "op": "string",
    "p": "string",
    "id": "string"
  },
  "lock": {
    "until": 0,
    "address": "string"
  },
  "sigil": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  },
  "opns": {
    "status": 0,
    "domain": "string",
    "genesis": "string"
  },
  "opnsMine": {
    "pow": "string",
    "status": 0,
    "domain": "string",
    "genesis": "string"
  }
}

Taal API

taal

inscription

fromOutpoint( outpoint )

fromNum( num )

fromTxid( txid )

content( outpoint )

latest( outpoint )

history( outpoint, { skip:0, limit:100 } )

inscriptions

fromTxid( txid )

bsv20v2

info( id )

owners( id )

spent( txid )

transferInfo( outpoint )

address

balance( address )

unspent( address )

depth( address, id )

history( address, id )

Examples


await ordexplorer.bsv20.tick.holders("COCO")
.then((info)=>{
    console.log("holders: ",info)            
})

await ordexplorer.bsv20.tick.address.status("1sY4QWkQszqGPCPnZPBtmGivUGor4HgXd","COCO",{ debug:true })
.then((info) => {
  console.log("Status:", info.length)
})        
await ordexplorer.bsv20.tick.address.balance("1sY4QWkQszqGPCPnZPBtmGivUGor4HgXd","COCO")
.then((info) => {
    console.log("balance: ",info.length)
    
})          
await ordexplorer.bsv20.tick.address.history("1sY4QWkQszqGPCPnZPBtmGivUGor4HgXd","COCO")
.then((info) => {
    console.log("history: ",info.length)
    
}) 

await ordexplorer.bsv20.tick.address.locks("1sY4QWkQszqGPCPnZPBtmGivUGor4HgXd","COCO")
.then((info) => {
    console.log("locks: ",info)
    
})            

await ordExpl.taal.token.fromOutpoint("fe60005022ba523076d5cd48eebbbb87efae57c0125b6535425aadfd72ac3ada_1")
.then((origin)=>{
    console.log(origin)
})

Taal 1sat bet API docs GorillaPool API docs

1sat Ordinal Protocol