Server-Sent Events (SSE)
https://api.listingapis.com/api/public/streamOne-way persistent HTTP stream. Zero libraries required — works with a plain browser EventSource. Ideal for dashboards, lightweight bots, and monitoring tools.
// Connect — optional filters: ?exchange=okx&type=listing
const es = new EventSource(
"https://api.listingapis.com/api/public/stream?type=listing"
);
// "hello" fires once on connect
es.addEventListener("hello", e => console.log(JSON.parse(e.data)));
// "listing" fires per new detected listing
es.addEventListener("listing", e => {
const listing = JSON.parse(e.data);
console.log(listing.exchange, listing.symbol, listing.type);
});
// Server sends ": heartbeat <ts>" comments every ~25 s
// to keep the connection alive through proxies.