Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 920752d

Browse files
devin-ai-integration[bot]Jayant
andcommitted
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 <[email protected]>
1 parent f0988b9 commit 920752d

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

pages/lazer/_meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"title": "Reference Material",
2626
"type": "separator"
2727
},
28+
"endpoints": "Endpoints",
2829
"price-feed-ids": "Price Feed IDs",
2930

3031
"websocket-api-reference": {

pages/lazer/endpoints.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Endpoints
2+
3+
Pyth Lazer provides real-time price data through WebSocket connections. This page lists the available endpoints for connecting to the Lazer service.
4+
5+
## WebSocket Endpoint
6+
7+
The main WebSocket endpoint for Pyth Lazer is:
8+
9+
```
10+
wss://pyth-lazer.dourolabs.app/
11+
```
12+
13+
### Stream Endpoint
14+
15+
Most users will want to connect to the `v1/stream` endpoint:
16+
17+
```
18+
wss://pyth-lazer.dourolabs.app/v1/stream
19+
```
20+
21+
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.
22+
23+
## Next Steps
24+
25+
- [Acquire an Access Token](./acquire-access-token.mdx) to authenticate your WebSocket connection
26+
- [Subscribe to Price Updates](./subscribe-price-updates.mdx) to start receiving real-time data
27+
- View the [WebSocket API Reference](https://pyth-lazer.dourolabs.app/docs) for detailed API documentation

0 commit comments

Comments
 (0)