okx-market

Fetch OKX V5 REST market data for spot, derivatives, and index instruments.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/JacobHsu/vibe-trading-agent --skill okx-market-jacobhsu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-market
Source: https://github.com/JacobHsu/vibe-trading-agent/tree/main/agent/src/skills/okx-market
Command: npx skills add https://github.com/JacobHsu/vibe-trading-agent --skill okx-market-jacobhsu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Accessing OKX V5 REST market endpoints requires juggling parameter formats and multiple docs for spot, derivatives, and index data, so this skill consolidates the public interface details and example workflows to get reliable data without building the integration from scratch.

Core Features & Use Cases

  • Public market coverage: details on tickers, batch tickers, candles, trades, depth, and index endpoints guide you to call the right path for each instrument type.
  • Practical Python helpers: scripts demonstrate how to fetch candles, tickers, and funding rates, parse JSON, and reshape results into Pandas dataframes for further analysis.
  • Use case: analysts can rely on the endpoint catalog and examples to pull BTC spot quotes, perpetual funding rates, and open interest snapshots for trading research or reporting.

Quick Start

Ask the skill to fetch the latest BTC-USDT ticker from the OKX public market API.

Frequently Asked Questions about okx-market

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

FAQPage Schema
How do I fetch OKX REST API market data for crypto derivatives without manual integration?

Fetch OKX REST API market data for crypto derivatives by using provided Python scripts that request public JSON endpoints and parse tickers, candlesticks, and funding rates into Pandas dataframes.

What is the best way to get OKX perpetual funding rates and open interest snapshots into a dataframe?

Get OKX perpetual funding rates and open interest snapshots by calling the V5 REST market endpoints with example Python scripts that parse unauthenticated JSON responses and reshape them into Pandas dataframes.

Does the OKX market data skill support both spot and index instrument tickers?

The OKX market data skill supports spot, derivatives, and index instruments, delivering consolidated tickers, batch tickers, and depth data for crypto research and backtesting.

Can I use Python and Pandas to retrieve OKX candlestick data for backtesting?

Use Python and Pandas to retrieve OKX candlestick data for backtesting by running the included scripts that fetch candles via the public REST API and format the JSON output into structured dataframes.

What are the limitations of using unauthenticated OKX API endpoints for market data?

Unauthenticated OKX API endpoints limit you to public market data like tickers, trades, and depth, meaning you cannot access private account data or execute trades without separate authenticated API integration.

Why do I need to consolidate OKX V5 API docs to fetch spot and derivatives data?

Consolidating OKX V5 API docs is necessary because parameter formats vary across spot, derivatives, and index endpoints, and this skill eliminates manual lookups by providing a unified parameter guide and example workflows.