whatisgithub

What is solana-pyth-api?

vybenetwork/solana-pyth-api — explained in plain English

Analysis updated 2026-05-18

223CSSAudience · developerComplexity · 2/5Setup · moderate

In one sentence

A local demo server and UI for exploring Solana Pyth oracle price feeds through the Vybe Data API.

Mindmap

mindmap
  root((solana-pyth-api))
    What it does
      Proxy Pyth price feeds
      Show OHLC candles
      Show historical prices
    Tech stack
      Node.js
      TypeScript
      Vybe Data API
    Use cases
      Explore Pyth oracle prices
      Prototype a price feed integration
      Fetch historical price series
    Audience
      Developers
      Data engineers
      Crypto builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Try Pyth oracle price feeds live in a browser demo without writing any code.

USE CASE 2

Run a local proxy server to fetch Solana Pyth prices, candles, and historical series.

USE CASE 3

Look up metadata for a specific Pyth price feed or product.

USE CASE 4

Prototype an app that needs live or historical Solana oracle price data.

What is it built with?

Node.jsTypeScriptVybe Data API

How does it compare?

vybenetwork/solana-pyth-apiab-613/opengravityruanyf/road
Stars223178156
LanguageCSSCSSCSS
Last pushed2018-07-08
MaintenanceDormant
Setup difficultymoderatemoderateeasy
Complexity2/53/51/5
Audiencedevelopervibe codergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 20+ and a Vybe Data API key from a paid pricing page.

So what is it?

Solana Pyth API is a small demo project that shows how to work with Pyth price feed data on the Solana blockchain through the Vybe Data API. Pyth is an oracle service that publishes price information onto Solana, and this repository provides a local proxy server plus a simple demo interface so you can explore that data without dealing with the raw Vybe API directly. The project acts as a thin wrapper. It exposes local endpoints that mirror the Vybe API's Pyth oracle routes, letting you fetch the list of available price feeds, get the current USD price for a specific feed, pull OHLC candle data, retrieve historical price series over time, and look up metadata for a given product. There is a live hosted demo you can try in a browser before running anything yourself. To run it locally, you need Node.js version 20 or newer and a Vybe Data API key, which you obtain separately through Vybe's pricing page. Setup involves copying an example environment file, adding your API key to it, installing dependencies with npm, and starting the development server, after which the app is available on your local machine. There are also npm scripts for compiling the TypeScript source and for running a typecheck without building. The README notes that this repository focuses specifically on Pyth oracle data, and points to sibling repositories from the same team for other Solana data such as decentralized exchange OHLC and trade history, or wallet balances, which are separate projects outside this one's scope.

Copy-paste prompts

Prompt 1
Walk me through getting a Vybe Data API key and running solana-pyth-api locally.
Prompt 2
Show me how to fetch OHLC candle data for a specific Pyth price feed using this API.
Prompt 3
Explain the difference between the price and price-ts endpoints in this project.
Prompt 4
Help me set up the .env file and start the dev server for solana-pyth-api.

Frequently asked questions

What is solana-pyth-api?

A local demo server and UI for exploring Solana Pyth oracle price feeds through the Vybe Data API.

What language is solana-pyth-api written in?

Mainly CSS. The stack also includes Node.js, TypeScript, Vybe Data API.

How hard is solana-pyth-api to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is solana-pyth-api for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.