Explore Solana Pyth API price feeds with the Vybe Solana API: live USD prices, OHLC candles, historical price series, product metadata and oracle tools.
Try the live demo: https://solana-pyth-api.vybenetwork.com
| Vybe API | Local proxy |
|---|---|
GET /v4/oracle/pyth/pricefeeds |
GET /api/pyth/pricefeeds |
GET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price |
GET /api/pyth/pricefeeds/:feed/price |
GET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/candles |
GET /api/pyth/pricefeeds/:feed/candles |
GET /v4/oracle/pyth/pricefeeds/{priceFeedAddress}/price-ts |
GET /api/pyth/pricefeeds/:feed/price-ts |
GET /v4/oracle/pyth/products/{productAddress} |
GET /api/pyth/products/:product |
- Node.js ≥ 20
- A Vybe Data API key
cp .env.example .env
# set VYBE_DATA_API_KEY in .env
npm install
npm run dev| Script | Purpose |
|---|---|
npm run dev / npm start |
Run the API + demo UI |
npm run build |
Compile TypeScript to dist/ |
npm run typecheck |
Typecheck only |
- Solana OHLC API — DEX token/market candles
- Solana Trades API — historical trade data
- Solana Balances API — wallet holdings
This repo focuses on Pyth oracle data only (not DEX OHLC/trades).