okx-market

Fetch public OKX market data via REST endpoints as JSON.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The OKX market data interface provides open, public access to comprehensive cryptocurrency market data from OKX without requiring authentication, enabling developers to build dashboards, analytics, or trading strategies quickly.

Core Features & Use Cases

  • Real-time market data: tickers and trades for spot, derivatives, and indexes.
  • Candles, funding rates, open interest, and index data for analysis and strategy development.
  • Suitable for rapid prototyping and data exploration without setup overhead.

Quick Start

Install Python 3.9+ and the requests library, then write code to fetch ticker data from the OKX API.

Frequently Asked Questions about okx-market

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

FAQPage Schema
How do I get real-time OKX market data without authentication?

You can fetch real-time OKX market data without authentication by calling public REST endpoints. This Skill retrieves tickers, trades, and index data for SPOT, SWAP, FUTURES, and INDEX markets, returning JSON suitable for analysis.

Can I pull candlestick and funding rate data for cryptocurrency derivatives?

Yes, you can pull candlestick and funding rate data for cryptocurrency derivatives. The Skill applies REST endpoints to fetch historical candles and current funding rates for SWAP and FUTURES markets, returning JSON data for strategy development.

Do I need an API key to fetch OKX index data and open interest?

No, you do not need an API key to fetch OKX index data and open interest. The Skill accesses public API endpoints without authentication, allowing rapid prototyping and data exploration without setup overhead.

What's the best way to use Python to retrieve OKX public market data?

The best way to retrieve OKX public market data in Python is using the requests library. This Skill implements REST endpoint calls requiring Python 3.9+ and requests, outputting JSON data that integrates directly with pandas for analysis.

Does this approach work for building cryptocurrency trading dashboards?

Yes, this approach works for building cryptocurrency trading dashboards. By providing open access to comprehensive real-time quotes and candlesticks without authentication, it enables developers to build analytics and trading strategies quickly.