pyth

Fetch real-time price feeds for cryptocurrencies, forex, commodities, and equities.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kiran-nebula/agentshaus --skill pyth-kiran-nebula
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyth
Source: https://github.com/kiran-nebula/agentshaus/tree/main/packages/agent-runtime/workspace/skills/sendaifun/pyth
Command: npx skills add https://github.com/kiran-nebula/agentshaus --skill pyth-kiran-nebula

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @pythnetwork/hermes-client, @pythnetwork/pyth-solana-receiver, @solana/web3.js, pypdf, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) and examples (resource) and docs (resource) and templates (resource) components.

What problem does it solve?

This Skill provides access to real-time, high-quality price feeds for a vast array of assets, crucial for decentralized finance (DeFi) applications that require accurate and up-to-date market data.

Core Features & Use Cases

  • Real-time Price Feeds: Access price updates for cryptocurrencies, forex, commodities, and equities with low latency.
  • On-Chain & Off-Chain Integration: Seamlessly use Pyth price data in both smart contracts (Solana) and off-chain applications.
  • Confidence Intervals: Utilize confidence data to manage risk and ensure price reliability.
  • Use Case: A decentralized exchange can use Pyth to display accurate, real-time prices for trading pairs, ensuring fair market execution. A lending protocol can use Pyth to value collateral and manage liquidations.

Quick Start

Fetch the current price for BTC/USD using the pyth skill.

Frequently Asked Questions about pyth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate real-time crypto price feeds into my Solana DeFi application?

You integrate real-time crypto price feeds into Solana DeFi applications using the @pythnetwork/pyth-solana-receiver and @solana/web3.js SDKs. This enables on-chain consumption of verifiable market data for accurate asset valuation and fair execution.

What is the best way to fetch off-chain cryptocurrency prices for DeFi risk management?

Fetching off-chain cryptocurrency prices for DeFi risk management is best done using the @pythnetwork/hermes-client. It provides low-latency market data with confidence intervals, allowing applications to ensure price reliability and manage liquidation risks.

Can I stream real-time forex and commodity prices for decentralized exchange trading pairs?

Yes, you can stream real-time forex and commodity prices for decentralized exchange trading pairs. The system supports continuous price updates for a vast array of assets, ensuring accurate market data for fair trading execution.

Does the Pyth network price feed support off-chain applications or only on-chain smart contracts?

The Pyth network price feed supports both on-chain smart contracts and off-chain applications. It enables seamless integration into Solana protocols via receivers and off-chain systems via the Hermes client for low-latency data access.

How do confidence intervals work for crypto price feeds in lending protocols?

Confidence intervals for crypto price feeds provide a statistical range around the reported asset price. Lending protocols utilize this confidence data to manage risk, ensure price reliability, and accurately value collateral before triggering liquidations.