How to Subscribe to DPSN Data Streams: A Guide for Developers

DPSN is a real-time data marketplace where developers can discover and subscribe to exclusive data feeds instantly. Access high-quality data streams without custom builds or complex integrations.
Quick Start
1. Browse Data Stream Marketplace
Navigate to the DPSN marketplace to discover and subscribe to real-time data streams. Click on the Subscribe button from the homepage to see all available streams. Filter streams by categories or sort by newest first. Click "View Details" to learn more about any specific stream.
2. View Stream Details
Access comprehensive information about your selected data stream including description, availability timestamp, pricing per 1,000 events, and the unique Topic ID. The Topic ID serves as the unique identifier you'll use to access the data stream in your integration.
3. API Access to Subscribe to the Stream
You can access streams through our API integration. Follow the API access guide to subscribe to the specific stream of your choice.
4. Alternatively you can choose SDK Access method to subscribe to the stream
Alternatively you can choose the SDK Access method to Subscribe to the Stream. Install and Configure DPSN Client to begin.
Create a new file called dpsn-integration.js and initialize the DpsnClient with your server endpoint, access token, and connection settings. Add event handlers to monitor connection status and handle any errors that occur during the connection process.
5. Get Your Access Token and Integrate the Following Code
Copy your access token from the dashboard to authenticate with the DPSN network. Use the provided details to complete your integration setup.
6. Purchase credits to subscribe to streams
You can purchase credits to subscribe to any stream. Navigate to the top menu and click on Payments to view your credits purchased. To request more credits, you can click on the Request Credit button and contact us via email stating your requirements.
Post-Subscription
Data Flow
Once subscribed, your integration will automatically receive real-time data events from the stream. Monitor your console output for incoming messages and implement your business logic to process the received data according to your application needs.
Stream Management
Access your active subscriptions through the "My Subscriptions" section in the dashboard. Monitor data usage and manage your stream subscriptions from a centralized location.
Resources
Need Help?
Contact support for integration assistance or technical questions: https://t.me/dpsn_dev
Last updated