Prices
API Endpoint | Data Points | Usage Summary | Use Cases |
---|---|---|---|
Get Markets | Market IDs, Program IDs | Retrieve available market IDs queryable via Vybe API | Market analysis, trading pair discovery |
DEX-AMM | DEX and AMM program IDs | Get programs used for trades and prices | DeFi ecosystem analysis, protocol integration |
Pyth Accounts | Pyth oracle price accounts, product accounts, symbols | List all Pyth oracle price accounts and related data | Oracle data analysis, price feed integration |
Pair-OHLCV | OHLCV data for trading pairs | Retrieve trade price data for specific token pairs | Trading strategy development, market analysis |
Market-OHLCV | OHLCV data for specific markets | Get price data for unique trading pairs or liquidity pools | Liquidity analysis, market-specific research |
Token-OHLCV | Token USD price OHLCV | Retrieve aggregated price data for a specific token | Token performance analysis, portfolio tracking |
Pyth Price | Current Pyth price feed data | Access up-to-date pricing information from Pyth oracles | Real-time price monitoring, oracle data integration |
Pyth Price OHLC | Historical OHLC data from Pyth | Retrieve historical price data from Pyth oracle feeds | Historical price analysis, backtesting strategies |
Pyth Price: Time Series | Time series of Pyth price data | Access real-time and historical Pyth oracle prices | Time-series analysis, price trend identification |
Pyth Product | Pyth product metadata | Retrieve metadata for specific Pyth products | Product research, oracle network analysis |
Key implementation aspects
Query Parameters & filtering Capabilities:
- Support flexible date range filtering using
timeStart
andtimeEnd
parameters - Implement pagination using
page
andlimit
parameters for large result sets - Allow filtering by specific programs or tokens using
programId
andmintAddress
parameters - Support different time resolutions via a
resolution
parameter (e.g. 1h, 1d, 1w, 1m, 1y) - Enable filtering by market ID using a
marketId
parameter for specific trading pairs - Implement optional filters like
productId
andpriceFeedId
for Pyth oracle data
Developer implementation use cases:
- Retrieving historical OHLCV data for a specific token over a custom date range
- Paginating through large sets of trade or transfer data efficiently
- Filtering transaction data by specific DEX programs or token pairs
- Obtaining time series price data at different resolutions for analysis
- Accessing Pyth oracle price feeds for specific products or price feeds
- Querying market data for particular trading pairs or liquidity pools
Updated 11 days ago