Proxy API (Beta)
Simplified access to Pyth Pro prices without authentication
Beta Service
This service is in beta and is not meant for production use. The service might go down and all interfaces, URLs, etc. might change without notice.
Base URL
https://pyth-lazer-proxy-3.dourolabs.appAPI Documentation: https://pyth-lazer-proxy-3.dourolabs.app/docs/
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /v1/latest_price | Fetch latest price for given feed IDs |
| GET | /v1/stream | Stream continuous price updates (SSE) |
GET /v1/latest_price
Query Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
price_feed_ids | number[] | Yes | Price feed IDs (repeatable parameter) | ?price_feed_ids=1&price_feed_ids=2 |
Example
https://pyth-lazer-proxy-3.dourolabs.app/v1/latest_price?price_feed_ids=1&price_feed_ids=2GET /v1/stream
Query Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
price_feed_ids | number[] | Yes | Price feed IDs (repeatable parameter) | ?price_feed_ids=1&price_feed_ids=2 |
Example
https://pyth-lazer-proxy-3.dourolabs.app/v1/stream?price_feed_ids=1&price_feed_ids=2Returns Server-Sent Events (SSE) stream of continuous price updates.
Related
- Examples Repository
- WebSocket API - Production WebSocket streaming
- REST API - Production REST API