okx-market

Retrieves OKX V5 REST API public market data for analytics workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Public OKX market data can be accessed in a consistent, auth-free way. This skill provides a ready-to-consume interface to real-time quotes, candles, funding rates, and other market metrics from OKX's V5 REST API without requiring credentials.

Core Features & Use Cases

  • Access spot tickers, batch tickers, candles, trades, funding rates, open interest, and index data from OKX.
  • Build dashboards, backtests, and analytics pipelines by streaming and aggregating market data in real time.
  • Use cases: monitor BTC-USDT price moves, compare funding rates across perpetual contracts, and analyze index candle trends.

Quick Start

Query OKX market data for a symbol via the REST API and feed it into your analytics workflow.

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 API authentication?

Access public OKX market data without authentication by calling V5 REST endpoints to retrieve spot tickers, candles, and funding rates. Responses are parsed from JSON and structured for immediate use in analytics workflows.

Can I pull OKX funding rates and open interest for perpetual contracts using Python?

Yes, you can pull OKX funding rates and open interest for perpetual contracts using Python. The skill queries public V5 REST endpoints, parses JSON responses, and structures the metrics for downstream analytics.

What's the best way to stream OKX candles for backtesting crypto assets?

The best way to stream OKX candles for backtesting crypto assets is to query the V5 REST API. This skill retrieves the JSON candle data and structures it for aggregation within your backtesting pipelines.

Does this OKX market data skill require API keys or credentials?

No, this OKX market data skill does not require API keys or credentials. It directly accesses public V5 REST endpoints to retrieve tickers, index data, and trades without authentication.

How do I structure OKX ticker data for a real-time monitoring dashboard?

You structure OKX ticker data for a real-time monitoring dashboard by fetching batch tickers via the REST API. This skill parses the JSON results into structured formats ready for dashboard integration.

What are the limitations of using REST endpoints for real-time cryptocurrency market data?

A limitation of using REST endpoints for real-time cryptocurrency market data is that polling is required for updates rather than continuous streaming. This skill structures polled JSON responses for analytics.