okx-market

Fetch real-time and historical cryptocurrency market data from OKX public V5 REST API.

Updated May 15, 2026
One-click install
npx skills add https://github.com/philipcoller-777/Vibe-Trading-TV2 --skill okx-market-philipcoller-777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-market
Source: https://github.com/philipcoller-777/Vibe-Trading-TV2/tree/main/agent/src/skills/okx-market
Command: npx skills add https://github.com/philipcoller-777/Vibe-Trading-TV2 --skill okx-market-philipcoller-777

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Real-time and historical cryptocurrency market data from OKX's public REST API can be accessed in a single, easy-to-use interface without authentication, enabling quick insights for dashboards and analytics.

Core Features & Use Cases

  • Real-time spot/derivatives ticker data and 24h statistics via the public endpoints.
  • Candlestick data (OHLCV) across multiple intervals via market/candles and market/index-candles.
  • Index prices and market metrics (index tickers, funding rates, open interest) for pricing, strategy testing, and research.
  • Use Case: build a live market dashboard that aggregates OKX data and triggers alerts based on price movement or volume shifts.

Quick Start

Query the BTC-USDT ticker from OKX public API and display the latest price and 24h change.

Frequently Asked Questions about okx-market

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

FAQPage Schema
How do I fetch real-time cryptocurrency market data from OKX without authentication?

Fetch real-time cryptocurrency market data from OKX without authentication by querying public V5 REST API endpoints like market/ticker. This returns spot and derivatives tickers alongside 24h statistics as JSON data for immediate consumption.

Can I pull historical OHLCV candlestick data from OKX public API for trading bots?

Yes, you can pull historical OHLCV candlestick data from the OKX public API for trading bots by requesting the market/candles and market/index-candles endpoints. This provides JSON data across multiple intervals for strategy testing and research.

Does this Skill retrieve funding rates and open interest for derivatives from OKX?

Yes, this Skill retrieves funding rates and open interest for derivatives from OKX. It queries the public/funding-rate endpoint to deliver market metrics as JSON data, useful for pricing and research workflows.

What's the best way to build a live cryptocurrency dashboard using OKX market data?

The best way to build a live cryptocurrency dashboard using OKX market data is to aggregate real-time spot tickers and index prices from the public API. This monitors price movements and volume shifts to trigger alerts without authentication.

Do I need an API key to access OKX index prices and market metrics?

No, you do not need an API key to access OKX index prices and market metrics. The Skill relies entirely on public endpoints like market/index-tickers to fetch index prices and public/funding-rate for funding data.

Can I use pandas to process the cryptocurrency market data fetched from OKX?

Yes, you can use pandas to process the cryptocurrency market data fetched from OKX. The Skill uses requests and pandas as dependencies to retrieve JSON data from the public API and structure it for analytics workflows.