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 🙏

© 2024 – Pkg Stats / Ryan Hefner

cex-api-cryptoscan

v1.0.0

Published

API to monitor centralized exchange prices and volumes in real-time. Supports Spot and Futures trading.

Downloads

69

Readme

CEX API - Cryptoscan

API to listen live centralized exchanges prices and volume in realtime. Spot + Futures.

Current Price: $1350 Contacts: https://t.me/dan_cryptoscan

What you get:

  • Free setup into your hosting
  • Free help to integrate app to your server
  • Full access to the codebase and code updates
  • Free updates for app, you can request for free updates via access to issues
  • Full access to Project Time tracking by developers

Features:

  • WebSocket Listen price updates
  • WebSocket Listen coin listings
  • WebSocket Listen volume/price changes by % by the time
  • Get all price + volume tokens HTTP Route
  • Get minified all tokens data HTTP route

HTTP Api

Get all tokens groupped by exchange

curl http://localhost:3000/

Get all tokens minified

curl http://localhost:3000/min

Websocket

Listen all price updates

wscat -c ws://localhost:3000/

Listen price changes

Request:

  • thresholds Object
  • threshold[key] -- Type of time (5s, 10m, 1h, 18h)
  • threshold[value] -- Percentage of price change
wscat -c ws://localhost:3000/listen
{"thresholds":{"5s":{"price":0.1},"10s":{"price":2}}}

Listen volume changes

Request:

  • thresholds Object
  • threshold[key] - Type of time (5s, 10m, 1h, 18h)
  • threshold[value] - Percentage of volume change
wscat -c ws://localhost:3000/listen
{"thresholds":{"5s":{"volume":0.1},"10s":{"volume":2}}}

Listen coin changes

wscat -c ws://localhost:3000/listen
{"symbols": ["BTCUSDT"], "thresholds":{"10s":{"volume":0.1}}}
{"symbols": ["BTCUSDT"], "exchanges": ["bybit"], "thresholds":{"5s":{"volume":0.1}}}

WebSocket API Overview

WebSocket Connection

  • Endpoint: /
  • Description: Establishes a WebSocket connection for listening to price updates.

Listen Endpoint

  • Endpoint: /listen
  • Description: Allows clients to listen for price and volume changes based on specified thresholds.
  • Request Format:
    • thresholds: Object containing time-based thresholds for price and volume changes.
    • symbols: Array of symbols to filter the updates.
    • exchanges: Array of exchanges to filter the updates.

Recent Listings

  • Endpoint: /recent-listings
  • Description: Returns the most recent listings and delistings from various exchanges.

Listings WebSocket

  • Endpoint: /listings
  • Description: Establishes a WebSocket connection for listening to new listings and delistings.

Minified Tokens

  • Endpoint: /min
  • Description: Returns a minified version of all tokens data.

Tickers

  • Endpoint: /tickers
  • Description: Returns the current tickers for all exchanges being monitored.

Monitoring

The application monitors various exchanges for new listings and delistings, sending updates to connected clients in real-time. The following exchanges are monitored:

  • Bitget
  • Kucoin
  • Gateio
  • Mexc
  • OKX
  • Bybit
  • HTX

The application uses WebSocket for real-time communication and supports filtering based on user-defined thresholds for price and volume changes.