From 920752da4a18661c13b5f2c3a89cd27d98330ca4 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 12 Sep 2025 17:52:37 +0000 Subject: [PATCH] Add Endpoints page to Lazer documentation - Add new endpoints.mdx page under Reference Material section - Document main WebSocket endpoint wss://pyth-lazer.dourolabs.app/ - Highlight v1/stream endpoint for most users - Include links to related documentation pages Co-Authored-By: Jayant --- pages/lazer/_meta.json | 1 + pages/lazer/endpoints.mdx | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 pages/lazer/endpoints.mdx diff --git a/pages/lazer/_meta.json b/pages/lazer/_meta.json index 15bf7d81..56da3d0a 100644 --- a/pages/lazer/_meta.json +++ b/pages/lazer/_meta.json @@ -25,6 +25,7 @@ "title": "Reference Material", "type": "separator" }, + "endpoints": "Endpoints", "price-feed-ids": "Price Feed IDs", "websocket-api-reference": { diff --git a/pages/lazer/endpoints.mdx b/pages/lazer/endpoints.mdx new file mode 100644 index 00000000..750af3ef --- /dev/null +++ b/pages/lazer/endpoints.mdx @@ -0,0 +1,27 @@ +# Endpoints + +Pyth Lazer provides real-time price data through WebSocket connections. This page lists the available endpoints for connecting to the Lazer service. + +## WebSocket Endpoint + +The main WebSocket endpoint for Pyth Lazer is: + +``` +wss://pyth-lazer.dourolabs.app/ +``` + +### Stream Endpoint + +Most users will want to connect to the `v1/stream` endpoint: + +``` +wss://pyth-lazer.dourolabs.app/v1/stream +``` + +This endpoint provides real-time price updates and is used for subscribing to price feeds. You'll need an access token to authenticate your connection. + +## Next Steps + +- [Acquire an Access Token](./acquire-access-token.mdx) to authenticate your WebSocket connection +- [Subscribe to Price Updates](./subscribe-price-updates.mdx) to start receiving real-time data +- View the [WebSocket API Reference](https://pyth-lazer.dourolabs.app/docs) for detailed API documentation