Quick Start
Install the client, connect, and read your first messages.
Install the client:
pip install websocketsConnect and print messages:
import asyncio, json, websockets
async def main():
url = "wss://tokyo.coinlisting.pro/listings?key=YOUR_API_KEY"
async with websockets.connect(url) as ws:
async for msg in ws:
print(json.loads(msg))
asyncio.run(main())The first message is the connection confirmation. Listing announcements stream after that. See Examples for production-ready clients with reconnect and ping logic.